@@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
5858#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_API_VERSION_1_3.html>"]
5959pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
6060#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html>"]
61- pub const HEADER_VERSION: u32 = 297 ;
61+ pub const HEADER_VERSION: u32 = 298 ;
6262#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
6363pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION);
6464#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
@@ -38722,7 +38722,7 @@ impl<'a> GeneratedCommandsShaderInfoEXT<'a> {
3872238722#[must_use]
3872338723pub struct GeneratedCommandsMemoryRequirementsInfoEXT<'a> {
3872438724 pub s_type: StructureType,
38725- pub p_next: *mut c_void,
38725+ pub p_next: *const c_void,
3872638726 pub indirect_execution_set: IndirectExecutionSetEXT,
3872738727 pub indirect_commands_layout: IndirectCommandsLayoutEXT,
3872838728 pub max_sequence_count: u32,
@@ -38736,7 +38736,7 @@ impl ::core::default::Default for GeneratedCommandsMemoryRequirementsInfoEXT<'_>
3873638736 fn default() -> Self {
3873738737 Self {
3873838738 s_type: Self::STRUCTURE_TYPE,
38739- p_next: ::core::ptr::null_mut (),
38739+ p_next: ::core::ptr::null (),
3874038740 indirect_execution_set: IndirectExecutionSetEXT::default(),
3874138741 indirect_commands_layout: IndirectCommandsLayoutEXT::default(),
3874238742 max_sequence_count: u32::default(),
@@ -38787,7 +38787,7 @@ impl<'a> GeneratedCommandsMemoryRequirementsInfoEXT<'a> {
3878738787 next: &'a mut T,
3878838788 ) -> Self {
3878938789 unsafe {
38790- let next_ptr = <*mut T>::cast(next);
38790+ let next_ptr = <*const T>::cast(next);
3879138791 let last_next = ptr_chain_iter(next).last().unwrap();
3879238792 (*last_next).p_next = self.p_next as _;
3879338793 self.p_next = next_ptr;
@@ -56705,6 +56705,8 @@ pub struct PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> {
5670556705 pub max_execution_graph_shader_payload_size: u32,
5670656706 pub max_execution_graph_shader_payload_count: u32,
5670756707 pub execution_graph_dispatch_address_alignment: u32,
56708+ pub max_execution_graph_workgroup_count: [u32; 3],
56709+ pub max_execution_graph_workgroups: u32,
5670856710 pub _marker: PhantomData<&'a ()>,
5670956711}
5671056712unsafe impl Send for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> {}
@@ -56720,6 +56722,8 @@ impl ::core::default::Default for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_>
5672056722 max_execution_graph_shader_payload_size: u32::default(),
5672156723 max_execution_graph_shader_payload_count: u32::default(),
5672256724 execution_graph_dispatch_address_alignment: u32::default(),
56725+ max_execution_graph_workgroup_count: unsafe { ::core::mem::zeroed() },
56726+ max_execution_graph_workgroups: u32::default(),
5672356727 _marker: PhantomData,
5672456728 }
5672556729 }
@@ -56768,6 +56772,19 @@ impl<'a> PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> {
5676856772 execution_graph_dispatch_address_alignment;
5676956773 self
5677056774 }
56775+ #[inline]
56776+ pub fn max_execution_graph_workgroup_count(
56777+ mut self,
56778+ max_execution_graph_workgroup_count: [u32; 3],
56779+ ) -> Self {
56780+ self.max_execution_graph_workgroup_count = max_execution_graph_workgroup_count;
56781+ self
56782+ }
56783+ #[inline]
56784+ pub fn max_execution_graph_workgroups(mut self, max_execution_graph_workgroups: u32) -> Self {
56785+ self.max_execution_graph_workgroups = max_execution_graph_workgroups;
56786+ self
56787+ }
5677156788}
5677256789#[repr(C)]
5677356790#[cfg_attr(feature = "debug", derive(Debug))]
@@ -56778,6 +56795,7 @@ pub struct PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> {
5677856795 pub s_type: StructureType,
5677956796 pub p_next: *mut c_void,
5678056797 pub shader_enqueue: Bool32,
56798+ pub shader_mesh_enqueue: Bool32,
5678156799 pub _marker: PhantomData<&'a ()>,
5678256800}
5678356801unsafe impl Send for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {}
@@ -56789,6 +56807,7 @@ impl ::core::default::Default for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {
5678956807 s_type: Self::STRUCTURE_TYPE,
5679056808 p_next: ::core::ptr::null_mut(),
5679156809 shader_enqueue: Bool32::default(),
56810+ shader_mesh_enqueue: Bool32::default(),
5679256811 _marker: PhantomData,
5679356812 }
5679456813 }
@@ -56805,6 +56824,11 @@ impl<'a> PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> {
5680556824 self.shader_enqueue = shader_enqueue.into();
5680656825 self
5680756826 }
56827+ #[inline]
56828+ pub fn shader_mesh_enqueue(mut self, shader_mesh_enqueue: bool) -> Self {
56829+ self.shader_mesh_enqueue = shader_mesh_enqueue.into();
56830+ self
56831+ }
5680856832}
5680956833#[repr(C)]
5681056834#[cfg_attr(feature = "debug", derive(Debug))]
@@ -56955,7 +56979,9 @@ impl<'a> PipelineShaderStageNodeCreateInfoAMDX<'a> {
5695556979pub struct ExecutionGraphPipelineScratchSizeAMDX<'a> {
5695656980 pub s_type: StructureType,
5695756981 pub p_next: *mut c_void,
56958- pub size: DeviceSize,
56982+ pub min_size: DeviceSize,
56983+ pub max_size: DeviceSize,
56984+ pub size_granularity: DeviceSize,
5695956985 pub _marker: PhantomData<&'a ()>,
5696056986}
5696156987unsafe impl Send for ExecutionGraphPipelineScratchSizeAMDX<'_> {}
@@ -56966,7 +56992,9 @@ impl ::core::default::Default for ExecutionGraphPipelineScratchSizeAMDX<'_> {
5696656992 Self {
5696756993 s_type: Self::STRUCTURE_TYPE,
5696856994 p_next: ::core::ptr::null_mut(),
56969- size: DeviceSize::default(),
56995+ min_size: DeviceSize::default(),
56996+ max_size: DeviceSize::default(),
56997+ size_granularity: DeviceSize::default(),
5697056998 _marker: PhantomData,
5697156999 }
5697257000 }
@@ -56976,8 +57004,18 @@ unsafe impl<'a> TaggedStructure for ExecutionGraphPipelineScratchSizeAMDX<'a> {
5697657004}
5697757005impl<'a> ExecutionGraphPipelineScratchSizeAMDX<'a> {
5697857006 #[inline]
56979- pub fn size(mut self, size: DeviceSize) -> Self {
56980- self.size = size;
57007+ pub fn min_size(mut self, min_size: DeviceSize) -> Self {
57008+ self.min_size = min_size;
57009+ self
57010+ }
57011+ #[inline]
57012+ pub fn max_size(mut self, max_size: DeviceSize) -> Self {
57013+ self.max_size = max_size;
57014+ self
57015+ }
57016+ #[inline]
57017+ pub fn size_granularity(mut self, size_granularity: DeviceSize) -> Self {
57018+ self.size_granularity = size_granularity;
5698157019 self
5698257020 }
5698357021}
0 commit comments