diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4933190e2..afe818a75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,10 @@ jobs: run: cargo test --workspace --all-targets - name: Test docs run: cargo test --workspace --doc + - name: Test all targets + run: cargo test --workspace --all-targets -F provisional + - name: Test docs + run: cargo test --workspace --doc -F provisional fmt: name: Rustfmt diff --git a/ash-examples/Cargo.toml b/ash-examples/Cargo.toml index 521093a09..fe73a701e 100644 --- a/ash-examples/Cargo.toml +++ b/ash-examples/Cargo.toml @@ -11,5 +11,6 @@ winit = { version = "0.29", features = ["rwh_06"] } # The examples require the validation layers, which means the SDK or # equivalent development packages should be present, so we can link # directly and benefit from the infallible `Entry` constructor. -ash = { path = "../ash", default-features = false, features = ["linked", "debug", "std"] } +# Provisional features are required to access VK_KHR_portability_subset for MoltenVK +ash = { path = "../ash", default-features = false, features = ["linked", "debug", "std", "provisional"] } ash-window = { path = "../ash-window" } diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 53c64c45a..8bd878160 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -37,6 +37,8 @@ loaded = ["libloading", "std"] debug = [] # Whether the standard library should be required std = [] +# Enable provisional Vulkan extensions. May see *semver-breaking* code changes in non-breaking releases! +provisional = [] [package.metadata.release] no-dev-version = true diff --git a/ash/src/extensions/amdx/shader_enqueue.rs b/ash/src/extensions/amdx/shader_enqueue.rs index 1d50358a1..3af4dccf2 100644 --- a/ash/src/extensions/amdx/shader_enqueue.rs +++ b/ash/src/extensions/amdx/shader_enqueue.rs @@ -1,3 +1,4 @@ +#![cfg(feature = "provisional")] //! use crate::vk; diff --git a/ash/src/extensions/nv/cuda_kernel_launch.rs b/ash/src/extensions/nv/cuda_kernel_launch.rs index c9d5e7967..d2e821fd5 100644 --- a/ash/src/extensions/nv/cuda_kernel_launch.rs +++ b/ash/src/extensions/nv/cuda_kernel_launch.rs @@ -1,3 +1,4 @@ +#![cfg(feature = "provisional")] //! use crate::read_into_uninitialized_vector; diff --git a/ash/src/extensions_generated.rs b/ash/src/extensions_generated.rs index c9f18b17e..0d70865a1 100644 --- a/ash/src/extensions_generated.rs +++ b/ash/src/extensions_generated.rs @@ -495,6 +495,7 @@ pub mod amd { #[doc = "Extensions tagged AMDX"] pub mod amdx { #[doc = "VK_AMDX_shader_enqueue"] + #[cfg(feature = "provisional")] pub mod shader_enqueue { use crate::vk::*; use core::ffi::*; @@ -5493,8 +5494,10 @@ pub mod ext { self.handle } } - #[allow(non_camel_case_types)] #[doc = "Implemented for all types that can be passed as argument to `pipeline_properties` in [`PFN_vkGetPipelinePropertiesEXT`]"] + #[doc = ""] + #[doc = "Provided by VK_EXT_pipeline_properties"] + #[allow(non_camel_case_types)] pub unsafe trait GetPipelinePropertiesEXTParamPipelineProperties {} unsafe impl GetPipelinePropertiesEXTParamPipelineProperties for PipelinePropertiesIdentifierEXT<'_> @@ -14792,6 +14795,7 @@ pub mod khr { } } #[doc = "VK_KHR_portability_subset"] + #[cfg(feature = "provisional")] pub mod portability_subset { pub use { crate::vk::KHR_PORTABILITY_SUBSET_NAME as NAME, @@ -19181,6 +19185,7 @@ pub mod nv { }; } #[doc = "VK_NV_cuda_kernel_launch"] + #[cfg(feature = "provisional")] pub mod cuda_kernel_launch { use crate::vk::*; use core::ffi::*; @@ -19591,6 +19596,7 @@ pub mod nv { } } #[doc = "VK_NV_displacement_micromap"] + #[cfg(feature = "provisional")] pub mod displacement_micromap { pub use { crate::vk::NV_DISPLACEMENT_MICROMAP_NAME as NAME, diff --git a/ash/src/vk/bitflags.rs b/ash/src/vk/bitflags.rs index 3809cfff1..0bdc7645d 100644 --- a/ash/src/vk/bitflags.rs +++ b/ash/src/vk/bitflags.rs @@ -1,13 +1,17 @@ use super::definitions::*; +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCacheCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCacheCreateFlags, Flags); impl PipelineCacheCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct QueueFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueueFlags, Flags); impl QueueFlags { @@ -20,9 +24,11 @@ impl QueueFlags { #[doc = "Queue supports sparse resource memory management operations"] pub const SPARSE_BINDING: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CullModeFlags(pub(crate) Flags); vk_bitflags_wrapped!(CullModeFlags, Flags); impl CullModeFlags { @@ -31,21 +37,27 @@ impl CullModeFlags { pub const BACK: Self = Self(0b10); pub const FRONT_AND_BACK: Self = Self(0x0000_0003); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct RenderPassCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(RenderPassCreateFlags, Flags); impl RenderPassCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceQueueCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DeviceQueueCreateFlags, Flags); impl DeviceQueueCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryPropertyFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryPropertyFlags, Flags); impl MemoryPropertyFlags { @@ -60,18 +72,22 @@ impl MemoryPropertyFlags { #[doc = "Memory may be allocated by the driver when it is required"] pub const LAZILY_ALLOCATED: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryHeapFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryHeapFlags, Flags); impl MemoryHeapFlags { #[doc = "If set, heap represents device memory"] pub const DEVICE_LOCAL: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AccessFlags(pub(crate) Flags); vk_bitflags_wrapped!(AccessFlags, Flags); impl AccessFlags { @@ -110,9 +126,11 @@ impl AccessFlags { #[doc = "Controls coherency of memory writes"] pub const MEMORY_WRITE: Self = Self(0b1_0000_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BufferUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(BufferUsageFlags, Flags); impl BufferUsageFlags { @@ -135,9 +153,11 @@ impl BufferUsageFlags { #[doc = "Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer)"] pub const INDIRECT_BUFFER: Self = Self(0b1_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BufferUsageFlags2KHR(pub(crate) Flags64); vk_bitflags_wrapped!(BufferUsageFlags2KHR, Flags64); impl BufferUsageFlags2KHR { @@ -151,9 +171,11 @@ impl BufferUsageFlags2KHR { pub const VERTEX_BUFFER: Self = Self(0b1000_0000); pub const INDIRECT_BUFFER: Self = Self(0b1_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BufferCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(BufferCreateFlags, Flags); impl BufferCreateFlags { @@ -164,9 +186,11 @@ impl BufferCreateFlags { #[doc = "Buffer should support constant data access to physical memory ranges mapped into multiple locations of sparse buffers"] pub const SPARSE_ALIASED: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ShaderStageFlags(pub(crate) Flags); vk_bitflags_wrapped!(ShaderStageFlags, Flags); impl ShaderStageFlags { @@ -179,9 +203,11 @@ impl ShaderStageFlags { pub const ALL_GRAPHICS: Self = Self(0x0000_001F); pub const ALL: Self = Self(0x7FFF_FFFF); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageUsageFlags, Flags); impl ImageUsageFlags { @@ -202,9 +228,11 @@ impl ImageUsageFlags { #[doc = "Can be used as framebuffer input attachment"] pub const INPUT_ATTACHMENT: Self = Self(0b1000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageCreateFlags, Flags); impl ImageCreateFlags { @@ -219,21 +247,27 @@ impl ImageCreateFlags { #[doc = "Allows creating image views with cube type from the created image"] pub const CUBE_COMPATIBLE: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageViewCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageViewCreateFlags, Flags); impl ImageViewCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SamplerCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(SamplerCreateFlags, Flags); impl SamplerCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCreateFlags, Flags); impl PipelineCreateFlags { @@ -241,9 +275,11 @@ impl PipelineCreateFlags { pub const ALLOW_DERIVATIVES: Self = Self(0b10); pub const DERIVATIVE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCreateFlags2KHR(pub(crate) Flags64); vk_bitflags_wrapped!(PipelineCreateFlags2KHR, Flags64); impl PipelineCreateFlags2KHR { @@ -251,15 +287,19 @@ impl PipelineCreateFlags2KHR { pub const ALLOW_DERIVATIVES: Self = Self(0b10); pub const DERIVATIVE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineShaderStageCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineShaderStageCreateFlags, Flags); impl PipelineShaderStageCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ColorComponentFlags(pub(crate) Flags); vk_bitflags_wrapped!(ColorComponentFlags, Flags); impl ColorComponentFlags { @@ -268,23 +308,29 @@ impl ColorComponentFlags { pub const B: Self = Self(0b100); pub const A: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FenceCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(FenceCreateFlags, Flags); impl FenceCreateFlags { pub const SIGNALED: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SemaphoreCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(SemaphoreCreateFlags, Flags); impl SemaphoreCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FormatFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(FormatFeatureFlags, Flags); impl FormatFeatureFlags { @@ -315,18 +361,22 @@ impl FormatFeatureFlags { #[doc = "Format can be filtered with VK_FILTER_LINEAR when being sampled"] pub const SAMPLED_IMAGE_FILTER_LINEAR: Self = Self(0b1_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct QueryControlFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryControlFlags, Flags); impl QueryControlFlags { #[doc = "Require precise results to be collected by the query"] pub const PRECISE: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct QueryResultFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryResultFlags, Flags); impl QueryResultFlags { @@ -339,9 +389,11 @@ impl QueryResultFlags { #[doc = "Copy the partial results of the query even if the final results are not available"] pub const PARTIAL: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CommandBufferUsageFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandBufferUsageFlags, Flags); impl CommandBufferUsageFlags { @@ -350,9 +402,11 @@ impl CommandBufferUsageFlags { #[doc = "Command buffer may be submitted/executed more than once simultaneously"] pub const SIMULTANEOUS_USE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct QueryPipelineStatisticFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryPipelineStatisticFlags, Flags); impl QueryPipelineStatisticFlags { @@ -379,15 +433,19 @@ impl QueryPipelineStatisticFlags { #[doc = "Optional"] pub const COMPUTE_SHADER_INVOCATIONS: Self = Self(0b100_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryMapFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryMapFlags, Flags); impl MemoryMapFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageAspectFlags(pub(crate) Flags); vk_bitflags_wrapped!(ImageAspectFlags, Flags); impl ImageAspectFlags { @@ -396,9 +454,11 @@ impl ImageAspectFlags { pub const STENCIL: Self = Self(0b100); pub const METADATA: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SparseImageFormatFlags(pub(crate) Flags); vk_bitflags_wrapped!(SparseImageFormatFlags, Flags); impl SparseImageFormatFlags { @@ -409,18 +469,22 @@ impl SparseImageFormatFlags { #[doc = "Image uses a non-standard sparse image block dimensions"] pub const NONSTANDARD_BLOCK_SIZE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SparseMemoryBindFlags(pub(crate) Flags); vk_bitflags_wrapped!(SparseMemoryBindFlags, Flags); impl SparseMemoryBindFlags { #[doc = "Operation binds resource metadata to memory"] pub const METADATA: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineStageFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineStageFlags, Flags); impl PipelineStageFlags { @@ -459,9 +523,11 @@ impl PipelineStageFlags { #[doc = "All stages supported on the queue"] pub const ALL_COMMANDS: Self = Self(0b1_0000_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CommandPoolCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandPoolCreateFlags, Flags); impl CommandPoolCreateFlags { @@ -470,27 +536,33 @@ impl CommandPoolCreateFlags { #[doc = "Command buffers may release their memory individually"] pub const RESET_COMMAND_BUFFER: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CommandPoolResetFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandPoolResetFlags, Flags); impl CommandPoolResetFlags { #[doc = "Release resources owned by the pool"] pub const RELEASE_RESOURCES: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CommandBufferResetFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandBufferResetFlags, Flags); impl CommandBufferResetFlags { #[doc = "Release resources owned by the buffer"] pub const RELEASE_RESOURCES: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SampleCountFlags(pub(crate) Flags); vk_bitflags_wrapped!(SampleCountFlags, Flags); impl SampleCountFlags { @@ -509,18 +581,22 @@ impl SampleCountFlags { #[doc = "Sample count 64 supported"] pub const TYPE_64: Self = Self(0b100_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AttachmentDescriptionFlags(pub(crate) Flags); vk_bitflags_wrapped!(AttachmentDescriptionFlags, Flags); impl AttachmentDescriptionFlags { #[doc = "The attachment may alias physical memory of another attachment in the same render pass"] pub const MAY_ALIAS: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct StencilFaceFlags(pub(crate) Flags); vk_bitflags_wrapped!(StencilFaceFlags, Flags); impl StencilFaceFlags { @@ -531,35 +607,43 @@ impl StencilFaceFlags { #[doc = "Front and back faces"] pub const FRONT_AND_BACK: Self = Self(0x0000_0003); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DescriptorPoolCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorPoolCreateFlags, Flags); impl DescriptorPoolCreateFlags { #[doc = "Descriptor sets may be freed individually"] pub const FREE_DESCRIPTOR_SET: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DependencyFlags(pub(crate) Flags); vk_bitflags_wrapped!(DependencyFlags, Flags); impl DependencyFlags { #[doc = "Dependency is per pixel region "] pub const BY_REGION: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SemaphoreWaitFlags(pub(crate) Flags); vk_bitflags_wrapped!(SemaphoreWaitFlags, Flags); impl SemaphoreWaitFlags { pub const ANY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DisplayPlaneAlphaFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DisplayPlaneAlphaFlagsKHR, Flags); impl DisplayPlaneAlphaFlagsKHR { @@ -568,9 +652,11 @@ impl DisplayPlaneAlphaFlagsKHR { pub const PER_PIXEL: Self = Self(0b100); pub const PER_PIXEL_PREMULTIPLIED: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CompositeAlphaFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(CompositeAlphaFlagsKHR, Flags); impl CompositeAlphaFlagsKHR { @@ -579,9 +665,11 @@ impl CompositeAlphaFlagsKHR { pub const POST_MULTIPLIED: Self = Self(0b100); pub const INHERIT: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SurfaceTransformFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(SurfaceTransformFlagsKHR, Flags); impl SurfaceTransformFlagsKHR { @@ -595,17 +683,21 @@ impl SurfaceTransformFlagsKHR { pub const HORIZONTAL_MIRROR_ROTATE_270: Self = Self(0b1000_0000); pub const INHERIT: Self = Self(0b1_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_native_buffer"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SwapchainImageUsageFlagsANDROID(pub(crate) Flags); vk_bitflags_wrapped!(SwapchainImageUsageFlagsANDROID, Flags); impl SwapchainImageUsageFlagsANDROID { pub const SHARED: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_report"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DebugReportFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugReportFlagsEXT, Flags); impl DebugReportFlagsEXT { @@ -615,9 +707,11 @@ impl DebugReportFlagsEXT { pub const ERROR: Self = Self(0b1000); pub const DEBUG: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_capabilities"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalMemoryHandleTypeFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryHandleTypeFlagsNV, Flags); impl ExternalMemoryHandleTypeFlagsNV { @@ -626,9 +720,11 @@ impl ExternalMemoryHandleTypeFlagsNV { pub const D3D11_IMAGE: Self = Self(0b100); pub const D3D11_IMAGE_KMT: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_capabilities"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalMemoryFeatureFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryFeatureFlagsNV, Flags); impl ExternalMemoryFeatureFlagsNV { @@ -636,9 +732,11 @@ impl ExternalMemoryFeatureFlagsNV { pub const EXPORTABLE: Self = Self(0b10); pub const IMPORTABLE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SubgroupFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(SubgroupFeatureFlags, Flags); impl SubgroupFeatureFlags { @@ -659,9 +757,11 @@ impl SubgroupFeatureFlags { #[doc = "Quad subgroup operations"] pub const QUAD: Self = Self(0b1000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct IndirectCommandsLayoutUsageFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(IndirectCommandsLayoutUsageFlagsNV, Flags); impl IndirectCommandsLayoutUsageFlagsNV { @@ -669,29 +769,37 @@ impl IndirectCommandsLayoutUsageFlagsNV { pub const INDEXED_SEQUENCES: Self = Self(0b10); pub const UNORDERED_SEQUENCES: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct IndirectStateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(IndirectStateFlagsNV, Flags); impl IndirectStateFlagsNV { pub const FLAG_FRONTFACE: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PrivateDataSlotCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PrivateDataSlotCreateFlags, Flags); impl PrivateDataSlotCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DescriptorSetLayoutCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorSetLayoutCreateFlags, Flags); impl DescriptorSetLayoutCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalMemoryHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryHandleTypeFlags, Flags); impl ExternalMemoryHandleTypeFlags { @@ -703,9 +811,11 @@ impl ExternalMemoryHandleTypeFlags { pub const D3D12_HEAP: Self = Self(0b10_0000); pub const D3D12_RESOURCE: Self = Self(0b100_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalMemoryFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalMemoryFeatureFlags, Flags); impl ExternalMemoryFeatureFlags { @@ -713,9 +823,11 @@ impl ExternalMemoryFeatureFlags { pub const EXPORTABLE: Self = Self(0b10); pub const IMPORTABLE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalSemaphoreHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalSemaphoreHandleTypeFlags, Flags); impl ExternalSemaphoreHandleTypeFlags { @@ -726,26 +838,32 @@ impl ExternalSemaphoreHandleTypeFlags { pub const D3D11_FENCE: Self = Self::D3D12_FENCE; pub const SYNC_FD: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalSemaphoreFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalSemaphoreFeatureFlags, Flags); impl ExternalSemaphoreFeatureFlags { pub const EXPORTABLE: Self = Self(0b1); pub const IMPORTABLE: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SemaphoreImportFlags(pub(crate) Flags); vk_bitflags_wrapped!(SemaphoreImportFlags, Flags); impl SemaphoreImportFlags { pub const TEMPORARY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalFenceHandleTypeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalFenceHandleTypeFlags, Flags); impl ExternalFenceHandleTypeFlags { @@ -754,34 +872,42 @@ impl ExternalFenceHandleTypeFlags { pub const OPAQUE_WIN32_KMT: Self = Self(0b100); pub const SYNC_FD: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExternalFenceFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(ExternalFenceFeatureFlags, Flags); impl ExternalFenceFeatureFlags { pub const EXPORTABLE: Self = Self(0b1); pub const IMPORTABLE: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FenceImportFlags(pub(crate) Flags); vk_bitflags_wrapped!(FenceImportFlags, Flags); impl FenceImportFlags { pub const TEMPORARY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_surface_counter"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SurfaceCounterFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(SurfaceCounterFlagsEXT, Flags); impl SurfaceCounterFlagsEXT { pub const VBLANK: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PeerMemoryFeatureFlags(pub(crate) Flags); vk_bitflags_wrapped!(PeerMemoryFeatureFlags, Flags); impl PeerMemoryFeatureFlags { @@ -794,18 +920,22 @@ impl PeerMemoryFeatureFlags { #[doc = "Can write with and access type/command"] pub const GENERIC_DST: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryAllocateFlags(pub(crate) Flags); vk_bitflags_wrapped!(MemoryAllocateFlags, Flags); impl MemoryAllocateFlags { #[doc = "Force allocation on specific devices"] pub const DEVICE_MASK: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceGroupPresentModeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DeviceGroupPresentModeFlagsKHR, Flags); impl DeviceGroupPresentModeFlagsKHR { @@ -818,21 +948,27 @@ impl DeviceGroupPresentModeFlagsKHR { #[doc = "Each physical device presents from local memory"] pub const LOCAL_MULTI_DEVICE: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SwapchainCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(SwapchainCreateFlagsKHR, Flags); impl SwapchainCreateFlagsKHR {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SubpassDescriptionFlags(pub(crate) Flags); vk_bitflags_wrapped!(SubpassDescriptionFlags, Flags); impl SubpassDescriptionFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DebugUtilsMessageSeverityFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessageSeverityFlagsEXT, Flags); impl DebugUtilsMessageSeverityFlagsEXT { @@ -841,9 +977,11 @@ impl DebugUtilsMessageSeverityFlagsEXT { pub const WARNING: Self = Self(0b1_0000_0000); pub const ERROR: Self = Self(0b1_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DebugUtilsMessageTypeFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessageTypeFlagsEXT, Flags); impl DebugUtilsMessageTypeFlagsEXT { @@ -851,9 +989,11 @@ impl DebugUtilsMessageTypeFlagsEXT { pub const VALIDATION: Self = Self(0b10); pub const PERFORMANCE: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DescriptorBindingFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorBindingFlags, Flags); impl DescriptorBindingFlags { @@ -862,17 +1002,21 @@ impl DescriptorBindingFlags { pub const PARTIALLY_BOUND: Self = Self(0b100); pub const VARIABLE_DESCRIPTOR_COUNT: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conditional_rendering"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ConditionalRenderingFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ConditionalRenderingFlagsEXT, Flags); impl ConditionalRenderingFlagsEXT { pub const INVERTED: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ResolveModeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ResolveModeFlags, Flags); impl ResolveModeFlags { @@ -882,9 +1026,11 @@ impl ResolveModeFlags { pub const MIN: Self = Self(0b100); pub const MAX: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct GeometryInstanceFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(GeometryInstanceFlagsKHR, Flags); impl GeometryInstanceFlagsKHR { @@ -894,18 +1040,22 @@ impl GeometryInstanceFlagsKHR { pub const FORCE_NO_OPAQUE: Self = Self(0b1000); pub const TRIANGLE_FRONT_COUNTERCLOCKWISE: Self = Self::TRIANGLE_FLIP_FACING; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct GeometryFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(GeometryFlagsKHR, Flags); impl GeometryFlagsKHR { pub const OPAQUE: Self = Self(0b1); pub const NO_DUPLICATE_ANY_HIT_INVOCATION: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BuildAccelerationStructureFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(BuildAccelerationStructureFlagsKHR, Flags); impl BuildAccelerationStructureFlagsKHR { @@ -915,23 +1065,29 @@ impl BuildAccelerationStructureFlagsKHR { pub const PREFER_FAST_BUILD: Self = Self(0b1000); pub const LOW_MEMORY: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AccelerationStructureCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(AccelerationStructureCreateFlagsKHR, Flags); impl AccelerationStructureCreateFlagsKHR { pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FramebufferCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(FramebufferCreateFlags, Flags); impl FramebufferCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_diagnostics_config"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceDiagnosticsConfigFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(DeviceDiagnosticsConfigFlagsNV, Flags); impl DeviceDiagnosticsConfigFlagsNV { @@ -940,9 +1096,11 @@ impl DeviceDiagnosticsConfigFlagsNV { pub const ENABLE_AUTOMATIC_CHECKPOINTS: Self = Self(0b100); pub const ENABLE_SHADER_ERROR_REPORTING: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCreationFeedbackFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCreationFeedbackFlags, Flags); impl PipelineCreationFeedbackFlags { @@ -953,50 +1111,64 @@ impl PipelineCreationFeedbackFlags { pub const BASE_PIPELINE_ACCELERATION: Self = Self(0b100); pub const BASE_PIPELINE_ACCELERATION_EXT: Self = Self::BASE_PIPELINE_ACCELERATION; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_memory_decompression"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryDecompressionMethodFlagsNV(pub(crate) Flags64); vk_bitflags_wrapped!(MemoryDecompressionMethodFlagsNV, Flags64); impl MemoryDecompressionMethodFlagsNV { pub const GDEFLATE_1_0: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PerformanceCounterDescriptionFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(PerformanceCounterDescriptionFlagsKHR, Flags); impl PerformanceCounterDescriptionFlagsKHR { pub const PERFORMANCE_IMPACTING: Self = Self(0b1); pub const CONCURRENTLY_IMPACTED: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AcquireProfilingLockFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(AcquireProfilingLockFlagsKHR, Flags); impl AcquireProfilingLockFlagsKHR {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_core_properties2"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ShaderCorePropertiesFlagsAMD(pub(crate) Flags); vk_bitflags_wrapped!(ShaderCorePropertiesFlagsAMD, Flags); impl ShaderCorePropertiesFlagsAMD {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ShaderModuleCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(ShaderModuleCreateFlags, Flags); impl ShaderModuleCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_pipeline_compiler_control"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCompilerControlFlagsAMD(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCompilerControlFlagsAMD, Flags); impl PipelineCompilerControlFlagsAMD {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ToolPurposeFlags(pub(crate) Flags); vk_bitflags_wrapped!(ToolPurposeFlags, Flags); impl ToolPurposeFlags { @@ -1011,9 +1183,11 @@ impl ToolPurposeFlags { pub const MODIFYING_FEATURES: Self = Self(0b1_0000); pub const MODIFYING_FEATURES_EXT: Self = Self::MODIFYING_FEATURES; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AccessFlags2(pub(crate) Flags64); vk_bitflags_wrapped!(AccessFlags2, Flags64); impl AccessFlags2 { @@ -1060,9 +1234,11 @@ impl AccessFlags2 { pub const SHADER_STORAGE_WRITE: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000); pub const SHADER_STORAGE_WRITE_KHR: Self = Self::SHADER_STORAGE_WRITE; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineStageFlags2(pub(crate) Flags64); vk_bitflags_wrapped!(PipelineStageFlags2, Flags64); impl PipelineStageFlags2 { @@ -1121,42 +1297,54 @@ impl PipelineStageFlags2 { Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000); pub const PRE_RASTERIZATION_SHADERS_KHR: Self = Self::PRE_RASTERIZATION_SHADERS; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct SubmitFlags(pub(crate) Flags); vk_bitflags_wrapped!(SubmitFlags, Flags); impl SubmitFlags { pub const PROTECTED: Self = Self(0b1); pub const PROTECTED_KHR: Self = Self::PROTECTED; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct EventCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(EventCreateFlags, Flags); impl EventCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineLayoutCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineLayoutCreateFlags, Flags); impl PipelineLayoutCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineColorBlendStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineColorBlendStateCreateFlags, Flags); impl PipelineColorBlendStateCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineDepthStencilStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineDepthStencilStateCreateFlags, Flags); impl PipelineDepthStencilStateCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct GraphicsPipelineLibraryFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(GraphicsPipelineLibraryFlagsEXT, Flags); impl GraphicsPipelineLibraryFlagsEXT { @@ -1165,25 +1353,31 @@ impl GraphicsPipelineLibraryFlagsEXT { pub const FRAGMENT_SHADER: Self = Self(0b100); pub const FRAGMENT_OUTPUT_INTERFACE: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_address_binding_report"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceAddressBindingFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DeviceAddressBindingFlagsEXT, Flags); impl DeviceAddressBindingFlagsEXT { pub const INTERNAL_OBJECT: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_frame_boundary"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FrameBoundaryFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(FrameBoundaryFlagsEXT, Flags); impl FrameBoundaryFlagsEXT { pub const FRAME_END: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_surface_maintenance1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PresentScalingFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PresentScalingFlagsEXT, Flags); impl PresentScalingFlagsEXT { @@ -1191,9 +1385,11 @@ impl PresentScalingFlagsEXT { pub const ASPECT_RATIO_STRETCH: Self = Self(0b10); pub const STRETCH: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_surface_maintenance1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PresentGravityFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PresentGravityFlagsEXT, Flags); impl PresentGravityFlagsEXT { @@ -1201,25 +1397,31 @@ impl PresentGravityFlagsEXT { pub const MAX: Self = Self(0b10); pub const CENTERED: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_scheduling_controls"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PhysicalDeviceSchedulingControlsFlagsARM(pub(crate) Flags64); vk_bitflags_wrapped!(PhysicalDeviceSchedulingControlsFlagsARM, Flags64); impl PhysicalDeviceSchedulingControlsFlagsARM { pub const SHADER_CORE_COUNT: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoCodecOperationFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoCodecOperationFlagsKHR, Flags); impl VideoCodecOperationFlagsKHR { pub const NONE: Self = Self(0); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoChromaSubsamplingFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoChromaSubsamplingFlagsKHR, Flags); impl VideoChromaSubsamplingFlagsKHR { @@ -1229,9 +1431,11 @@ impl VideoChromaSubsamplingFlagsKHR { pub const TYPE_422: Self = Self(0b100); pub const TYPE_444: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoComponentBitDepthFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoComponentBitDepthFlagsKHR, Flags); impl VideoComponentBitDepthFlagsKHR { @@ -1240,26 +1444,32 @@ impl VideoComponentBitDepthFlagsKHR { pub const TYPE_10: Self = Self(0b100); pub const TYPE_12: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoCapabilityFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoCapabilityFlagsKHR, Flags); impl VideoCapabilityFlagsKHR { pub const PROTECTED_CONTENT: Self = Self(0b1); pub const SEPARATE_REFERENCE_IMAGES: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoSessionCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoSessionCreateFlagsKHR, Flags); impl VideoSessionCreateFlagsKHR { pub const PROTECTED_CONTENT: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoDecodeH264PictureLayoutFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsKHR, Flags); impl VideoDecodeH264PictureLayoutFlagsKHR { @@ -1267,17 +1477,21 @@ impl VideoDecodeH264PictureLayoutFlagsKHR { pub const INTERLACED_INTERLEAVED_LINES: Self = Self(0b1); pub const INTERLACED_SEPARATE_PLANES: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoCodingControlFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoCodingControlFlagsKHR, Flags); impl VideoCodingControlFlagsKHR { pub const RESET: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoDecodeUsageFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoDecodeUsageFlagsKHR, Flags); impl VideoDecodeUsageFlagsKHR { @@ -1286,24 +1500,30 @@ impl VideoDecodeUsageFlagsKHR { pub const OFFLINE: Self = Self(0b10); pub const STREAMING: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoDecodeCapabilityFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoDecodeCapabilityFlagsKHR, Flags); impl VideoDecodeCapabilityFlagsKHR { pub const DPB_AND_OUTPUT_COINCIDE: Self = Self(0b1); pub const DPB_AND_OUTPUT_DISTINCT: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeFlagsKHR, Flags); impl VideoEncodeFlagsKHR {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeUsageFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeUsageFlagsKHR, Flags); impl VideoEncodeUsageFlagsKHR { @@ -1313,9 +1533,11 @@ impl VideoEncodeUsageFlagsKHR { pub const RECORDING: Self = Self(0b100); pub const CONFERENCING: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeContentFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeContentFlagsKHR, Flags); impl VideoEncodeContentFlagsKHR { @@ -1324,18 +1546,22 @@ impl VideoEncodeContentFlagsKHR { pub const DESKTOP: Self = Self(0b10); pub const RENDERED: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeCapabilityFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeCapabilityFlagsKHR, Flags); impl VideoEncodeCapabilityFlagsKHR { pub const PRECEDING_EXTERNALLY_ENCODED_BYTES: Self = Self(0b1); pub const INSUFFICIENTSTREAM_BUFFER_RANGE_DETECTION: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeFeedbackFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeFeedbackFlagsKHR, Flags); impl VideoEncodeFeedbackFlagsKHR { @@ -1343,9 +1569,11 @@ impl VideoEncodeFeedbackFlagsKHR { pub const BITSTREAM_BYTES_WRITTEN: Self = Self(0b10); pub const BITSTREAM_HAS_OVERRIDES: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeRateControlModeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeRateControlModeFlagsKHR, Flags); impl VideoEncodeRateControlModeFlagsKHR { @@ -1354,9 +1582,11 @@ impl VideoEncodeRateControlModeFlagsKHR { pub const CBR: Self = Self(0b10); pub const VBR: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH264CapabilityFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH264CapabilityFlagsKHR, Flags); impl VideoEncodeH264CapabilityFlagsKHR { @@ -1370,9 +1600,11 @@ impl VideoEncodeH264CapabilityFlagsKHR { pub const PER_SLICE_CONSTANT_QP: Self = Self(0b1000_0000); pub const GENERATE_PREFIX_NALU: Self = Self(0b1_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH264StdFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH264StdFlagsKHR, Flags); impl VideoEncodeH264StdFlagsKHR { @@ -1397,9 +1629,11 @@ impl VideoEncodeH264StdFlagsKHR { pub const SLICE_QP_DELTA: Self = Self(0b1000_0000_0000_0000_0000); pub const DIFFERENT_SLICE_QP_DELTA: Self = Self(0b1_0000_0000_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH264RateControlFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH264RateControlFlagsKHR, Flags); impl VideoEncodeH264RateControlFlagsKHR { @@ -1409,23 +1643,29 @@ impl VideoEncodeH264RateControlFlagsKHR { pub const REFERENCE_PATTERN_DYADIC: Self = Self(0b1000); pub const TEMPORAL_LAYER_PATTERN_DYADIC: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct HostImageCopyFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(HostImageCopyFlagsEXT, Flags); impl HostImageCopyFlagsEXT { pub const MEMCPY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageFormatConstraintsFlagsFUCHSIA(pub(crate) Flags); vk_bitflags_wrapped!(ImageFormatConstraintsFlagsFUCHSIA, Flags); impl ImageFormatConstraintsFlagsFUCHSIA {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageConstraintsInfoFlagsFUCHSIA(pub(crate) Flags); vk_bitflags_wrapped!(ImageConstraintsInfoFlagsFUCHSIA, Flags); impl ImageConstraintsInfoFlagsFUCHSIA { @@ -1435,9 +1675,11 @@ impl ImageConstraintsInfoFlagsFUCHSIA { pub const CPU_WRITE_OFTEN: Self = Self(0b1000); pub const PROTECTED_OPTIONAL: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct FormatFeatureFlags2(pub(crate) Flags64); vk_bitflags_wrapped!(FormatFeatureFlags2, Flags64); impl FormatFeatureFlags2 { @@ -1505,9 +1747,11 @@ impl FormatFeatureFlags2 { Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000); pub const SAMPLED_IMAGE_DEPTH_COMPARISON_KHR: Self = Self::SAMPLED_IMAGE_DEPTH_COMPARISON; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct RenderingFlags(pub(crate) Flags); vk_bitflags_wrapped!(RenderingFlags, Flags); impl RenderingFlags { @@ -1519,9 +1763,11 @@ impl RenderingFlags { pub const RESUMING: Self = Self(0b100); pub const RESUMING_KHR: Self = Self::RESUMING; } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH265CapabilityFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH265CapabilityFlagsKHR, Flags); impl VideoEncodeH265CapabilityFlagsKHR { @@ -1536,9 +1782,11 @@ impl VideoEncodeH265CapabilityFlagsKHR { pub const MULTIPLE_TILES_PER_SLICE_SEGMENT: Self = Self(0b1_0000_0000); pub const MULTIPLE_SLICE_SEGMENTS_PER_TILE: Self = Self(0b10_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH265StdFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH265StdFlagsKHR, Flags); impl VideoEncodeH265StdFlagsKHR { @@ -1564,9 +1812,11 @@ impl VideoEncodeH265StdFlagsKHR { pub const SLICE_QP_DELTA: Self = Self(0b1000_0000_0000_0000_0000); pub const DIFFERENT_SLICE_QP_DELTA: Self = Self(0b1_0000_0000_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH265RateControlFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH265RateControlFlagsKHR, Flags); impl VideoEncodeH265RateControlFlagsKHR { @@ -1576,9 +1826,11 @@ impl VideoEncodeH265RateControlFlagsKHR { pub const REFERENCE_PATTERN_DYADIC: Self = Self(0b1000); pub const TEMPORAL_SUB_LAYER_PATTERN_DYADIC: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH265CtbSizeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH265CtbSizeFlagsKHR, Flags); impl VideoEncodeH265CtbSizeFlagsKHR { @@ -1586,9 +1838,11 @@ impl VideoEncodeH265CtbSizeFlagsKHR { pub const TYPE_32: Self = Self(0b10); pub const TYPE_64: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeH265TransformBlockSizeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeH265TransformBlockSizeFlagsKHR, Flags); impl VideoEncodeH265TransformBlockSizeFlagsKHR { @@ -1597,9 +1851,11 @@ impl VideoEncodeH265TransformBlockSizeFlagsKHR { pub const TYPE_16: Self = Self(0b100); pub const TYPE_32: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ExportMetalObjectTypeFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ExportMetalObjectTypeFlagsEXT, Flags); impl ExportMetalObjectTypeFlagsEXT { @@ -1610,15 +1866,19 @@ impl ExportMetalObjectTypeFlagsEXT { pub const METAL_IOSURFACE: Self = Self(0b1_0000); pub const METAL_SHARED_EVENT: Self = Self(0b10_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct InstanceCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(InstanceCreateFlags, Flags); impl InstanceCreateFlags {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageCompressionFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ImageCompressionFlagsEXT, Flags); impl ImageCompressionFlagsEXT { @@ -1627,9 +1887,11 @@ impl ImageCompressionFlagsEXT { pub const FIXED_RATE_EXPLICIT: Self = Self(0b10); pub const DISABLED: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImageCompressionFixedRateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ImageCompressionFixedRateFlagsEXT, Flags); impl ImageCompressionFixedRateFlagsEXT { @@ -1659,9 +1921,11 @@ impl ImageCompressionFixedRateFlagsEXT { pub const TYPE_23BPC: Self = Self(0b100_0000_0000_0000_0000_0000); pub const TYPE_24BPC: Self = Self(0b1000_0000_0000_0000_0000_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct OpticalFlowGridSizeFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(OpticalFlowGridSizeFlagsNV, Flags); impl OpticalFlowGridSizeFlagsNV { @@ -1671,9 +1935,11 @@ impl OpticalFlowGridSizeFlagsNV { pub const TYPE_4X4: Self = Self(0b100); pub const TYPE_8X8: Self = Self(0b1000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct OpticalFlowUsageFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(OpticalFlowUsageFlagsNV, Flags); impl OpticalFlowUsageFlagsNV { @@ -1684,9 +1950,11 @@ impl OpticalFlowUsageFlagsNV { pub const COST: Self = Self(0b1000); pub const GLOBAL_FLOW: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct OpticalFlowSessionCreateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(OpticalFlowSessionCreateFlagsNV, Flags); impl OpticalFlowSessionCreateFlagsNV { @@ -1696,17 +1964,21 @@ impl OpticalFlowSessionCreateFlagsNV { pub const ALLOW_REGIONS: Self = Self(0b1000); pub const BOTH_DIRECTIONS: Self = Self(0b1_0000); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct OpticalFlowExecuteFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(OpticalFlowExecuteFlagsNV, Flags); impl OpticalFlowExecuteFlagsNV { pub const DISABLE_TEMPORAL_HINTS: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BuildMicromapFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(BuildMicromapFlagsEXT, Flags); impl BuildMicromapFlagsEXT { @@ -1714,49 +1986,61 @@ impl BuildMicromapFlagsEXT { pub const PREFER_FAST_BUILD: Self = Self(0b10); pub const ALLOW_COMPACTION: Self = Self(0b100); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MicromapCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(MicromapCreateFlagsEXT, Flags); impl MicromapCreateFlagsEXT { pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct IndirectCommandsLayoutUsageFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(IndirectCommandsLayoutUsageFlagsEXT, Flags); impl IndirectCommandsLayoutUsageFlagsEXT { pub const EXPLICIT_PREPROCESS: Self = Self(0b1); pub const UNORDERED_SEQUENCES: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct IndirectCommandsInputModeFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(IndirectCommandsInputModeFlagsEXT, Flags); impl IndirectCommandsInputModeFlagsEXT { pub const VULKAN_INDEX_BUFFER: Self = Self(0b1); pub const DXGI_INDEX_BUFFER: Self = Self(0b10); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_object"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ShaderCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ShaderCreateFlagsEXT, Flags); impl ShaderCreateFlagsEXT { pub const LINK_STAGE: Self = Self(0b1); } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_map_memory2"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MemoryUnmapFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(MemoryUnmapFlagsKHR, Flags); impl MemoryUnmapFlagsKHR {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_wayland_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct WaylandSurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(WaylandSurfaceCreateFlagsKHR, Flags); impl WaylandSurfaceCreateFlagsKHR {} diff --git a/ash/src/vk/const_debugs.rs b/ash/src/vk/const_debugs.rs index 5f638518d..b84997e3b 100644 --- a/ash/src/vk/const_debugs.rs +++ b/ash/src/vk/const_debugs.rs @@ -608,6 +608,7 @@ impl fmt::Debug for BufferUsageFlags { BufferUsageFlags::CONDITIONAL_RENDERING_EXT.0, "CONDITIONAL_RENDERING_EXT", ), + #[cfg(feature = "provisional")] ( BufferUsageFlags::EXECUTION_GRAPH_SCRATCH_AMDX.0, "EXECUTION_GRAPH_SCRATCH_AMDX", @@ -678,6 +679,7 @@ impl fmt::Debug for BufferUsageFlags2KHR { (BufferUsageFlags2KHR::INDEX_BUFFER.0, "INDEX_BUFFER"), (BufferUsageFlags2KHR::VERTEX_BUFFER.0, "VERTEX_BUFFER"), (BufferUsageFlags2KHR::INDIRECT_BUFFER.0, "INDIRECT_BUFFER"), + #[cfg(feature = "provisional")] ( BufferUsageFlags2KHR::EXECUTION_GRAPH_SCRATCH_AMDX.0, "EXECUTION_GRAPH_SCRATCH_AMDX", @@ -784,6 +786,7 @@ impl fmt::Debug for BuildAccelerationStructureFlagsKHR { BuildAccelerationStructureFlagsKHR::ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT.0, "ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT", ), + #[cfg(feature = "provisional")] ( BuildAccelerationStructureFlagsKHR::ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV.0, "ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV", @@ -1221,7 +1224,9 @@ impl fmt::Debug for DebugReportObjectTypeEXT { Self::CU_FUNCTION_NVX => Some("CU_FUNCTION_NVX"), Self::ACCELERATION_STRUCTURE_KHR => Some("ACCELERATION_STRUCTURE_KHR"), Self::ACCELERATION_STRUCTURE_NV => Some("ACCELERATION_STRUCTURE_NV"), + #[cfg(feature = "provisional")] Self::CUDA_MODULE_NV => Some("CUDA_MODULE_NV"), + #[cfg(feature = "provisional")] Self::CUDA_FUNCTION_NV => Some("CUDA_FUNCTION_NV"), Self::BUFFER_COLLECTION_FUCHSIA => Some("BUFFER_COLLECTION_FUCHSIA"), _ => None, @@ -1626,6 +1631,7 @@ impl fmt::Debug for DiscardRectangleModeEXT { } } } +#[cfg(feature = "provisional")] impl fmt::Debug for DisplacementMicromapFormatNV { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let name = match *self { @@ -3309,6 +3315,7 @@ impl fmt::Debug for MicromapTypeEXT { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let name = match *self { Self::OPACITY_MICROMAP => Some("OPACITY_MICROMAP"), + #[cfg(feature = "provisional")] Self::DISPLACEMENT_MICROMAP_NV => Some("DISPLACEMENT_MICROMAP_NV"), _ => None, }; @@ -3651,6 +3658,7 @@ impl fmt::Debug for PipelineBindPoint { let name = match *self { Self::GRAPHICS => Some("GRAPHICS"), Self::COMPUTE => Some("COMPUTE"), + #[cfg(feature = "provisional")] Self::EXECUTION_GRAPH_AMDX => Some("EXECUTION_GRAPH_AMDX"), Self::RAY_TRACING_KHR => Some("RAY_TRACING_KHR"), Self::SUBPASS_SHADING_HUAWEI => Some("SUBPASS_SHADING_HUAWEI"), @@ -3808,6 +3816,7 @@ impl fmt::Debug for PipelineCreateFlags { PipelineCreateFlags::RAY_TRACING_OPACITY_MICROMAP_EXT.0, "RAY_TRACING_OPACITY_MICROMAP_EXT", ), + #[cfg(feature = "provisional")] ( PipelineCreateFlags::RAY_TRACING_DISPLACEMENT_MICROMAP_NV.0, "RAY_TRACING_DISPLACEMENT_MICROMAP_NV", @@ -5520,18 +5529,23 @@ impl fmt::Debug for StructureType { Self::ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID => { Some("ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX => { Some("PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX => { Some("PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX") } + #[cfg(feature = "provisional")] Self::EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX => { Some("EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX") } + #[cfg(feature = "provisional")] Self::EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX => { Some("EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX") } + #[cfg(feature = "provisional")] Self::PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX => { Some("PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX") } @@ -5652,9 +5666,11 @@ impl fmt::Debug for StructureType { Self::SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT => { Some("SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR => { Some("PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR => { Some("PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR") } @@ -6081,12 +6097,17 @@ impl fmt::Debug for StructureType { Self::DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV => { Some("DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV") } + #[cfg(feature = "provisional")] Self::CUDA_MODULE_CREATE_INFO_NV => Some("CUDA_MODULE_CREATE_INFO_NV"), + #[cfg(feature = "provisional")] Self::CUDA_FUNCTION_CREATE_INFO_NV => Some("CUDA_FUNCTION_CREATE_INFO_NV"), + #[cfg(feature = "provisional")] Self::CUDA_LAUNCH_INFO_NV => Some("CUDA_LAUNCH_INFO_NV"), + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV => { Some("PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV => { Some("PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV") } @@ -6368,12 +6389,15 @@ impl fmt::Debug for StructureType { Self::ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT => { Some("ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV => { Some("PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV") } + #[cfg(feature = "provisional")] Self::PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV => { Some("PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV") } + #[cfg(feature = "provisional")] Self::ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV => { Some("ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV") } diff --git a/ash/src/vk/constants.rs b/ash/src/vk/constants.rs index a46e34f8e..9a55dd55b 100644 --- a/ash/src/vk/constants.rs +++ b/ash/src/vk/constants.rs @@ -1,31 +1,61 @@ use super::definitions::*; +#[doc = "Provided by VK_VERSION_1_0"] pub const MAX_PHYSICAL_DEVICE_NAME_SIZE: usize = 256; +#[doc = "Provided by VK_VERSION_1_0"] pub const UUID_SIZE: usize = 16; +#[doc = "Provided by VK_VERSION_1_1"] pub const LUID_SIZE: usize = 8; +#[doc = "Provided by VK_VERSION_1_0"] pub const MAX_EXTENSION_NAME_SIZE: usize = 256; +#[doc = "Provided by VK_VERSION_1_0"] pub const MAX_DESCRIPTION_SIZE: usize = 256; +#[doc = "Provided by VK_VERSION_1_0"] pub const MAX_MEMORY_TYPES: usize = 32; #[doc = "The maximum number of unique memory heaps, each of which supporting 1 or more memory types"] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub const MAX_MEMORY_HEAPS: usize = 16; +#[doc = "Provided by VK_VERSION_1_0"] pub const LOD_CLAMP_NONE: f32 = 1000.00; +#[doc = "Provided by VK_VERSION_1_0"] pub const REMAINING_MIP_LEVELS: u32 = !0; +#[doc = "Provided by VK_VERSION_1_0"] pub const REMAINING_ARRAY_LAYERS: u32 = !0; +#[doc = "Provided by VK_EXT_image_sliced_view_of_3d"] pub const REMAINING_3D_SLICES_EXT: u32 = !0; +#[doc = "Provided by VK_VERSION_1_0"] pub const WHOLE_SIZE: u64 = !0; +#[doc = "Provided by VK_VERSION_1_0"] pub const ATTACHMENT_UNUSED: u32 = !0; +#[doc = "Provided by VK_VERSION_1_0"] pub const TRUE: Bool32 = 1; +#[doc = "Provided by VK_VERSION_1_0"] pub const FALSE: Bool32 = 0; +#[doc = "Provided by VK_VERSION_1_0"] pub const QUEUE_FAMILY_IGNORED: u32 = !0; +#[doc = "Provided by VK_VERSION_1_1"] pub const QUEUE_FAMILY_EXTERNAL: u32 = !1; +#[doc = "Provided by VK_EXT_queue_family_foreign"] pub const QUEUE_FAMILY_FOREIGN_EXT: u32 = !2; +#[doc = "Provided by VK_VERSION_1_0"] pub const SUBPASS_EXTERNAL: u32 = !0; +#[doc = "Provided by VK_VERSION_1_1"] pub const MAX_DEVICE_GROUP_SIZE: usize = 32; +#[doc = "Provided by VK_VERSION_1_2"] pub const MAX_DRIVER_NAME_SIZE: usize = 256; +#[doc = "Provided by VK_VERSION_1_2"] pub const MAX_DRIVER_INFO_SIZE: usize = 256; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] pub const SHADER_UNUSED_KHR: u32 = !0; +#[doc = "Provided by VK_KHR_global_priority"] pub const MAX_GLOBAL_PRIORITY_SIZE_KHR: usize = 16; +#[doc = "Provided by VK_EXT_shader_module_identifier"] pub const MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT: usize = 32; +#[doc = "Provided by VK_KHR_pipeline_binary"] pub const MAX_PIPELINE_BINARY_KEY_SIZE_KHR: usize = 32; +#[doc = "Provided by VK_KHR_video_decode_av1"] pub const MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR: usize = 7; +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] pub const SHADER_INDEX_UNUSED_AMDX: u32 = !0; pub const SHADER_UNUSED_NV: u32 = SHADER_UNUSED_KHR; diff --git a/ash/src/vk/definitions.rs b/ash/src/vk/definitions.rs index cafc5571b..67520fe10 100644 --- a/ash/src/vk/definitions.rs +++ b/ash/src/vk/definitions.rs @@ -12,499 +12,683 @@ use super::{ use core::ffi::*; use core::fmt; use core::marker::PhantomData; -#[deprecated = "This define is deprecated. VK_MAKE_API_VERSION should be used instead."] #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] +#[deprecated = "This define is deprecated. VK_MAKE_API_VERSION should be used instead."] pub const fn make_version(major: u32, minor: u32, patch: u32) -> u32 { ((major) << 22) | ((minor) << 12) | (patch) } -#[deprecated = "This define is deprecated. VK_API_VERSION_MAJOR should be used instead."] #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] +#[deprecated = "This define is deprecated. VK_API_VERSION_MAJOR should be used instead."] pub const fn version_major(version: u32) -> u32 { (version) >> 22 } -#[deprecated = "This define is deprecated. VK_API_VERSION_MINOR should be used instead."] #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] +#[deprecated = "This define is deprecated. VK_API_VERSION_MINOR should be used instead."] pub const fn version_minor(version: u32) -> u32 { ((version) >> 12) & 0x3ffu32 } -#[deprecated = "This define is deprecated. VK_API_VERSION_PATCH should be used instead."] #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] +#[deprecated = "This define is deprecated. VK_API_VERSION_PATCH should be used instead."] pub const fn version_patch(version: u32) -> u32 { (version) & 0xfffu32 } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const fn make_api_version(variant: u32, major: u32, minor: u32, patch: u32) -> u32 { ((variant) << 29) | ((major) << 22) | ((minor) << 12) | (patch) } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const fn api_version_variant(version: u32) -> u32 { (version) >> 29 } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const fn api_version_major(version: u32) -> u32 { ((version) >> 22) & 0x7fu32 } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const fn api_version_minor(version: u32) -> u32 { ((version) >> 12) & 0x3ffu32 } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const fn api_version_patch(version: u32) -> u32 { (version) & 0xfffu32 } #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const API_VERSION_1_0: u32 = make_api_version(0, 1, 0, 0); #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const API_VERSION_1_1: u32 = make_api_version(0, 1, 1, 0); #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0); #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0); #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const HEADER_VERSION: u32 = 296; #[doc = ""] +#[doc = ""] +#[doc = "Provided by TODO"] pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION); #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub type SampleMask = u32; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub type Bool32 = u32; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub type Flags = u32; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3, VK_KHR_synchronization2"] pub type Flags64 = u64; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub type DeviceSize = u64; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] pub type DeviceAddress = u64; +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct QueryPoolCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(QueryPoolCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineDynamicStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineDynamicStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineMultisampleStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineMultisampleStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineRasterizationStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineRasterizationStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineViewportStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineViewportStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineTessellationStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineTessellationStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineInputAssemblyStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineInputAssemblyStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineVertexInputStateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(PipelineVertexInputStateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct BufferViewCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(BufferViewCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DeviceCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DescriptorPoolResetFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorPoolResetFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DescriptorUpdateTemplateCreateFlags(pub(crate) Flags); vk_bitflags_wrapped!(DescriptorUpdateTemplateCreateFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AccelerationStructureMotionInfoFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(AccelerationStructureMotionInfoFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AccelerationStructureMotionInstanceFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(AccelerationStructureMotionInstanceFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DirectDriverLoadingFlagsLUNARG(pub(crate) Flags); vk_bitflags_wrapped!(DirectDriverLoadingFlagsLUNARG, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DisplayModeCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DisplayModeCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DisplaySurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(DisplaySurfaceCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_android_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct AndroidSurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(AndroidSurfaceCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NN_vi_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ViSurfaceCreateFlagsNN(pub(crate) Flags); vk_bitflags_wrapped!(ViSurfaceCreateFlagsNN, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_win32_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct Win32SurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(Win32SurfaceCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_xlib_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct XlibSurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(XlibSurfaceCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_xcb_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct XcbSurfaceCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(XcbSurfaceCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_directfb_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DirectFBSurfaceCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DirectFBSurfaceCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MVK_ios_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct IOSSurfaceCreateFlagsMVK(pub(crate) Flags); vk_bitflags_wrapped!(IOSSurfaceCreateFlagsMVK, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MVK_macos_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MacOSSurfaceCreateFlagsMVK(pub(crate) Flags); vk_bitflags_wrapped!(MacOSSurfaceCreateFlagsMVK, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct MetalSurfaceCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(MetalSurfaceCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_imagepipe_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ImagePipeSurfaceCreateFlagsFUCHSIA(pub(crate) Flags); vk_bitflags_wrapped!(ImagePipeSurfaceCreateFlagsFUCHSIA, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GGP_stream_descriptor_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct StreamDescriptorSurfaceCreateFlagsGGP(pub(crate) Flags); vk_bitflags_wrapped!(StreamDescriptorSurfaceCreateFlagsGGP, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_headless_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct HeadlessSurfaceCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(HeadlessSurfaceCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_screen_surface"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ScreenSurfaceCreateFlagsQNX(pub(crate) Flags); vk_bitflags_wrapped!(ScreenSurfaceCreateFlagsQNX, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct CommandPoolTrimFlags(pub(crate) Flags); vk_bitflags_wrapped!(CommandPoolTrimFlags, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_viewport_swizzle"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineViewportSwizzleStateCreateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(PipelineViewportSwizzleStateCreateFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_discard_rectangles"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineDiscardRectangleStateCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PipelineDiscardRectangleStateCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_coverage_to_color"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCoverageToColorStateCreateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCoverageToColorStateCreateFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_framebuffer_mixed_samples"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCoverageModulationStateCreateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCoverageModulationStateCreateFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineCoverageReductionStateCreateFlagsNV(pub(crate) Flags); vk_bitflags_wrapped!(PipelineCoverageReductionStateCreateFlagsNV, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_cache"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct ValidationCacheCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(ValidationCacheCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DebugUtilsMessengerCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessengerCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DebugUtilsMessengerCallbackDataFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DebugUtilsMessengerCallbackDataFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct DeviceMemoryReportFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(DeviceMemoryReportFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conservative_rasterization"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineRasterizationConservativeStateCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PipelineRasterizationConservativeStateCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_transform_feedback"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineRasterizationStateStreamCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PipelineRasterizationStateStreamCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clip_enable"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct PipelineRasterizationDepthClipStateCreateFlagsEXT(pub(crate) Flags); vk_bitflags_wrapped!(PipelineRasterizationDepthClipStateCreateFlagsEXT, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoSessionParametersCreateFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoSessionParametersCreateFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoBeginCodingFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoBeginCodingFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEndCodingFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEndCodingFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoDecodeFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoDecodeFlagsKHR, Flags); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -#[doc = ""] pub struct VideoEncodeRateControlFlagsKHR(pub(crate) Flags); vk_bitflags_wrapped!(VideoEncodeRateControlFlagsKHR, Flags); define_handle!( Instance, INSTANCE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); define_handle!( PhysicalDevice, PHYSICAL_DEVICE, - doc = - "" + "Provided by VK_VERSION_1_0", + "", ); define_handle!( Device, DEVICE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); define_handle!( Queue, QUEUE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); define_handle!( CommandBuffer, COMMAND_BUFFER, - doc = - "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( DeviceMemory, DEVICE_MEMORY, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( CommandPool, COMMAND_POOL, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Buffer, BUFFER, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( BufferView, BUFFER_VIEW, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Image, IMAGE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( ImageView, IMAGE_VIEW, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( ShaderModule, SHADER_MODULE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Pipeline, PIPELINE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( PipelineLayout, PIPELINE_LAYOUT, - doc = - "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Sampler, SAMPLER, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( DescriptorSet, DESCRIPTOR_SET, - doc = - "" + "Provided by VK_VERSION_1_0", + "", ); -handle_nondispatchable ! (DescriptorSetLayout , DESCRIPTOR_SET_LAYOUT , doc = "") ; +handle_nondispatchable ! (DescriptorSetLayout , DESCRIPTOR_SET_LAYOUT , "Provided by VK_VERSION_1_0" , "" ,) ; handle_nondispatchable!( DescriptorPool, DESCRIPTOR_POOL, - doc = - "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Fence, FENCE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Semaphore, SEMAPHORE, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Event, EVENT, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( QueryPool, QUERY_POOL, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( Framebuffer, FRAMEBUFFER, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( RenderPass, RENDER_PASS, - doc = "" + "Provided by VK_VERSION_1_0", + "", ); handle_nondispatchable!( PipelineCache, PIPELINE_CACHE, - doc = - "" + "Provided by VK_VERSION_1_0", + "", +); +handle_nondispatchable!( + PipelineBinaryKHR, + PIPELINE_BINARY_KHR, + "Provided by VK_KHR_pipeline_binary", + "", +); +handle_nondispatchable ! (IndirectCommandsLayoutNV , INDIRECT_COMMANDS_LAYOUT_NV , "Provided by VK_NV_device_generated_commands" , "" ,) ; +handle_nondispatchable ! (IndirectCommandsLayoutEXT , INDIRECT_COMMANDS_LAYOUT_EXT , "Provided by VK_EXT_device_generated_commands" , "" ,) ; +handle_nondispatchable ! (IndirectExecutionSetEXT , INDIRECT_EXECUTION_SET_EXT , "Provided by VK_EXT_device_generated_commands" , "" ,) ; +handle_nondispatchable ! (DescriptorUpdateTemplate , DESCRIPTOR_UPDATE_TEMPLATE , "Provided by VK_VERSION_1_1" , "" ,) ; +handle_nondispatchable ! (SamplerYcbcrConversion , SAMPLER_YCBCR_CONVERSION , "Provided by VK_VERSION_1_1" , "" ,) ; +handle_nondispatchable!( + ValidationCacheEXT, + VALIDATION_CACHE_EXT, + "Provided by VK_EXT_validation_cache", + "", +); +handle_nondispatchable ! (AccelerationStructureKHR , ACCELERATION_STRUCTURE_KHR , "Provided by VK_KHR_acceleration_structure" , "" ,) ; +handle_nondispatchable ! (AccelerationStructureNV , ACCELERATION_STRUCTURE_NV , "Provided by VK_NV_ray_tracing" , "" ,) ; +handle_nondispatchable ! (PerformanceConfigurationINTEL , PERFORMANCE_CONFIGURATION_INTEL , "Provided by VK_INTEL_performance_query" , "" ,) ; +handle_nondispatchable ! (BufferCollectionFUCHSIA , BUFFER_COLLECTION_FUCHSIA , "Provided by VK_FUCHSIA_buffer_collection" , "" ,) ; +handle_nondispatchable ! (DeferredOperationKHR , DEFERRED_OPERATION_KHR , "Provided by VK_KHR_deferred_host_operations" , "" ,) ; +handle_nondispatchable!( + PrivateDataSlot, + PRIVATE_DATA_SLOT, + "Provided by VK_VERSION_1_3", + "", ); -handle_nondispatchable ! (PipelineBinaryKHR , PIPELINE_BINARY_KHR , doc = "") ; -handle_nondispatchable ! (IndirectCommandsLayoutNV , INDIRECT_COMMANDS_LAYOUT_NV , doc = "") ; -handle_nondispatchable ! (IndirectCommandsLayoutEXT , INDIRECT_COMMANDS_LAYOUT_EXT , doc = "") ; -handle_nondispatchable ! (IndirectExecutionSetEXT , INDIRECT_EXECUTION_SET_EXT , doc = "") ; -handle_nondispatchable ! (DescriptorUpdateTemplate , DESCRIPTOR_UPDATE_TEMPLATE , doc = "") ; -handle_nondispatchable ! (SamplerYcbcrConversion , SAMPLER_YCBCR_CONVERSION , doc = "") ; -handle_nondispatchable ! (ValidationCacheEXT , VALIDATION_CACHE_EXT , doc = "") ; -handle_nondispatchable ! (AccelerationStructureKHR , ACCELERATION_STRUCTURE_KHR , doc = "") ; -handle_nondispatchable ! (AccelerationStructureNV , ACCELERATION_STRUCTURE_NV , doc = "") ; -handle_nondispatchable ! (PerformanceConfigurationINTEL , PERFORMANCE_CONFIGURATION_INTEL , doc = "") ; -handle_nondispatchable ! (BufferCollectionFUCHSIA , BUFFER_COLLECTION_FUCHSIA , doc = "") ; -handle_nondispatchable ! (DeferredOperationKHR , DEFERRED_OPERATION_KHR , doc = "") ; -handle_nondispatchable ! (PrivateDataSlot , PRIVATE_DATA_SLOT , doc = "") ; handle_nondispatchable!( CuModuleNVX, CU_MODULE_NVX, - doc = "" + "Provided by VK_NVX_binary_import", + "", ); handle_nondispatchable!( CuFunctionNVX, CU_FUNCTION_NVX, - doc = - "" + "Provided by VK_NVX_binary_import", + "", ); -handle_nondispatchable ! (OpticalFlowSessionNV , OPTICAL_FLOW_SESSION_NV , doc = "") ; +handle_nondispatchable ! (OpticalFlowSessionNV , OPTICAL_FLOW_SESSION_NV , "Provided by VK_NV_optical_flow" , "" ,) ; handle_nondispatchable!( MicromapEXT, MICROMAP_EXT, - doc = "" + "Provided by VK_EXT_opacity_micromap", + "", ); handle_nondispatchable!( ShaderEXT, SHADER_EXT, - doc = "" + "Provided by VK_EXT_shader_object", + "", ); handle_nondispatchable!( DisplayKHR, DISPLAY_KHR, - doc = "" + "Provided by VK_KHR_display", + "", ); handle_nondispatchable!( DisplayModeKHR, DISPLAY_MODE_KHR, - doc = - "" + "Provided by VK_KHR_display", + "", ); handle_nondispatchable!( SurfaceKHR, SURFACE_KHR, - doc = "" + "Provided by VK_KHR_surface", + "", ); handle_nondispatchable!( SwapchainKHR, SWAPCHAIN_KHR, - doc = "" + "Provided by VK_KHR_swapchain", + "", ); -handle_nondispatchable ! (DebugReportCallbackEXT , DEBUG_REPORT_CALLBACK_EXT , doc = "") ; -handle_nondispatchable ! (DebugUtilsMessengerEXT , DEBUG_UTILS_MESSENGER_EXT , doc = "") ; -handle_nondispatchable ! (VideoSessionKHR , VIDEO_SESSION_KHR , doc = "") ; -handle_nondispatchable ! (VideoSessionParametersKHR , VIDEO_SESSION_PARAMETERS_KHR , doc = "") ; -#[allow(non_camel_case_types)] +handle_nondispatchable ! (DebugReportCallbackEXT , DEBUG_REPORT_CALLBACK_EXT , "Provided by VK_EXT_debug_report" , "" ,) ; +handle_nondispatchable ! (DebugUtilsMessengerEXT , DEBUG_UTILS_MESSENGER_EXT , "Provided by VK_EXT_debug_utils" , "" ,) ; +handle_nondispatchable!( + VideoSessionKHR, + VIDEO_SESSION_KHR, + "Provided by VK_KHR_video_queue", + "", +); +handle_nondispatchable ! (VideoSessionParametersKHR , VIDEO_SESSION_PARAMETERS_KHR , "Provided by VK_KHR_video_queue" , "" ,) ; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[allow(non_camel_case_types)] pub type PFN_vkInternalAllocationNotification = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -513,8 +697,10 @@ pub type PFN_vkInternalAllocationNotification = Option< allocation_scope: SystemAllocationScope, ), >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[allow(non_camel_case_types)] pub type PFN_vkInternalFreeNotification = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -523,8 +709,10 @@ pub type PFN_vkInternalFreeNotification = Option< allocation_scope: SystemAllocationScope, ), >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[allow(non_camel_case_types)] pub type PFN_vkReallocationFunction = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -534,8 +722,10 @@ pub type PFN_vkReallocationFunction = Option< allocation_scope: SystemAllocationScope, ) -> *mut c_void, >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[allow(non_camel_case_types)] pub type PFN_vkAllocationFunction = Option< unsafe extern "system" fn( p_user_data: *mut c_void, @@ -544,15 +734,21 @@ pub type PFN_vkAllocationFunction = Option< allocation_scope: SystemAllocationScope, ) -> *mut c_void, >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[allow(non_camel_case_types)] pub type PFN_vkFreeFunction = Option; -#[allow(non_camel_case_types)] #[doc = ""] -pub type PFN_vkVoidFunction = Option; +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] +pub type PFN_vkVoidFunction = Option; #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_report"] +#[allow(non_camel_case_types)] pub type PFN_vkDebugReportCallbackEXT = Option< unsafe extern "system" fn( flags: DebugReportFlagsEXT, @@ -565,8 +761,10 @@ pub type PFN_vkDebugReportCallbackEXT = Option< p_user_data: *mut c_void, ) -> Bool32, >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] +#[allow(non_camel_case_types)] pub type PFN_vkDebugUtilsMessengerCallbackEXT = Option< unsafe extern "system" fn( message_severity: DebugUtilsMessageSeverityFlagsEXT, @@ -575,23 +773,29 @@ pub type PFN_vkDebugUtilsMessengerCallbackEXT = Option< p_user_data: *mut c_void, ) -> Bool32, >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] +#[allow(non_camel_case_types)] pub type PFN_vkDeviceMemoryReportCallbackEXT = Option< unsafe extern "system" fn( p_callback_data: *const DeviceMemoryReportCallbackDataEXT<'_>, p_user_data: *mut c_void, ), >; -#[allow(non_camel_case_types)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] +#[allow(non_camel_case_types)] pub type PFN_vkGetInstanceProcAddrLUNARG = Option< unsafe extern "system" fn(instance: Instance, p_name: *const c_char) -> PFN_vkVoidFunction, >; +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BaseOutStructure<'a> { pub s_type: StructureType, @@ -610,10 +814,12 @@ impl ::core::default::Default for BaseOutStructure<'_> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BaseInStructure<'a> { pub s_type: StructureType, @@ -632,10 +838,12 @@ impl ::core::default::Default for BaseInStructure<'_> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct Offset2D { pub x: i32, @@ -653,10 +861,12 @@ impl Offset2D { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct Offset3D { pub x: i32, @@ -680,10 +890,12 @@ impl Offset3D { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct Extent2D { pub width: u32, @@ -701,10 +913,12 @@ impl Extent2D { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct Extent3D { pub width: u32, @@ -728,10 +942,12 @@ impl Extent3D { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct Viewport { pub x: f32, @@ -773,10 +989,12 @@ impl Viewport { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct Rect2D { pub offset: Offset2D, @@ -794,10 +1012,12 @@ impl Rect2D { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct ClearRect { pub rect: Rect2D, @@ -821,10 +1041,12 @@ impl ClearRect { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ComponentMapping { pub r: ComponentSwizzle, @@ -854,9 +1076,11 @@ impl ComponentMapping { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProperties { pub api_version: u32, @@ -954,9 +1178,11 @@ impl PhysicalDeviceProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExtensionProperties { pub extension_name: [c_char; MAX_EXTENSION_NAME_SIZE], @@ -998,9 +1224,11 @@ impl ExtensionProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LayerProperties { pub layer_name: [c_char; MAX_EXTENSION_NAME_SIZE], @@ -1064,10 +1292,12 @@ impl LayerProperties { wrap_c_str_slice_until_nul(&self.description) } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ApplicationInfo<'a> { pub s_type: StructureType, @@ -1142,9 +1372,11 @@ impl<'a> ApplicationInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AllocationCallbacks { pub p_user_data: *mut c_void, @@ -1229,10 +1461,12 @@ impl AllocationCallbacks { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceQueueCreateInfo<'a> { pub s_type: StructureType, @@ -1280,10 +1514,12 @@ impl<'a> DeviceQueueCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceCreateInfo<'a> { pub s_type: StructureType, @@ -1359,10 +1595,12 @@ impl<'a> DeviceCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct InstanceCreateInfo<'a> { pub s_type: StructureType, @@ -1420,10 +1658,12 @@ impl<'a> InstanceCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct QueueFamilyProperties { pub queue_flags: QueueFlags, @@ -1456,9 +1696,11 @@ impl QueueFamilyProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryProperties { pub memory_type_count: u32, @@ -1510,10 +1752,12 @@ impl PhysicalDeviceMemoryProperties { &self.memory_heaps[..self.memory_heap_count as _] } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryAllocateInfo<'a> { pub s_type: StructureType, @@ -1551,10 +1795,12 @@ impl<'a> MemoryAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MemoryRequirements { pub size: DeviceSize, @@ -1578,10 +1824,12 @@ impl MemoryRequirements { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SparseImageFormatProperties { pub aspect_mask: ImageAspectFlags, @@ -1605,10 +1853,12 @@ impl SparseImageFormatProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SparseImageMemoryRequirements { pub format_properties: SparseImageFormatProperties, @@ -1644,10 +1894,12 @@ impl SparseImageMemoryRequirements { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MemoryType { pub property_flags: MemoryPropertyFlags, @@ -1665,10 +1917,12 @@ impl MemoryType { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MemoryHeap { pub size: DeviceSize, @@ -1686,10 +1940,12 @@ impl MemoryHeap { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MappedMemoryRange<'a> { pub s_type: StructureType, @@ -1734,10 +1990,12 @@ impl<'a> MappedMemoryRange<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct FormatProperties { pub linear_tiling_features: FormatFeatureFlags, @@ -1761,10 +2019,12 @@ impl FormatProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageFormatProperties { pub max_extent: Extent3D, @@ -1800,10 +2060,12 @@ impl ImageFormatProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DescriptorBufferInfo { pub buffer: Buffer, @@ -1827,10 +2089,12 @@ impl DescriptorBufferInfo { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DescriptorImageInfo { pub sampler: Sampler, @@ -1854,10 +2118,12 @@ impl DescriptorImageInfo { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteDescriptorSet<'a> { pub s_type: StructureType, @@ -1940,10 +2206,12 @@ impl<'a> WriteDescriptorSet<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyDescriptorSet<'a> { pub s_type: StructureType, @@ -2016,10 +2284,12 @@ impl<'a> CopyDescriptorSet<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferUsageFlags2CreateInfoKHR<'a> { pub s_type: StructureType, @@ -2054,10 +2324,12 @@ impl<'a> BufferUsageFlags2CreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCreateInfo<'a> { pub s_type: StructureType, @@ -2119,10 +2391,12 @@ impl<'a> BufferCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferViewCreateInfo<'a> { pub s_type: StructureType, @@ -2181,10 +2455,12 @@ impl<'a> BufferViewCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageSubresource { pub aspect_mask: ImageAspectFlags, @@ -2208,10 +2484,12 @@ impl ImageSubresource { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageSubresourceLayers { pub aspect_mask: ImageAspectFlags, @@ -2241,10 +2519,12 @@ impl ImageSubresourceLayers { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageSubresourceRange { pub aspect_mask: ImageAspectFlags, @@ -2280,10 +2560,12 @@ impl ImageSubresourceRange { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryBarrier<'a> { pub s_type: StructureType, @@ -2321,10 +2603,12 @@ impl<'a> MemoryBarrier<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferMemoryBarrier<'a> { pub s_type: StructureType, @@ -2397,10 +2681,12 @@ impl<'a> BufferMemoryBarrier<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageMemoryBarrier<'a> { pub s_type: StructureType, @@ -2480,10 +2766,12 @@ impl<'a> ImageMemoryBarrier<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageCreateInfo<'a> { pub s_type: StructureType, @@ -2594,10 +2882,12 @@ impl<'a> ImageCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SubresourceLayout { pub offset: DeviceSize, @@ -2633,10 +2923,12 @@ impl SubresourceLayout { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewCreateInfo<'a> { pub s_type: StructureType, @@ -2702,10 +2994,12 @@ impl<'a> ImageViewCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BufferCopy { pub src_offset: DeviceSize, @@ -2729,10 +3023,12 @@ impl BufferCopy { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SparseMemoryBind { pub resource_offset: DeviceSize, @@ -2768,10 +3064,12 @@ impl SparseMemoryBind { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SparseImageMemoryBind { pub subresource: ImageSubresource, @@ -2813,10 +3111,12 @@ impl SparseImageMemoryBind { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SparseBufferMemoryBindInfo<'a> { pub buffer: Buffer, @@ -2850,10 +3150,12 @@ impl<'a> SparseBufferMemoryBindInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SparseImageOpaqueMemoryBindInfo<'a> { pub image: Image, @@ -2887,10 +3189,12 @@ impl<'a> SparseImageOpaqueMemoryBindInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SparseImageMemoryBindInfo<'a> { pub image: Image, @@ -2924,10 +3228,12 @@ impl<'a> SparseImageMemoryBindInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindSparseInfo<'a> { pub s_type: StructureType, @@ -3004,10 +3310,12 @@ impl<'a> BindSparseInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageCopy { pub src_subresource: ImageSubresourceLayers, @@ -3043,10 +3351,12 @@ impl ImageCopy { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageBlit { pub src_subresource: ImageSubresourceLayers, @@ -3087,10 +3397,12 @@ impl ImageBlit { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BufferImageCopy { pub buffer_offset: DeviceSize, @@ -3132,10 +3444,12 @@ impl BufferImageCopy { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct CopyMemoryIndirectCommandNV { pub src_address: DeviceAddress, @@ -3159,10 +3473,12 @@ impl CopyMemoryIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct CopyMemoryToImageIndirectCommandNV { pub src_address: DeviceAddress, @@ -3204,10 +3520,12 @@ impl CopyMemoryToImageIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ImageResolve { pub src_subresource: ImageSubresourceLayers, @@ -3243,10 +3561,12 @@ impl ImageResolve { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShaderModuleCreateInfo<'a> { pub s_type: StructureType, @@ -3288,10 +3608,12 @@ impl<'a> ShaderModuleCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetLayoutBinding<'a> { pub binding: u32, @@ -3344,10 +3666,12 @@ impl<'a> DescriptorSetLayoutBinding<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetLayoutCreateInfo<'a> { pub s_type: StructureType, @@ -3388,10 +3712,12 @@ impl<'a> DescriptorSetLayoutCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DescriptorPoolSize { pub ty: DescriptorType, @@ -3409,10 +3735,12 @@ impl DescriptorPoolSize { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorPoolCreateInfo<'a> { pub s_type: StructureType, @@ -3460,10 +3788,12 @@ impl<'a> DescriptorPoolCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetAllocateInfo<'a> { pub s_type: StructureType, @@ -3504,10 +3834,12 @@ impl<'a> DescriptorSetAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SpecializationMapEntry { pub constant_id: u32, @@ -3531,10 +3863,12 @@ impl SpecializationMapEntry { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SpecializationInfo<'a> { pub map_entry_count: u32, @@ -3571,10 +3905,12 @@ impl<'a> SpecializationInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineShaderStageCreateInfo<'a> { pub s_type: StructureType, @@ -3641,10 +3977,12 @@ impl<'a> PipelineShaderStageCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ComputePipelineCreateInfo<'a> { pub s_type: StructureType, @@ -3703,10 +4041,12 @@ impl<'a> ComputePipelineCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ComputePipelineIndirectBufferInfoNV<'a> { pub s_type: StructureType, @@ -3755,10 +4095,12 @@ impl<'a> ComputePipelineIndirectBufferInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCreateFlags2CreateInfoKHR<'a> { pub s_type: StructureType, @@ -3793,10 +4135,12 @@ impl<'a> PipelineCreateFlags2CreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VertexInputBindingDescription { pub binding: u32, @@ -3820,10 +4164,12 @@ impl VertexInputBindingDescription { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VertexInputAttributeDescription { pub location: u32, @@ -3853,10 +4199,12 @@ impl VertexInputAttributeDescription { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineVertexInputStateCreateInfo<'a> { pub s_type: StructureType, @@ -3913,10 +4261,12 @@ impl<'a> PipelineVertexInputStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineInputAssemblyStateCreateInfo<'a> { pub s_type: StructureType, @@ -3961,10 +4311,12 @@ impl<'a> PipelineInputAssemblyStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineTessellationStateCreateInfo<'a> { pub s_type: StructureType, @@ -4002,10 +4354,12 @@ impl<'a> PipelineTessellationStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportStateCreateInfo<'a> { pub s_type: StructureType, @@ -4066,10 +4420,12 @@ impl<'a> PipelineViewportStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationStateCreateInfo<'a> { pub s_type: StructureType, @@ -4170,10 +4526,12 @@ impl<'a> PipelineRasterizationStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineMultisampleStateCreateInfo<'a> { pub s_type: StructureType, @@ -4255,10 +4613,12 @@ impl<'a> PipelineMultisampleStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PipelineColorBlendAttachmentState { pub blend_enable: Bool32, @@ -4312,10 +4672,12 @@ impl PipelineColorBlendAttachmentState { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineColorBlendStateCreateInfo<'a> { pub s_type: StructureType, @@ -4377,10 +4739,12 @@ impl<'a> PipelineColorBlendStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineDynamicStateCreateInfo<'a> { pub s_type: StructureType, @@ -4421,10 +4785,12 @@ impl<'a> PipelineDynamicStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct StencilOpState { pub fail_op: StencilOp, @@ -4472,10 +4838,12 @@ impl StencilOpState { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineDepthStencilStateCreateInfo<'a> { pub s_type: StructureType, @@ -4569,10 +4937,12 @@ impl<'a> PipelineDepthStencilStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GraphicsPipelineCreateInfo<'a> { pub s_type: StructureType, @@ -4735,10 +5105,12 @@ impl<'a> GraphicsPipelineCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCacheCreateInfo<'a> { pub s_type: StructureType, @@ -4779,10 +5151,12 @@ impl<'a> PipelineCacheCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCacheHeaderVersionOne { pub header_size: u32, @@ -4830,10 +5204,12 @@ impl PipelineCacheHeaderVersionOne { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PushConstantRange { pub stage_flags: ShaderStageFlags, @@ -4857,10 +5233,12 @@ impl PushConstantRange { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryCreateInfoKHR<'a> { pub s_type: StructureType, @@ -4911,10 +5289,12 @@ impl<'a> PipelineBinaryCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryHandlesInfoKHR<'a> { pub s_type: StructureType, @@ -4948,10 +5328,12 @@ impl<'a> PipelineBinaryHandlesInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryDataKHR<'a> { pub data_size: usize, @@ -4978,10 +5360,12 @@ impl<'a> PipelineBinaryDataKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryKeysAndDataKHR<'a> { pub binary_count: u32, @@ -5022,10 +5406,12 @@ impl<'a> PipelineBinaryKeysAndDataKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryKeyKHR<'a> { pub s_type: StructureType, @@ -5063,10 +5449,12 @@ impl<'a> PipelineBinaryKeyKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryInfoKHR<'a> { pub s_type: StructureType, @@ -5103,10 +5491,12 @@ impl<'a> PipelineBinaryInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ReleaseCapturedPipelineDataInfoKHR<'a> { pub s_type: StructureType, @@ -5137,10 +5527,12 @@ impl<'a> ReleaseCapturedPipelineDataInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineBinaryDataInfoKHR<'a> { pub s_type: StructureType, @@ -5171,10 +5563,12 @@ impl<'a> PipelineBinaryDataInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCreateInfoKHR<'a> { pub s_type: StructureType, @@ -5197,10 +5591,12 @@ unsafe impl<'a> TaggedStructure<'a> for PipelineCreateInfoKHR<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_CREATE_INFO_KHR; } impl<'a> PipelineCreateInfoKHR<'a> {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineLayoutCreateInfo<'a> { pub s_type: StructureType, @@ -5261,10 +5657,12 @@ impl<'a> PipelineLayoutCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerCreateInfo<'a> { pub s_type: StructureType, @@ -5400,10 +5798,12 @@ impl<'a> SamplerCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandPoolCreateInfo<'a> { pub s_type: StructureType, @@ -5441,10 +5841,12 @@ impl<'a> CommandPoolCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferAllocateInfo<'a> { pub s_type: StructureType, @@ -5489,10 +5891,12 @@ impl<'a> CommandBufferAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferInheritanceInfo<'a> { pub s_type: StructureType, @@ -5558,10 +5962,12 @@ impl<'a> CommandBufferInheritanceInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferBeginInfo<'a> { pub s_type: StructureType, @@ -5602,9 +6008,11 @@ impl<'a> CommandBufferBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassBeginInfo<'a> { pub s_type: StructureType, @@ -5673,9 +6081,11 @@ impl<'a> RenderPassBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union ClearColorValue { pub float32: [f32; 4], pub int32: [i32; 4], @@ -5687,10 +6097,12 @@ impl ::core::default::Default for ClearColorValue { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ClearDepthStencilValue { pub depth: f32, @@ -5708,9 +6120,11 @@ impl ClearDepthStencilValue { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union ClearValue { pub color: ClearColorValue, pub depth_stencil: ClearDepthStencilValue, @@ -5721,9 +6135,11 @@ impl ::core::default::Default for ClearValue { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ClearAttachment { pub aspect_mask: ImageAspectFlags, @@ -5757,10 +6173,12 @@ impl ClearAttachment { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AttachmentDescription { pub flags: AttachmentDescriptionFlags, @@ -5820,10 +6238,12 @@ impl AttachmentDescription { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AttachmentReference { pub attachment: u32, @@ -5841,10 +6261,12 @@ impl AttachmentReference { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassDescription<'a> { pub flags: SubpassDescriptionFlags, @@ -5923,10 +6345,12 @@ impl<'a> SubpassDescription<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SubpassDependency { pub src_subpass: u32, @@ -5974,10 +6398,12 @@ impl SubpassDependency { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassCreateInfo<'a> { pub s_type: StructureType, @@ -6038,10 +6464,12 @@ impl<'a> RenderPassCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct EventCreateInfo<'a> { pub s_type: StructureType, @@ -6072,10 +6500,12 @@ impl<'a> EventCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FenceCreateInfo<'a> { pub s_type: StructureType, @@ -6106,10 +6536,12 @@ impl<'a> FenceCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFeatures { pub robust_buffer_access: Bool32, @@ -6482,10 +6914,12 @@ impl PhysicalDeviceFeatures { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSparseProperties { pub residency_standard2_d_block_shape: Bool32, @@ -6531,10 +6965,12 @@ impl PhysicalDeviceSparseProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLimits { pub max_image_dimension1_d: u32, @@ -7421,10 +7857,12 @@ impl PhysicalDeviceLimits { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreCreateInfo<'a> { pub s_type: StructureType, @@ -7455,10 +7893,12 @@ impl<'a> SemaphoreCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueryPoolCreateInfo<'a> { pub s_type: StructureType, @@ -7510,10 +7950,12 @@ impl<'a> QueryPoolCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FramebufferCreateInfo<'a> { pub s_type: StructureType, @@ -7587,10 +8029,12 @@ impl<'a> FramebufferCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrawIndirectCommand { pub vertex_count: u32, @@ -7620,10 +8064,12 @@ impl DrawIndirectCommand { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrawIndexedIndirectCommand { pub index_count: u32, @@ -7659,10 +8105,12 @@ impl DrawIndexedIndirectCommand { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DispatchIndirectCommand { pub x: u32, @@ -7686,10 +8134,12 @@ impl DispatchIndirectCommand { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multi_draw"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MultiDrawInfoEXT { pub first_vertex: u32, @@ -7707,10 +8157,12 @@ impl MultiDrawInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multi_draw"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MultiDrawIndexedInfoEXT { pub first_index: u32, @@ -7734,10 +8186,12 @@ impl MultiDrawIndexedInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubmitInfo<'a> { pub s_type: StructureType, @@ -7799,10 +8253,12 @@ impl<'a> SubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPropertiesKHR<'a> { pub display: DisplayKHR, @@ -7876,10 +8332,12 @@ impl<'a> DisplayPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DisplayPlanePropertiesKHR { pub current_display: DisplayKHR, @@ -7897,10 +8355,12 @@ impl DisplayPlanePropertiesKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DisplayModeParametersKHR { pub visible_region: Extent2D, @@ -7918,10 +8378,12 @@ impl DisplayModeParametersKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DisplayModePropertiesKHR { pub display_mode: DisplayModeKHR, @@ -7939,10 +8401,12 @@ impl DisplayModePropertiesKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayModeCreateInfoKHR<'a> { pub s_type: StructureType, @@ -7980,10 +8444,12 @@ impl<'a> DisplayModeCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DisplayPlaneCapabilitiesKHR { pub supported_alpha: DisplayPlaneAlphaFlagsKHR, @@ -8043,10 +8509,12 @@ impl DisplayPlaneCapabilitiesKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplaySurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8126,10 +8594,12 @@ impl<'a> DisplaySurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_display_swapchain"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPresentInfoKHR<'a> { pub s_type: StructureType, @@ -8175,10 +8645,12 @@ impl<'a> DisplayPresentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SurfaceCapabilitiesKHR { pub min_image_count: u32, @@ -8247,10 +8719,12 @@ impl SurfaceCapabilitiesKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_android_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidSurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8288,10 +8762,12 @@ impl<'a> AndroidSurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NN_vi_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ViSurfaceCreateInfoNN<'a> { pub s_type: StructureType, @@ -8329,10 +8805,12 @@ impl<'a> ViSurfaceCreateInfoNN<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_wayland_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WaylandSurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8377,10 +8855,12 @@ impl<'a> WaylandSurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_win32_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct Win32SurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8425,10 +8905,12 @@ impl<'a> Win32SurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_xlib_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct XlibSurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8473,10 +8955,12 @@ impl<'a> XlibSurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_xcb_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct XcbSurfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8521,10 +9005,12 @@ impl<'a> XcbSurfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_directfb_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DirectFBSurfaceCreateInfoEXT<'a> { pub s_type: StructureType, @@ -8569,10 +9055,12 @@ impl<'a> DirectFBSurfaceCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_imagepipe_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImagePipeSurfaceCreateInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -8610,10 +9098,12 @@ impl<'a> ImagePipeSurfaceCreateInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GGP_stream_descriptor_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct StreamDescriptorSurfaceCreateInfoGGP<'a> { pub s_type: StructureType, @@ -8651,10 +9141,12 @@ impl<'a> StreamDescriptorSurfaceCreateInfoGGP<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_screen_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ScreenSurfaceCreateInfoQNX<'a> { pub s_type: StructureType, @@ -8699,10 +9191,12 @@ impl<'a> ScreenSurfaceCreateInfoQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default, PartialEq, Eq, Hash)] -#[doc = ""] #[must_use] pub struct SurfaceFormatKHR { pub format: Format, @@ -8720,10 +9214,12 @@ impl SurfaceFormatKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainCreateInfoKHR<'a> { pub s_type: StructureType, @@ -8855,10 +9351,12 @@ impl<'a> SwapchainCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentInfoKHR<'a> { pub s_type: StructureType, @@ -8918,9 +9416,11 @@ impl<'a> PresentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_report"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugReportCallbackCreateInfoEXT<'a> { pub s_type: StructureType, @@ -8978,10 +9478,12 @@ impl<'a> DebugReportCallbackCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_flags"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ValidationFlagsEXT<'a> { pub s_type: StructureType, @@ -9019,10 +9521,12 @@ impl<'a> ValidationFlagsEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_features"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ValidationFeaturesEXT<'a> { pub s_type: StructureType, @@ -9075,10 +9579,12 @@ impl<'a> ValidationFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_layer_settings"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LayerSettingsCreateInfoEXT<'a> { pub s_type: StructureType, @@ -9113,10 +9619,12 @@ impl<'a> LayerSettingsCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_layer_settings"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LayerSettingEXT<'a> { pub p_layer_name: *const c_char, @@ -9180,10 +9688,12 @@ impl<'a> LayerSettingEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_rasterization_order"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationStateRasterizationOrderAMD<'a> { pub s_type: StructureType, @@ -9219,10 +9729,12 @@ impl<'a> PipelineRasterizationStateRasterizationOrderAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_marker"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugMarkerObjectNameInfoEXT<'a> { pub s_type: StructureType, @@ -9275,10 +9787,12 @@ impl<'a> DebugMarkerObjectNameInfoEXT<'a> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_marker"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugMarkerObjectTagInfoEXT<'a> { pub s_type: StructureType, @@ -9333,10 +9847,12 @@ impl<'a> DebugMarkerObjectTagInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_marker"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugMarkerMarkerInfoEXT<'a> { pub s_type: StructureType, @@ -9382,10 +9898,12 @@ impl<'a> DebugMarkerMarkerInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_dedicated_allocation"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DedicatedAllocationImageCreateInfoNV<'a> { pub s_type: StructureType, @@ -9417,10 +9935,12 @@ impl<'a> DedicatedAllocationImageCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_dedicated_allocation"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DedicatedAllocationBufferCreateInfoNV<'a> { pub s_type: StructureType, @@ -9452,10 +9972,12 @@ impl<'a> DedicatedAllocationBufferCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_dedicated_allocation"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DedicatedAllocationMemoryAllocateInfoNV<'a> { pub s_type: StructureType, @@ -9495,10 +10017,12 @@ impl<'a> DedicatedAllocationMemoryAllocateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_capabilities"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ExternalImageFormatPropertiesNV { pub image_format_properties: ImageFormatProperties, @@ -9540,10 +10064,12 @@ impl ExternalImageFormatPropertiesNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalMemoryImageCreateInfoNV<'a> { pub s_type: StructureType, @@ -9575,10 +10101,12 @@ impl<'a> ExternalMemoryImageCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMemoryAllocateInfoNV<'a> { pub s_type: StructureType, @@ -9610,10 +10138,12 @@ impl<'a> ExportMemoryAllocateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryWin32HandleInfoNV<'a> { pub s_type: StructureType, @@ -9652,10 +10182,12 @@ impl<'a> ImportMemoryWin32HandleInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMemoryWin32HandleInfoNV<'a> { pub s_type: StructureType, @@ -9694,10 +10226,12 @@ impl<'a> ExportMemoryWin32HandleInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_win32_keyed_mutex"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct Win32KeyedMutexAcquireReleaseInfoNV<'a> { pub s_type: StructureType, @@ -9767,10 +10301,12 @@ impl<'a> Win32KeyedMutexAcquireReleaseInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceGeneratedCommandsFeaturesNV<'a> { pub s_type: StructureType, @@ -9807,10 +10343,12 @@ impl<'a> PhysicalDeviceDeviceGeneratedCommandsFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV<'a> { pub s_type: StructureType, @@ -9871,10 +10409,12 @@ impl<'a> PhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DevicePrivateDataCreateInfo<'a> { pub s_type: StructureType, @@ -9906,10 +10446,12 @@ impl<'a> DevicePrivateDataCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PrivateDataSlotCreateInfo<'a> { pub s_type: StructureType, @@ -9940,10 +10482,12 @@ impl<'a> PrivateDataSlotCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePrivateDataFeatures<'a> { pub s_type: StructureType, @@ -9976,10 +10520,12 @@ impl<'a> PhysicalDevicePrivateDataFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceGeneratedCommandsPropertiesNV<'a> { pub s_type: StructureType, @@ -10095,10 +10641,12 @@ impl<'a> PhysicalDeviceDeviceGeneratedCommandsPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multi_draw"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiDrawPropertiesEXT<'a> { pub s_type: StructureType, @@ -10130,10 +10678,12 @@ impl<'a> PhysicalDeviceMultiDrawPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GraphicsShaderGroupCreateInfoNV<'a> { pub s_type: StructureType, @@ -10187,10 +10737,12 @@ impl<'a> GraphicsShaderGroupCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GraphicsPipelineShaderGroupsCreateInfoNV<'a> { pub s_type: StructureType, @@ -10239,10 +10791,12 @@ impl<'a> GraphicsPipelineShaderGroupsCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindShaderGroupIndirectCommandNV { pub group_index: u32, @@ -10254,10 +10808,12 @@ impl BindShaderGroupIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindIndexBufferIndirectCommandNV { pub buffer_address: DeviceAddress, @@ -10281,10 +10837,12 @@ impl BindIndexBufferIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindVertexBufferIndirectCommandNV { pub buffer_address: DeviceAddress, @@ -10308,10 +10866,12 @@ impl BindVertexBufferIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SetStateFlagsIndirectCommandNV { pub data: u32, @@ -10323,10 +10883,12 @@ impl SetStateFlagsIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct IndirectCommandsStreamNV { pub buffer: Buffer, @@ -10344,10 +10906,12 @@ impl IndirectCommandsStreamNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectCommandsLayoutTokenNV<'a> { pub s_type: StructureType, @@ -10465,10 +11029,12 @@ impl<'a> IndirectCommandsLayoutTokenNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectCommandsLayoutCreateInfoNV<'a> { pub s_type: StructureType, @@ -10526,10 +11092,12 @@ impl<'a> IndirectCommandsLayoutCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsInfoNV<'a> { pub s_type: StructureType, @@ -10643,10 +11211,12 @@ impl<'a> GeneratedCommandsInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsMemoryRequirementsInfoNV<'a> { pub s_type: StructureType, @@ -10702,10 +11272,12 @@ impl<'a> GeneratedCommandsMemoryRequirementsInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineIndirectDeviceAddressInfoNV<'a> { pub s_type: StructureType, @@ -10743,10 +11315,12 @@ impl<'a> PipelineIndirectDeviceAddressInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindPipelineIndirectCommandNV { pub pipeline_address: DeviceAddress, @@ -10758,10 +11332,12 @@ impl BindPipelineIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFeatures2<'a> { pub s_type: StructureType, @@ -10793,10 +11369,12 @@ impl<'a> PhysicalDeviceFeatures2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProperties2<'a> { pub s_type: StructureType, @@ -10827,10 +11405,12 @@ impl<'a> PhysicalDeviceProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FormatProperties2<'a> { pub s_type: StructureType, @@ -10861,10 +11441,12 @@ impl<'a> FormatProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageFormatProperties2<'a> { pub s_type: StructureType, @@ -10898,10 +11480,12 @@ impl<'a> ImageFormatProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageFormatInfo2<'a> { pub s_type: StructureType, @@ -10960,10 +11544,12 @@ impl<'a> PhysicalDeviceImageFormatInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyProperties2<'a> { pub s_type: StructureType, @@ -10997,10 +11583,12 @@ impl<'a> QueueFamilyProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryProperties2<'a> { pub s_type: StructureType, @@ -11031,10 +11619,12 @@ impl<'a> PhysicalDeviceMemoryProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SparseImageFormatProperties2<'a> { pub s_type: StructureType, @@ -11065,10 +11655,12 @@ impl<'a> SparseImageFormatProperties2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSparseImageFormatInfo2<'a> { pub s_type: StructureType, @@ -11127,10 +11719,12 @@ impl<'a> PhysicalDeviceSparseImageFormatInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_push_descriptor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePushDescriptorPropertiesKHR<'a> { pub s_type: StructureType, @@ -11166,10 +11760,12 @@ impl<'a> PhysicalDevicePushDescriptorPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ConformanceVersion { pub major: u8, @@ -11199,9 +11795,11 @@ impl ConformanceVersion { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDriverProperties<'a> { pub s_type: StructureType, @@ -11279,10 +11877,12 @@ impl<'a> PhysicalDeviceDriverProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_incremental_present"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentRegionsKHR<'a> { pub s_type: StructureType, @@ -11317,10 +11917,12 @@ impl<'a> PresentRegionsKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_incremental_present"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentRegionKHR<'a> { pub rectangle_count: u32, @@ -11347,10 +11949,12 @@ impl<'a> PresentRegionKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_incremental_present"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct RectLayerKHR { pub offset: Offset2D, @@ -11374,10 +11978,12 @@ impl RectLayerKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVariablePointersFeatures<'a> { pub s_type: StructureType, @@ -11420,10 +12026,12 @@ impl<'a> PhysicalDeviceVariablePointersFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ExternalMemoryProperties { pub external_memory_features: ExternalMemoryFeatureFlags, @@ -11456,10 +12064,12 @@ impl ExternalMemoryProperties { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalImageFormatInfo<'a> { pub s_type: StructureType, @@ -11494,10 +12104,12 @@ impl<'a> PhysicalDeviceExternalImageFormatInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalImageFormatProperties<'a> { pub s_type: StructureType, @@ -11532,10 +12144,12 @@ impl<'a> ExternalImageFormatProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalBufferInfo<'a> { pub s_type: StructureType, @@ -11580,10 +12194,12 @@ impl<'a> PhysicalDeviceExternalBufferInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalBufferProperties<'a> { pub s_type: StructureType, @@ -11617,10 +12233,12 @@ impl<'a> ExternalBufferProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceIDProperties<'a> { pub s_type: StructureType, @@ -11680,10 +12298,12 @@ impl<'a> PhysicalDeviceIDProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalMemoryImageCreateInfo<'a> { pub s_type: StructureType, @@ -11715,10 +12335,12 @@ impl<'a> ExternalMemoryImageCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalMemoryBufferCreateInfo<'a> { pub s_type: StructureType, @@ -11750,10 +12372,12 @@ impl<'a> ExternalMemoryBufferCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMemoryAllocateInfo<'a> { pub s_type: StructureType, @@ -11785,10 +12409,12 @@ impl<'a> ExportMemoryAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -11834,10 +12460,12 @@ impl<'a> ImportMemoryWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMemoryWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -11883,10 +12511,12 @@ impl<'a> ExportMemoryWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_external_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryZirconHandleInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -11925,10 +12555,12 @@ impl<'a> ImportMemoryZirconHandleInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_external_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryZirconHandlePropertiesFUCHSIA<'a> { pub s_type: StructureType, @@ -11959,10 +12591,12 @@ impl<'a> MemoryZirconHandlePropertiesFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_external_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryGetZirconHandleInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -12000,10 +12634,12 @@ impl<'a> MemoryGetZirconHandleInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryWin32HandlePropertiesKHR<'a> { pub s_type: StructureType, @@ -12034,10 +12670,12 @@ impl<'a> MemoryWin32HandlePropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryGetWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -12075,10 +12713,12 @@ impl<'a> MemoryGetWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryFdInfoKHR<'a> { pub s_type: StructureType, @@ -12117,10 +12757,12 @@ impl<'a> ImportMemoryFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryFdPropertiesKHR<'a> { pub s_type: StructureType, @@ -12151,10 +12793,12 @@ impl<'a> MemoryFdPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_memory_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryGetFdInfoKHR<'a> { pub s_type: StructureType, @@ -12192,10 +12836,12 @@ impl<'a> MemoryGetFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_win32_keyed_mutex"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct Win32KeyedMutexAcquireReleaseInfoKHR<'a> { pub s_type: StructureType, @@ -12265,10 +12911,12 @@ impl<'a> Win32KeyedMutexAcquireReleaseInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalSemaphoreInfo<'a> { pub s_type: StructureType, @@ -12299,10 +12947,12 @@ impl<'a> PhysicalDeviceExternalSemaphoreInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalSemaphoreProperties<'a> { pub s_type: StructureType, @@ -12356,10 +13006,12 @@ impl<'a> ExternalSemaphoreProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportSemaphoreCreateInfo<'a> { pub s_type: StructureType, @@ -12391,10 +13043,12 @@ impl<'a> ExportSemaphoreCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportSemaphoreWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -12453,10 +13107,12 @@ impl<'a> ImportSemaphoreWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportSemaphoreWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -12502,10 +13158,12 @@ impl<'a> ExportSemaphoreWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct D3D12FenceSubmitInfoKHR<'a> { pub s_type: StructureType, @@ -12550,10 +13208,12 @@ impl<'a> D3D12FenceSubmitInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreGetWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -12591,10 +13251,12 @@ impl<'a> SemaphoreGetWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportSemaphoreFdInfoKHR<'a> { pub s_type: StructureType, @@ -12646,10 +13308,12 @@ impl<'a> ImportSemaphoreFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_semaphore_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreGetFdInfoKHR<'a> { pub s_type: StructureType, @@ -12687,10 +13351,12 @@ impl<'a> SemaphoreGetFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportSemaphoreZirconHandleInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -12743,10 +13409,12 @@ impl<'a> ImportSemaphoreZirconHandleInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreGetZirconHandleInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -12784,10 +13452,12 @@ impl<'a> SemaphoreGetZirconHandleInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalFenceInfo<'a> { pub s_type: StructureType, @@ -12818,10 +13488,12 @@ impl<'a> PhysicalDeviceExternalFenceInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalFenceProperties<'a> { pub s_type: StructureType, @@ -12875,10 +13547,12 @@ impl<'a> ExternalFenceProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportFenceCreateInfo<'a> { pub s_type: StructureType, @@ -12910,10 +13584,12 @@ impl<'a> ExportFenceCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_fence_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportFenceWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -12972,10 +13648,12 @@ impl<'a> ImportFenceWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_fence_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportFenceWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -13021,10 +13699,12 @@ impl<'a> ExportFenceWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_fence_win32"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FenceGetWin32HandleInfoKHR<'a> { pub s_type: StructureType, @@ -13062,10 +13742,12 @@ impl<'a> FenceGetWin32HandleInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_fence_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportFenceFdInfoKHR<'a> { pub s_type: StructureType, @@ -13117,10 +13799,12 @@ impl<'a> ImportFenceFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_external_fence_fd"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FenceGetFdInfoKHR<'a> { pub s_type: StructureType, @@ -13158,10 +13842,12 @@ impl<'a> FenceGetFdInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiviewFeatures<'a> { pub s_type: StructureType, @@ -13208,10 +13894,12 @@ impl<'a> PhysicalDeviceMultiviewFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiviewProperties<'a> { pub s_type: StructureType, @@ -13250,10 +13938,12 @@ impl<'a> PhysicalDeviceMultiviewProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassMultiviewCreateInfo<'a> { pub s_type: StructureType, @@ -13308,10 +13998,12 @@ impl<'a> RenderPassMultiviewCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_surface_counter"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceCapabilities2EXT<'a> { pub s_type: StructureType, @@ -13418,10 +14110,12 @@ impl<'a> SurfaceCapabilities2EXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPowerInfoEXT<'a> { pub s_type: StructureType, @@ -13452,10 +14146,12 @@ impl<'a> DisplayPowerInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceEventInfoEXT<'a> { pub s_type: StructureType, @@ -13486,10 +14182,12 @@ impl<'a> DeviceEventInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayEventInfoEXT<'a> { pub s_type: StructureType, @@ -13520,10 +14218,12 @@ impl<'a> DisplayEventInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainCounterCreateInfoEXT<'a> { pub s_type: StructureType, @@ -13555,9 +14255,11 @@ impl<'a> SwapchainCounterCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceGroupProperties<'a> { pub s_type: StructureType, @@ -13614,10 +14316,12 @@ impl<'a> PhysicalDeviceGroupProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryAllocateFlagsInfo<'a> { pub s_type: StructureType, @@ -13656,10 +14360,12 @@ impl<'a> MemoryAllocateFlagsInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindBufferMemoryInfo<'a> { pub s_type: StructureType, @@ -13704,10 +14410,12 @@ impl<'a> BindBufferMemoryInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindBufferMemoryDeviceGroupInfo<'a> { pub s_type: StructureType, @@ -13742,10 +14450,12 @@ impl<'a> BindBufferMemoryDeviceGroupInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindImageMemoryInfo<'a> { pub s_type: StructureType, @@ -13790,10 +14500,12 @@ impl<'a> BindImageMemoryInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindImageMemoryDeviceGroupInfo<'a> { pub s_type: StructureType, @@ -13841,10 +14553,12 @@ impl<'a> BindImageMemoryDeviceGroupInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupRenderPassBeginInfo<'a> { pub s_type: StructureType, @@ -13887,10 +14601,12 @@ impl<'a> DeviceGroupRenderPassBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupCommandBufferBeginInfo<'a> { pub s_type: StructureType, @@ -13922,10 +14638,12 @@ impl<'a> DeviceGroupCommandBufferBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupSubmitInfo<'a> { pub s_type: StructureType, @@ -13986,10 +14704,12 @@ impl<'a> DeviceGroupSubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupBindSparseInfo<'a> { pub s_type: StructureType, @@ -14028,10 +14748,12 @@ impl<'a> DeviceGroupBindSparseInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupPresentCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -14069,10 +14791,12 @@ impl<'a> DeviceGroupPresentCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageSwapchainCreateInfoKHR<'a> { pub s_type: StructureType, @@ -14104,10 +14828,12 @@ impl<'a> ImageSwapchainCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindImageMemorySwapchainInfoKHR<'a> { pub s_type: StructureType, @@ -14146,10 +14872,12 @@ impl<'a> BindImageMemorySwapchainInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AcquireNextImageInfoKHR<'a> { pub s_type: StructureType, @@ -14208,10 +14936,12 @@ impl<'a> AcquireNextImageInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupPresentInfoKHR<'a> { pub s_type: StructureType, @@ -14253,10 +14983,12 @@ impl<'a> DeviceGroupPresentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupDeviceCreateInfo<'a> { pub s_type: StructureType, @@ -14291,10 +15023,12 @@ impl<'a> DeviceGroupDeviceCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceGroupSwapchainCreateInfoKHR<'a> { pub s_type: StructureType, @@ -14326,10 +15060,12 @@ impl<'a> DeviceGroupSwapchainCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DescriptorUpdateTemplateEntry { pub dst_binding: u32, @@ -14371,10 +15107,12 @@ impl DescriptorUpdateTemplateEntry { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorUpdateTemplateCreateInfo<'a> { pub s_type: StructureType, @@ -14453,10 +15191,12 @@ impl<'a> DescriptorUpdateTemplateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_hdr_metadata"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct XYColorEXT { pub x: f32, @@ -14474,10 +15214,12 @@ impl XYColorEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_present_id"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePresentIdFeaturesKHR<'a> { pub s_type: StructureType, @@ -14510,10 +15252,12 @@ impl<'a> PhysicalDevicePresentIdFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_present_id"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentIdKHR<'a> { pub s_type: StructureType, @@ -14548,10 +15292,12 @@ impl<'a> PresentIdKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_present_wait"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePresentWaitFeaturesKHR<'a> { pub s_type: StructureType, @@ -14584,10 +15330,12 @@ impl<'a> PhysicalDevicePresentWaitFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_hdr_metadata"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct HdrMetadataEXT<'a> { pub s_type: StructureType, @@ -14667,10 +15415,12 @@ impl<'a> HdrMetadataEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_display_native_hdr"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayNativeHdrSurfaceCapabilitiesAMD<'a> { pub s_type: StructureType, @@ -14703,10 +15453,12 @@ impl<'a> DisplayNativeHdrSurfaceCapabilitiesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_display_native_hdr"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainDisplayNativeHdrCreateInfoAMD<'a> { pub s_type: StructureType, @@ -14739,10 +15491,12 @@ impl<'a> SwapchainDisplayNativeHdrCreateInfoAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GOOGLE_display_timing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct RefreshCycleDurationGOOGLE { pub refresh_duration: u64, @@ -14754,10 +15508,12 @@ impl RefreshCycleDurationGOOGLE { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GOOGLE_display_timing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PastPresentationTimingGOOGLE { pub present_id: u32, @@ -14793,10 +15549,12 @@ impl PastPresentationTimingGOOGLE { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GOOGLE_display_timing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentTimesInfoGOOGLE<'a> { pub s_type: StructureType, @@ -14831,10 +15589,12 @@ impl<'a> PresentTimesInfoGOOGLE<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GOOGLE_display_timing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PresentTimeGOOGLE { pub present_id: u32, @@ -14852,10 +15612,12 @@ impl PresentTimeGOOGLE { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MVK_ios_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IOSSurfaceCreateInfoMVK<'a> { pub s_type: StructureType, @@ -14893,10 +15655,12 @@ impl<'a> IOSSurfaceCreateInfoMVK<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MVK_macos_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MacOSSurfaceCreateInfoMVK<'a> { pub s_type: StructureType, @@ -14934,10 +15698,12 @@ impl<'a> MacOSSurfaceCreateInfoMVK<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MetalSurfaceCreateInfoEXT<'a> { pub s_type: StructureType, @@ -14975,10 +15741,12 @@ impl<'a> MetalSurfaceCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_clip_space_w_scaling"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ViewportWScalingNV { pub xcoeff: f32, @@ -14996,10 +15764,12 @@ impl ViewportWScalingNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_clip_space_w_scaling"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportWScalingStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -15045,10 +15815,12 @@ impl<'a> PipelineViewportWScalingStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_viewport_swizzle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ViewportSwizzleNV { pub x: ViewportCoordinateSwizzleNV, @@ -15078,10 +15850,12 @@ impl ViewportSwizzleNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_viewport_swizzle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportSwizzleStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -15127,10 +15901,12 @@ impl<'a> PipelineViewportSwizzleStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_discard_rectangles"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDiscardRectanglePropertiesEXT<'a> { pub s_type: StructureType, @@ -15166,10 +15942,12 @@ impl<'a> PhysicalDeviceDiscardRectanglePropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_discard_rectangles"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineDiscardRectangleStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -15225,10 +16003,12 @@ impl<'a> PipelineDiscardRectangleStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_multiview_per_view_attributes"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX<'a> { pub s_type: StructureType, @@ -15267,10 +16047,12 @@ impl<'a> PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct InputAttachmentAspectReference { pub subpass: u32, @@ -15294,10 +16076,12 @@ impl InputAttachmentAspectReference { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassInputAttachmentAspectCreateInfo<'a> { pub s_type: StructureType, @@ -15336,10 +16120,12 @@ impl<'a> RenderPassInputAttachmentAspectCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSurfaceInfo2KHR<'a> { pub s_type: StructureType, @@ -15370,10 +16156,12 @@ impl<'a> PhysicalDeviceSurfaceInfo2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceCapabilities2KHR<'a> { pub s_type: StructureType, @@ -15404,10 +16192,12 @@ impl<'a> SurfaceCapabilities2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceFormat2KHR<'a> { pub s_type: StructureType, @@ -15438,10 +16228,12 @@ impl<'a> SurfaceFormat2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_display_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayProperties2KHR<'a> { pub s_type: StructureType, @@ -15472,10 +16264,12 @@ impl<'a> DisplayProperties2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_display_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPlaneProperties2KHR<'a> { pub s_type: StructureType, @@ -15509,10 +16303,12 @@ impl<'a> DisplayPlaneProperties2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_display_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayModeProperties2KHR<'a> { pub s_type: StructureType, @@ -15546,10 +16342,12 @@ impl<'a> DisplayModeProperties2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_display_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPlaneInfo2KHR<'a> { pub s_type: StructureType, @@ -15587,10 +16385,12 @@ impl<'a> DisplayPlaneInfo2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_get_display_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DisplayPlaneCapabilities2KHR<'a> { pub s_type: StructureType, @@ -15621,10 +16421,12 @@ impl<'a> DisplayPlaneCapabilities2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shared_presentable_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SharedPresentSurfaceCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -15659,10 +16461,12 @@ impl<'a> SharedPresentSurfaceCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevice16BitStorageFeatures<'a> { pub s_type: StructureType, @@ -15720,10 +16524,12 @@ impl<'a> PhysicalDevice16BitStorageFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubgroupProperties<'a> { pub s_type: StructureType, @@ -15776,10 +16582,12 @@ impl<'a> PhysicalDeviceSubgroupProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderSubgroupExtendedTypesFeatures<'a> { pub s_type: StructureType, @@ -15819,10 +16627,12 @@ impl<'a> PhysicalDeviceShaderSubgroupExtendedTypesFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferMemoryRequirementsInfo2<'a> { pub s_type: StructureType, @@ -15853,10 +16663,12 @@ impl<'a> BufferMemoryRequirementsInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceBufferMemoryRequirements<'a> { pub s_type: StructureType, @@ -15887,10 +16699,12 @@ impl<'a> DeviceBufferMemoryRequirements<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageMemoryRequirementsInfo2<'a> { pub s_type: StructureType, @@ -15921,10 +16735,12 @@ impl<'a> ImageMemoryRequirementsInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageSparseMemoryRequirementsInfo2<'a> { pub s_type: StructureType, @@ -15955,10 +16771,12 @@ impl<'a> ImageSparseMemoryRequirementsInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceImageMemoryRequirements<'a> { pub s_type: StructureType, @@ -15996,10 +16814,12 @@ impl<'a> DeviceImageMemoryRequirements<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryRequirements2<'a> { pub s_type: StructureType, @@ -16030,10 +16850,12 @@ impl<'a> MemoryRequirements2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SparseImageMemoryRequirements2<'a> { pub s_type: StructureType, @@ -16067,10 +16889,12 @@ impl<'a> SparseImageMemoryRequirements2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePointClippingProperties<'a> { pub s_type: StructureType, @@ -16105,10 +16929,12 @@ impl<'a> PhysicalDevicePointClippingProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryDedicatedRequirements<'a> { pub s_type: StructureType, @@ -16147,10 +16973,12 @@ impl<'a> MemoryDedicatedRequirements<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryDedicatedAllocateInfo<'a> { pub s_type: StructureType, @@ -16189,10 +17017,12 @@ impl<'a> MemoryDedicatedAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewUsageCreateInfo<'a> { pub s_type: StructureType, @@ -16224,10 +17054,12 @@ impl<'a> ImageViewUsageCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_sliced_view_of_3d"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewSlicedCreateInfoEXT<'a> { pub s_type: StructureType, @@ -16266,10 +17098,12 @@ impl<'a> ImageViewSlicedCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineTessellationDomainOriginStateCreateInfo<'a> { pub s_type: StructureType, @@ -16305,10 +17139,12 @@ impl<'a> PipelineTessellationDomainOriginStateCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerYcbcrConversionInfo<'a> { pub s_type: StructureType, @@ -16341,10 +17177,12 @@ impl<'a> SamplerYcbcrConversionInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerYcbcrConversionCreateInfo<'a> { pub s_type: StructureType, @@ -16424,10 +17262,12 @@ impl<'a> SamplerYcbcrConversionCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindImagePlaneMemoryInfo<'a> { pub s_type: StructureType, @@ -16459,10 +17299,12 @@ impl<'a> BindImagePlaneMemoryInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImagePlaneMemoryRequirementsInfo<'a> { pub s_type: StructureType, @@ -16494,10 +17336,12 @@ impl<'a> ImagePlaneMemoryRequirementsInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSamplerYcbcrConversionFeatures<'a> { pub s_type: StructureType, @@ -16534,10 +17378,12 @@ impl<'a> PhysicalDeviceSamplerYcbcrConversionFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerYcbcrConversionImageFormatProperties<'a> { pub s_type: StructureType, @@ -16576,10 +17422,12 @@ impl<'a> SamplerYcbcrConversionImageFormatProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_texture_gather_bias_lod"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct TextureLODGatherFormatPropertiesAMD<'a> { pub s_type: StructureType, @@ -16614,10 +17462,12 @@ impl<'a> TextureLODGatherFormatPropertiesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conditional_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ConditionalRenderingBeginInfoEXT<'a> { pub s_type: StructureType, @@ -16662,10 +17512,12 @@ impl<'a> ConditionalRenderingBeginInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ProtectedSubmitInfo<'a> { pub s_type: StructureType, @@ -16697,10 +17549,12 @@ impl<'a> ProtectedSubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProtectedMemoryFeatures<'a> { pub s_type: StructureType, @@ -16733,10 +17587,12 @@ impl<'a> PhysicalDeviceProtectedMemoryFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProtectedMemoryProperties<'a> { pub s_type: StructureType, @@ -16769,10 +17625,12 @@ impl<'a> PhysicalDeviceProtectedMemoryProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceQueueInfo2<'a> { pub s_type: StructureType, @@ -16817,10 +17675,12 @@ impl<'a> DeviceQueueInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_coverage_to_color"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCoverageToColorStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -16870,10 +17730,12 @@ impl<'a> PipelineCoverageToColorStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSamplerFilterMinmaxProperties<'a> { pub s_type: StructureType, @@ -16922,10 +17784,12 @@ impl<'a> PhysicalDeviceSamplerFilterMinmaxProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SampleLocationEXT { pub x: f32, @@ -16943,10 +17807,12 @@ impl SampleLocationEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SampleLocationsInfoEXT<'a> { pub s_type: StructureType, @@ -16999,10 +17865,12 @@ impl<'a> SampleLocationsInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AttachmentSampleLocationsEXT<'a> { pub attachment_index: u32, @@ -17024,10 +17892,12 @@ impl<'a> AttachmentSampleLocationsEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SubpassSampleLocationsEXT<'a> { pub subpass_index: u32, @@ -17049,10 +17919,12 @@ impl<'a> SubpassSampleLocationsEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassSampleLocationsBeginInfoEXT<'a> { pub s_type: StructureType, @@ -17105,10 +17977,12 @@ impl<'a> RenderPassSampleLocationsBeginInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineSampleLocationsStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -17154,10 +18028,12 @@ impl<'a> PipelineSampleLocationsStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSampleLocationsPropertiesEXT<'a> { pub s_type: StructureType, @@ -17230,10 +18106,12 @@ impl<'a> PhysicalDeviceSampleLocationsPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_sample_locations"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MultisamplePropertiesEXT<'a> { pub s_type: StructureType, @@ -17267,10 +18145,12 @@ impl<'a> MultisamplePropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerReductionModeCreateInfo<'a> { pub s_type: StructureType, @@ -17302,10 +18182,12 @@ impl<'a> SamplerReductionModeCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT<'a> { pub s_type: StructureType, @@ -17345,10 +18227,12 @@ impl<'a> PhysicalDeviceBlendOperationAdvancedFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multi_draw"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiDrawFeaturesEXT<'a> { pub s_type: StructureType, @@ -17381,10 +18265,12 @@ impl<'a> PhysicalDeviceMultiDrawFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT<'a> { pub s_type: StructureType, @@ -17472,10 +18358,12 @@ impl<'a> PhysicalDeviceBlendOperationAdvancedPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineColorBlendAdvancedStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -17525,10 +18413,12 @@ impl<'a> PipelineColorBlendAdvancedStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceInlineUniformBlockFeatures<'a> { pub s_type: StructureType, @@ -17573,10 +18463,12 @@ impl<'a> PhysicalDeviceInlineUniformBlockFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceInlineUniformBlockProperties<'a> { pub s_type: StructureType, @@ -17655,10 +18547,12 @@ impl<'a> PhysicalDeviceInlineUniformBlockProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteDescriptorSetInlineUniformBlock<'a> { pub s_type: StructureType, @@ -17693,10 +18587,12 @@ impl<'a> WriteDescriptorSetInlineUniformBlock<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorPoolInlineUniformBlockCreateInfo<'a> { pub s_type: StructureType, @@ -17735,10 +18631,12 @@ impl<'a> DescriptorPoolInlineUniformBlockCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_framebuffer_mixed_samples"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCoverageModulationStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -17804,10 +18702,12 @@ impl<'a> PipelineCoverageModulationStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageFormatListCreateInfo<'a> { pub s_type: StructureType, @@ -17844,10 +18744,12 @@ impl<'a> ImageFormatListCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_cache"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ValidationCacheCreateInfoEXT<'a> { pub s_type: StructureType, @@ -17888,10 +18790,12 @@ impl<'a> ValidationCacheCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_cache"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShaderModuleValidationCacheCreateInfoEXT<'a> { pub s_type: StructureType, @@ -17928,10 +18832,12 @@ impl<'a> ShaderModuleValidationCacheCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance3Properties<'a> { pub s_type: StructureType, @@ -17970,10 +18876,12 @@ impl<'a> PhysicalDeviceMaintenance3Properties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance4Features<'a> { pub s_type: StructureType, @@ -18006,10 +18914,12 @@ impl<'a> PhysicalDeviceMaintenance4Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance4Properties<'a> { pub s_type: StructureType, @@ -18041,10 +18951,12 @@ impl<'a> PhysicalDeviceMaintenance4Properties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance5FeaturesKHR<'a> { pub s_type: StructureType, @@ -18077,10 +18989,12 @@ impl<'a> PhysicalDeviceMaintenance5FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance5PropertiesKHR<'a> { pub s_type: StructureType, @@ -18167,10 +19081,12 @@ impl<'a> PhysicalDeviceMaintenance5PropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance6FeaturesKHR<'a> { pub s_type: StructureType, @@ -18203,10 +19119,12 @@ impl<'a> PhysicalDeviceMaintenance6FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance6PropertiesKHR<'a> { pub s_type: StructureType, @@ -18265,10 +19183,12 @@ impl<'a> PhysicalDeviceMaintenance6PropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance7FeaturesKHR<'a> { pub s_type: StructureType, @@ -18301,10 +19221,12 @@ impl<'a> PhysicalDeviceMaintenance7FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMaintenance7PropertiesKHR<'a> { pub s_type: StructureType, @@ -18417,10 +19339,12 @@ impl<'a> PhysicalDeviceMaintenance7PropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLayeredApiPropertiesListKHR<'a> { pub s_type: StructureType, @@ -18462,9 +19386,11 @@ impl<'a> PhysicalDeviceLayeredApiPropertiesListKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLayeredApiPropertiesKHR<'a> { pub s_type: StructureType, @@ -18535,10 +19461,12 @@ impl<'a> PhysicalDeviceLayeredApiPropertiesKHR<'a> { wrap_c_str_slice_until_nul(&self.device_name) } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLayeredApiVulkanPropertiesKHR<'a> { pub s_type: StructureType, @@ -18574,10 +19502,12 @@ impl<'a> PhysicalDeviceLayeredApiVulkanPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingAreaInfoKHR<'a> { pub s_type: StructureType, @@ -18632,10 +19562,12 @@ impl<'a> RenderingAreaInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetLayoutSupport<'a> { pub s_type: StructureType, @@ -18666,10 +19598,12 @@ impl<'a> DescriptorSetLayoutSupport<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderDrawParametersFeatures<'a> { pub s_type: StructureType, @@ -18706,10 +19640,12 @@ impl<'a> PhysicalDeviceShaderDrawParametersFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderFloat16Int8Features<'a> { pub s_type: StructureType, @@ -18750,10 +19686,12 @@ impl<'a> PhysicalDeviceShaderFloat16Int8Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFloatControlsProperties<'a> { pub s_type: StructureType, @@ -18942,10 +19880,12 @@ impl<'a> PhysicalDeviceFloatControlsProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceHostQueryResetFeatures<'a> { pub s_type: StructureType, @@ -18978,10 +19918,12 @@ impl<'a> PhysicalDeviceHostQueryResetFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_native_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct NativeBufferUsage2ANDROID { pub consumer: u64, @@ -18999,10 +19941,12 @@ impl NativeBufferUsage2ANDROID { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_native_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct NativeBufferANDROID<'a> { pub s_type: StructureType, @@ -19061,10 +20005,12 @@ impl<'a> NativeBufferANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_native_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainImageCreateInfoANDROID<'a> { pub s_type: StructureType, @@ -19095,10 +20041,12 @@ impl<'a> SwapchainImageCreateInfoANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_native_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePresentationPropertiesANDROID<'a> { pub s_type: StructureType, @@ -19130,10 +20078,12 @@ impl<'a> PhysicalDevicePresentationPropertiesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_info"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ShaderResourceUsageAMD { pub num_used_vgprs: u32, @@ -19169,10 +20119,12 @@ impl ShaderResourceUsageAMD { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_info"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShaderStatisticsInfoAMD { pub shader_stage_mask: ShaderStageFlags, @@ -19234,10 +20186,12 @@ impl ShaderStatisticsInfoAMD { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_global_priority"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceQueueGlobalPriorityCreateInfoKHR<'a> { pub s_type: StructureType, @@ -19270,10 +20224,12 @@ impl<'a> DeviceQueueGlobalPriorityCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_global_priority"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceGlobalPriorityQueryFeaturesKHR<'a> { pub s_type: StructureType, @@ -19310,9 +20266,11 @@ impl<'a> PhysicalDeviceGlobalPriorityQueryFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_global_priority"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyGlobalPriorityPropertiesKHR<'a> { pub s_type: StructureType, @@ -19363,10 +20321,12 @@ impl<'a> QueueFamilyGlobalPriorityPropertiesKHR<'a> { &self.priorities[..self.priority_count as _] } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugUtilsObjectNameInfoEXT<'a> { pub s_type: StructureType, @@ -19416,10 +20376,12 @@ impl<'a> DebugUtilsObjectNameInfoEXT<'a> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugUtilsObjectTagInfoEXT<'a> { pub s_type: StructureType, @@ -19470,10 +20432,12 @@ impl<'a> DebugUtilsObjectTagInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugUtilsLabelEXT<'a> { pub s_type: StructureType, @@ -19519,9 +20483,11 @@ impl<'a> DebugUtilsLabelEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugUtilsMessengerCreateInfoEXT<'a> { pub s_type: StructureType, @@ -19601,10 +20567,12 @@ impl<'a> DebugUtilsMessengerCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_utils"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DebugUtilsMessengerCallbackDataEXT<'a> { pub s_type: StructureType, @@ -19702,10 +20670,12 @@ impl<'a> DebugUtilsMessengerCallbackDataEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceMemoryReportFeaturesEXT<'a> { pub s_type: StructureType, @@ -19742,9 +20712,11 @@ impl<'a> PhysicalDeviceDeviceMemoryReportFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceDeviceMemoryReportCreateInfoEXT<'a> { pub s_type: StructureType, @@ -19809,10 +20781,12 @@ impl<'a> DeviceDeviceMemoryReportCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceMemoryReportCallbackDataEXT<'a> { pub s_type: StructureType, @@ -19881,10 +20855,12 @@ impl<'a> DeviceMemoryReportCallbackDataEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_external_memory_host"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryHostPointerInfoEXT<'a> { pub s_type: StructureType, @@ -19923,10 +20899,12 @@ impl<'a> ImportMemoryHostPointerInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_external_memory_host"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryHostPointerPropertiesEXT<'a> { pub s_type: StructureType, @@ -19957,10 +20935,12 @@ impl<'a> MemoryHostPointerPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_external_memory_host"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalMemoryHostPropertiesEXT<'a> { pub s_type: StructureType, @@ -19999,10 +20979,12 @@ impl<'a> PhysicalDeviceExternalMemoryHostPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conservative_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceConservativeRasterizationPropertiesEXT<'a> { pub s_type: StructureType, @@ -20116,10 +21098,12 @@ impl<'a> PhysicalDeviceConservativeRasterizationPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_calibrated_timestamps"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CalibratedTimestampInfoKHR<'a> { pub s_type: StructureType, @@ -20150,10 +21134,12 @@ impl<'a> CalibratedTimestampInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_core_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderCorePropertiesAMD<'a> { pub s_type: StructureType, @@ -20276,10 +21262,12 @@ impl<'a> PhysicalDeviceShaderCorePropertiesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_core_properties2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderCoreProperties2AMD<'a> { pub s_type: StructureType, @@ -20322,10 +21310,12 @@ impl<'a> PhysicalDeviceShaderCoreProperties2AMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conservative_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationConservativeStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -20381,10 +21371,12 @@ impl<'a> PipelineRasterizationConservativeStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorIndexingFeatures<'a> { pub s_type: StructureType, @@ -20626,10 +21618,12 @@ impl<'a> PhysicalDeviceDescriptorIndexingFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorIndexingProperties<'a> { pub s_type: StructureType, @@ -20905,10 +21899,12 @@ impl<'a> PhysicalDeviceDescriptorIndexingProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetLayoutBindingFlagsCreateInfo<'a> { pub s_type: StructureType, @@ -20947,10 +21943,12 @@ impl<'a> DescriptorSetLayoutBindingFlagsCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetVariableDescriptorCountAllocateInfo<'a> { pub s_type: StructureType, @@ -20989,10 +21987,12 @@ impl<'a> DescriptorSetVariableDescriptorCountAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetVariableDescriptorCountLayoutSupport<'a> { pub s_type: StructureType, @@ -21028,10 +22028,12 @@ impl<'a> DescriptorSetVariableDescriptorCountLayoutSupport<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AttachmentDescription2<'a> { pub s_type: StructureType, @@ -21118,10 +22120,12 @@ impl<'a> AttachmentDescription2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AttachmentReference2<'a> { pub s_type: StructureType, @@ -21166,10 +22170,12 @@ impl<'a> AttachmentReference2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassDescription2<'a> { pub s_type: StructureType, @@ -21265,10 +22271,12 @@ impl<'a> SubpassDescription2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassDependency2<'a> { pub s_type: StructureType, @@ -21348,10 +22356,12 @@ impl<'a> SubpassDependency2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassCreateInfo2<'a> { pub s_type: StructureType, @@ -21422,10 +22432,12 @@ impl<'a> RenderPassCreateInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassBeginInfo<'a> { pub s_type: StructureType, @@ -21456,10 +22468,12 @@ impl<'a> SubpassBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassEndInfo<'a> { pub s_type: StructureType, @@ -21482,10 +22496,12 @@ unsafe impl<'a> TaggedStructure<'a> for SubpassEndInfo<'a> { const STRUCTURE_TYPE: StructureType = StructureType::SUBPASS_END_INFO; } impl<'a> SubpassEndInfo<'a> {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTimelineSemaphoreFeatures<'a> { pub s_type: StructureType, @@ -21519,10 +22535,12 @@ impl<'a> PhysicalDeviceTimelineSemaphoreFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTimelineSemaphoreProperties<'a> { pub s_type: StructureType, @@ -21561,10 +22579,12 @@ impl<'a> PhysicalDeviceTimelineSemaphoreProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreTypeCreateInfo<'a> { pub s_type: StructureType, @@ -21604,10 +22624,12 @@ impl<'a> SemaphoreTypeCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct TimelineSemaphoreSubmitInfo<'a> { pub s_type: StructureType, @@ -21653,10 +22675,12 @@ impl<'a> TimelineSemaphoreSubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreWaitInfo<'a> { pub s_type: StructureType, @@ -21705,10 +22729,12 @@ impl<'a> SemaphoreWaitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreSignalInfo<'a> { pub s_type: StructureType, @@ -21746,10 +22772,12 @@ impl<'a> SemaphoreSignalInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_vertex_attribute_divisor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VertexInputBindingDivisorDescriptionKHR { pub binding: u32, @@ -21767,10 +22795,12 @@ impl VertexInputBindingDivisorDescriptionKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_vertex_attribute_divisor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineVertexInputDivisorStateCreateInfoKHR<'a> { pub s_type: StructureType, @@ -21812,10 +22842,12 @@ impl<'a> PipelineVertexInputDivisorStateCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_vertex_attribute_divisor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT<'a> { pub s_type: StructureType, @@ -21851,10 +22883,12 @@ impl<'a> PhysicalDeviceVertexAttributeDivisorPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_vertex_attribute_divisor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVertexAttributeDivisorPropertiesKHR<'a> { pub s_type: StructureType, @@ -21900,10 +22934,12 @@ impl<'a> PhysicalDeviceVertexAttributeDivisorPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pci_bus_info"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePCIBusInfoPropertiesEXT<'a> { pub s_type: StructureType, @@ -21957,10 +22993,12 @@ impl<'a> PhysicalDevicePCIBusInfoPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportAndroidHardwareBufferInfoANDROID<'a> { pub s_type: StructureType, @@ -21993,10 +23031,12 @@ impl<'a> ImportAndroidHardwareBufferInfoANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidHardwareBufferUsageANDROID<'a> { pub s_type: StructureType, @@ -22028,10 +23068,12 @@ impl<'a> AndroidHardwareBufferUsageANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidHardwareBufferPropertiesANDROID<'a> { pub s_type: StructureType, @@ -22069,10 +23111,12 @@ impl<'a> AndroidHardwareBufferPropertiesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryGetAndroidHardwareBufferInfoANDROID<'a> { pub s_type: StructureType, @@ -22104,10 +23148,12 @@ impl<'a> MemoryGetAndroidHardwareBufferInfoANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidHardwareBufferFormatPropertiesANDROID<'a> { pub s_type: StructureType, @@ -22198,10 +23244,12 @@ impl<'a> AndroidHardwareBufferFormatPropertiesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conditional_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferInheritanceConditionalRenderingInfoEXT<'a> { pub s_type: StructureType, @@ -22237,10 +23285,12 @@ impl<'a> CommandBufferInheritanceConditionalRenderingInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalFormatANDROID<'a> { pub s_type: StructureType, @@ -22276,10 +23326,12 @@ impl<'a> ExternalFormatANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevice8BitStorageFeatures<'a> { pub s_type: StructureType, @@ -22329,10 +23381,12 @@ impl<'a> PhysicalDevice8BitStorageFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conditional_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceConditionalRenderingFeaturesEXT<'a> { pub s_type: StructureType, @@ -22379,10 +23433,12 @@ impl<'a> PhysicalDeviceConditionalRenderingFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkanMemoryModelFeatures<'a> { pub s_type: StructureType, @@ -22437,10 +23493,12 @@ impl<'a> PhysicalDeviceVulkanMemoryModelFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderAtomicInt64Features<'a> { pub s_type: StructureType, @@ -22481,10 +23539,12 @@ impl<'a> PhysicalDeviceShaderAtomicInt64Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_atomic_float"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderAtomicFloatFeaturesEXT<'a> { pub s_type: StructureType, @@ -22616,10 +23676,12 @@ impl<'a> PhysicalDeviceShaderAtomicFloatFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_atomic_float2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderAtomicFloat2FeaturesEXT<'a> { pub s_type: StructureType, @@ -22763,10 +23825,12 @@ impl<'a> PhysicalDeviceShaderAtomicFloat2FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_vertex_attribute_divisor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVertexAttributeDivisorFeaturesKHR<'a> { pub s_type: StructureType, @@ -22817,10 +23881,12 @@ impl<'a> PhysicalDeviceVertexAttributeDivisorFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_diagnostic_checkpoints"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyCheckpointPropertiesNV<'a> { pub s_type: StructureType, @@ -22855,10 +23921,12 @@ impl<'a> QueueFamilyCheckpointPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_diagnostic_checkpoints"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CheckpointDataNV<'a> { pub s_type: StructureType, @@ -22896,10 +23964,12 @@ impl<'a> CheckpointDataNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthStencilResolveProperties<'a> { pub s_type: StructureType, @@ -22962,10 +24032,12 @@ impl<'a> PhysicalDeviceDepthStencilResolveProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassDescriptionDepthStencilResolve<'a> { pub s_type: StructureType, @@ -23014,10 +24086,12 @@ impl<'a> SubpassDescriptionDepthStencilResolve<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_astc_decode_mode"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewASTCDecodeModeEXT<'a> { pub s_type: StructureType, @@ -23049,10 +24123,12 @@ impl<'a> ImageViewASTCDecodeModeEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_astc_decode_mode"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceASTCDecodeFeaturesEXT<'a> { pub s_type: StructureType, @@ -23085,10 +24161,12 @@ impl<'a> PhysicalDeviceASTCDecodeFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_transform_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTransformFeedbackFeaturesEXT<'a> { pub s_type: StructureType, @@ -23132,10 +24210,12 @@ impl<'a> PhysicalDeviceTransformFeedbackFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_transform_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTransformFeedbackPropertiesEXT<'a> { pub s_type: StructureType, @@ -23254,10 +24334,12 @@ impl<'a> PhysicalDeviceTransformFeedbackPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_transform_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationStateStreamCreateInfoEXT<'a> { pub s_type: StructureType, @@ -23300,10 +24382,12 @@ impl<'a> PipelineRasterizationStateStreamCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_representative_fragment_test"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRepresentativeFragmentTestFeaturesNV<'a> { pub s_type: StructureType, @@ -23343,10 +24427,12 @@ impl<'a> PhysicalDeviceRepresentativeFragmentTestFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_representative_fragment_test"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRepresentativeFragmentTestStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -23385,10 +24471,12 @@ impl<'a> PipelineRepresentativeFragmentTestStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_scissor_exclusive"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExclusiveScissorFeaturesNV<'a> { pub s_type: StructureType, @@ -23422,10 +24510,12 @@ impl<'a> PhysicalDeviceExclusiveScissorFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_scissor_exclusive"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportExclusiveScissorStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -23464,10 +24554,12 @@ impl<'a> PipelineViewportExclusiveScissorStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_corner_sampled_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCornerSampledImageFeaturesNV<'a> { pub s_type: StructureType, @@ -23504,10 +24596,12 @@ impl<'a> PhysicalDeviceCornerSampledImageFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_compute_shader_derivatives"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceComputeShaderDerivativesFeaturesKHR<'a> { pub s_type: StructureType, @@ -23557,10 +24651,12 @@ impl<'a> PhysicalDeviceComputeShaderDerivativesFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_compute_shader_derivatives"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceComputeShaderDerivativesPropertiesKHR<'a> { pub s_type: StructureType, @@ -23599,10 +24695,12 @@ impl<'a> PhysicalDeviceComputeShaderDerivativesPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shader_image_footprint"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderImageFootprintFeaturesNV<'a> { pub s_type: StructureType, @@ -23639,10 +24737,12 @@ impl<'a> PhysicalDeviceShaderImageFootprintFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_dedicated_allocation_image_aliasing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV<'a> { pub s_type: StructureType, @@ -23687,10 +24787,12 @@ impl<'a> PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCopyMemoryIndirectFeaturesNV<'a> { pub s_type: StructureType, @@ -23727,10 +24829,12 @@ impl<'a> PhysicalDeviceCopyMemoryIndirectFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCopyMemoryIndirectPropertiesNV<'a> { pub s_type: StructureType, @@ -23766,10 +24870,12 @@ impl<'a> PhysicalDeviceCopyMemoryIndirectPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_memory_decompression"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryDecompressionFeaturesNV<'a> { pub s_type: StructureType, @@ -23806,10 +24912,12 @@ impl<'a> PhysicalDeviceMemoryDecompressionFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_memory_decompression"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryDecompressionPropertiesNV<'a> { pub s_type: StructureType, @@ -23858,10 +24966,12 @@ impl<'a> PhysicalDeviceMemoryDecompressionPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShadingRatePaletteNV<'a> { pub shading_rate_palette_entry_count: u32, @@ -23891,10 +25001,12 @@ impl<'a> ShadingRatePaletteNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportShadingRateImageStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -23943,10 +25055,12 @@ impl<'a> PipelineViewportShadingRateImageStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShadingRateImageFeaturesNV<'a> { pub s_type: StructureType, @@ -23990,10 +25104,12 @@ impl<'a> PhysicalDeviceShadingRateImageFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShadingRateImagePropertiesNV<'a> { pub s_type: StructureType, @@ -24043,10 +25159,12 @@ impl<'a> PhysicalDeviceShadingRateImagePropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_invocation_mask"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceInvocationMaskFeaturesHUAWEI<'a> { pub s_type: StructureType, @@ -24083,10 +25201,12 @@ impl<'a> PhysicalDeviceInvocationMaskFeaturesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct CoarseSampleLocationNV { pub pixel_x: u32, @@ -24110,10 +25230,12 @@ impl CoarseSampleLocationNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CoarseSampleOrderCustomNV<'a> { pub shading_rate: ShadingRatePaletteEntryNV, @@ -24154,10 +25276,12 @@ impl<'a> CoarseSampleOrderCustomNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportCoarseSampleOrderStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -24206,10 +25330,12 @@ impl<'a> PipelineViewportCoarseSampleOrderStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMeshShaderFeaturesNV<'a> { pub s_type: StructureType, @@ -24249,10 +25375,12 @@ impl<'a> PhysicalDeviceMeshShaderFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMeshShaderPropertiesNV<'a> { pub s_type: StructureType, @@ -24374,10 +25502,12 @@ impl<'a> PhysicalDeviceMeshShaderPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrawMeshTasksIndirectCommandNV { pub task_count: u32, @@ -24395,10 +25525,12 @@ impl DrawMeshTasksIndirectCommandNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMeshShaderFeaturesEXT<'a> { pub s_type: StructureType, @@ -24463,10 +25595,12 @@ impl<'a> PhysicalDeviceMeshShaderFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMeshShaderPropertiesEXT<'a> { pub s_type: StructureType, @@ -24718,10 +25852,12 @@ impl<'a> PhysicalDeviceMeshShaderPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mesh_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrawMeshTasksIndirectCommandEXT { pub group_count_x: u32, @@ -24745,10 +25881,12 @@ impl DrawMeshTasksIndirectCommandEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RayTracingShaderGroupCreateInfoNV<'a> { pub s_type: StructureType, @@ -24807,10 +25945,12 @@ impl<'a> RayTracingShaderGroupCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RayTracingShaderGroupCreateInfoKHR<'a> { pub s_type: StructureType, @@ -24879,10 +26019,12 @@ impl<'a> RayTracingShaderGroupCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RayTracingPipelineCreateInfoNV<'a> { pub s_type: StructureType, @@ -24961,10 +26103,12 @@ impl<'a> RayTracingPipelineCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RayTracingPipelineCreateInfoKHR<'a> { pub s_type: StructureType, @@ -25070,10 +26214,12 @@ impl<'a> RayTracingPipelineCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeometryTrianglesNV<'a> { pub s_type: StructureType, @@ -25174,10 +26320,12 @@ impl<'a> GeometryTrianglesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeometryAABBNV<'a> { pub s_type: StructureType, @@ -25229,10 +26377,12 @@ impl<'a> GeometryAABBNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct GeometryDataNV<'a> { pub triangles: GeometryTrianglesNV<'a>, @@ -25251,10 +26401,12 @@ impl<'a> GeometryDataNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeometryNV<'a> { pub s_type: StructureType, @@ -25299,10 +26451,12 @@ impl<'a> GeometryNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureInfoNV<'a> { pub s_type: StructureType, @@ -25357,10 +26511,12 @@ impl<'a> AccelerationStructureInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureCreateInfoNV<'a> { pub s_type: StructureType, @@ -25398,10 +26554,12 @@ impl<'a> AccelerationStructureCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindAccelerationStructureMemoryInfoNV<'a> { pub s_type: StructureType, @@ -25459,10 +26617,12 @@ impl<'a> BindAccelerationStructureMemoryInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteDescriptorSetAccelerationStructureKHR<'a> { pub s_type: StructureType, @@ -25501,10 +26661,12 @@ impl<'a> WriteDescriptorSetAccelerationStructureKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteDescriptorSetAccelerationStructureNV<'a> { pub s_type: StructureType, @@ -25543,10 +26705,12 @@ impl<'a> WriteDescriptorSetAccelerationStructureNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureMemoryRequirementsInfoNV<'a> { pub s_type: StructureType, @@ -25588,10 +26752,12 @@ impl<'a> AccelerationStructureMemoryRequirementsInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAccelerationStructureFeaturesKHR<'a> { pub s_type: StructureType, @@ -25669,10 +26835,12 @@ impl<'a> PhysicalDeviceAccelerationStructureFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingPipelineFeaturesKHR<'a> { pub s_type: StructureType, @@ -25752,10 +26920,12 @@ impl<'a> PhysicalDeviceRayTracingPipelineFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayQueryFeaturesKHR<'a> { pub s_type: StructureType, @@ -25788,10 +26958,12 @@ impl<'a> PhysicalDeviceRayQueryFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAccelerationStructurePropertiesKHR<'a> { pub s_type: StructureType, @@ -25896,10 +27068,12 @@ impl<'a> PhysicalDeviceAccelerationStructurePropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingPipelinePropertiesKHR<'a> { pub s_type: StructureType, @@ -25990,10 +27164,12 @@ impl<'a> PhysicalDeviceRayTracingPipelinePropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingPropertiesNV<'a> { pub s_type: StructureType, @@ -26078,10 +27254,12 @@ impl<'a> PhysicalDeviceRayTracingPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct StridedDeviceAddressRegionKHR { pub device_address: DeviceAddress, @@ -26105,10 +27283,12 @@ impl StridedDeviceAddressRegionKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct TraceRaysIndirectCommandKHR { pub width: u32, @@ -26132,10 +27312,12 @@ impl TraceRaysIndirectCommandKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct TraceRaysIndirectCommand2KHR { pub raygen_shader_record_address: DeviceAddress, @@ -26255,10 +27437,12 @@ impl TraceRaysIndirectCommand2KHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingMaintenance1FeaturesKHR<'a> { pub s_type: StructureType, @@ -26306,10 +27490,12 @@ impl<'a> PhysicalDeviceRayTracingMaintenance1FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DrmFormatModifierPropertiesListEXT<'a> { pub s_type: StructureType, @@ -26347,10 +27533,12 @@ impl<'a> DrmFormatModifierPropertiesListEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrmFormatModifierPropertiesEXT { pub drm_format_modifier: u64, @@ -26377,10 +27565,12 @@ impl DrmFormatModifierPropertiesEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageDrmFormatModifierInfoEXT<'a> { pub s_type: StructureType, @@ -26433,10 +27623,12 @@ impl<'a> PhysicalDeviceImageDrmFormatModifierInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageDrmFormatModifierListCreateInfoEXT<'a> { pub s_type: StructureType, @@ -26472,10 +27664,12 @@ impl<'a> ImageDrmFormatModifierListCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageDrmFormatModifierExplicitCreateInfoEXT<'a> { pub s_type: StructureType, @@ -26518,10 +27712,12 @@ impl<'a> ImageDrmFormatModifierExplicitCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageDrmFormatModifierPropertiesEXT<'a> { pub s_type: StructureType, @@ -26552,10 +27748,12 @@ impl<'a> ImageDrmFormatModifierPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageStencilUsageCreateInfo<'a> { pub s_type: StructureType, @@ -26588,10 +27786,12 @@ impl<'a> ImageStencilUsageCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_memory_overallocation_behavior"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceMemoryOverallocationCreateInfoAMD<'a> { pub s_type: StructureType, @@ -26627,10 +27827,12 @@ impl<'a> DeviceMemoryOverallocationCreateInfoAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_density_map"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMapFeaturesEXT<'a> { pub s_type: StructureType, @@ -26685,10 +27887,12 @@ impl<'a> PhysicalDeviceFragmentDensityMapFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_density_map2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMap2FeaturesEXT<'a> { pub s_type: StructureType, @@ -26725,10 +27929,12 @@ impl<'a> PhysicalDeviceFragmentDensityMap2FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_fragment_density_map_offset"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM<'a> { pub s_type: StructureType, @@ -26768,10 +27974,12 @@ impl<'a> PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_density_map"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMapPropertiesEXT<'a> { pub s_type: StructureType, @@ -26827,10 +28035,12 @@ impl<'a> PhysicalDeviceFragmentDensityMapPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_density_map2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMap2PropertiesEXT<'a> { pub s_type: StructureType, @@ -26894,10 +28104,12 @@ impl<'a> PhysicalDeviceFragmentDensityMap2PropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_fragment_density_map_offset"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM<'a> { pub s_type: StructureType, @@ -26936,10 +28148,12 @@ impl<'a> PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_density_map"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassFragmentDensityMapCreateInfoEXT<'a> { pub s_type: StructureType, @@ -26976,10 +28190,12 @@ impl<'a> RenderPassFragmentDensityMapCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_fragment_density_map_offset"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassFragmentDensityMapOffsetEndInfoQCOM<'a> { pub s_type: StructureType, @@ -27015,10 +28231,12 @@ impl<'a> SubpassFragmentDensityMapOffsetEndInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceScalarBlockLayoutFeatures<'a> { pub s_type: StructureType, @@ -27052,10 +28270,12 @@ impl<'a> PhysicalDeviceScalarBlockLayoutFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface_protected_capabilities"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceProtectedCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -27087,10 +28307,12 @@ impl<'a> SurfaceProtectedCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceUniformBufferStandardLayoutFeatures<'a> { pub s_type: StructureType, @@ -27130,10 +28352,12 @@ impl<'a> PhysicalDeviceUniformBufferStandardLayoutFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clip_enable"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthClipEnableFeaturesEXT<'a> { pub s_type: StructureType, @@ -27167,10 +28391,12 @@ impl<'a> PhysicalDeviceDepthClipEnableFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clip_enable"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationDepthClipStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -27213,10 +28439,12 @@ impl<'a> PipelineRasterizationDepthClipStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_memory_budget"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryBudgetPropertiesEXT<'a> { pub s_type: StructureType, @@ -27259,10 +28487,12 @@ impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_memory_priority"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMemoryPriorityFeaturesEXT<'a> { pub s_type: StructureType, @@ -27296,10 +28526,12 @@ impl<'a> PhysicalDeviceMemoryPriorityFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_memory_priority"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryPriorityAllocateInfoEXT<'a> { pub s_type: StructureType, @@ -27331,10 +28563,12 @@ impl<'a> MemoryPriorityAllocateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pageable_device_local_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT<'a> { pub s_type: StructureType, @@ -27374,10 +28608,12 @@ impl<'a> PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceBufferDeviceAddressFeatures<'a> { pub s_type: StructureType, @@ -27431,10 +28667,12 @@ impl<'a> PhysicalDeviceBufferDeviceAddressFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_buffer_device_address"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceBufferDeviceAddressFeaturesEXT<'a> { pub s_type: StructureType, @@ -27491,10 +28729,12 @@ impl<'a> PhysicalDeviceBufferDeviceAddressFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferDeviceAddressInfo<'a> { pub s_type: StructureType, @@ -27525,10 +28765,12 @@ impl<'a> BufferDeviceAddressInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferOpaqueCaptureAddressCreateInfo<'a> { pub s_type: StructureType, @@ -27560,10 +28802,12 @@ impl<'a> BufferOpaqueCaptureAddressCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_buffer_device_address"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferDeviceAddressCreateInfoEXT<'a> { pub s_type: StructureType, @@ -27595,10 +28839,12 @@ impl<'a> BufferDeviceAddressCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_filter_cubic"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageViewImageFormatInfoEXT<'a> { pub s_type: StructureType, @@ -27634,10 +28880,12 @@ impl<'a> PhysicalDeviceImageViewImageFormatInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_filter_cubic"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FilterCubicImageViewImageFormatPropertiesEXT<'a> { pub s_type: StructureType, @@ -27680,10 +28928,12 @@ impl<'a> FilterCubicImageViewImageFormatPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImagelessFramebufferFeatures<'a> { pub s_type: StructureType, @@ -27720,10 +28970,12 @@ impl<'a> PhysicalDeviceImagelessFramebufferFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FramebufferAttachmentsCreateInfo<'a> { pub s_type: StructureType, @@ -27761,10 +29013,12 @@ impl<'a> FramebufferAttachmentsCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FramebufferAttachmentImageInfo<'a> { pub s_type: StructureType, @@ -27833,10 +29087,12 @@ impl<'a> FramebufferAttachmentImageInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassAttachmentBeginInfo<'a> { pub s_type: StructureType, @@ -27871,10 +29127,12 @@ impl<'a> RenderPassAttachmentBeginInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTextureCompressionASTCHDRFeatures<'a> { pub s_type: StructureType, @@ -27911,10 +29169,12 @@ impl<'a> PhysicalDeviceTextureCompressionASTCHDRFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCooperativeMatrixFeaturesNV<'a> { pub s_type: StructureType, @@ -27959,10 +29219,12 @@ impl<'a> PhysicalDeviceCooperativeMatrixFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCooperativeMatrixPropertiesNV<'a> { pub s_type: StructureType, @@ -28001,10 +29263,12 @@ impl<'a> PhysicalDeviceCooperativeMatrixPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CooperativeMatrixPropertiesNV<'a> { pub s_type: StructureType, @@ -28084,10 +29348,12 @@ impl<'a> CooperativeMatrixPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_ycbcr_image_arrays"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceYcbcrImageArraysFeaturesEXT<'a> { pub s_type: StructureType, @@ -28121,10 +29387,12 @@ impl<'a> PhysicalDeviceYcbcrImageArraysFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_image_view_handle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewHandleInfoNVX<'a> { pub s_type: StructureType, @@ -28169,10 +29437,12 @@ impl<'a> ImageViewHandleInfoNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_image_view_handle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewAddressPropertiesNVX<'a> { pub s_type: StructureType, @@ -28210,10 +29480,12 @@ impl<'a> ImageViewAddressPropertiesNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_GGP_frame_token"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PresentFrameTokenGGP<'a> { pub s_type: StructureType, @@ -28245,10 +29517,12 @@ impl<'a> PresentFrameTokenGGP<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PipelineCreationFeedback { pub flags: PipelineCreationFeedbackFlags, @@ -28266,10 +29540,12 @@ impl PipelineCreationFeedback { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCreationFeedbackCreateInfo<'a> { pub s_type: StructureType, @@ -28304,6 +29580,7 @@ unsafe impl Extends> for PipelineCreationFeedbackCreateInfo<'_> { } +#[cfg(feature = "provisional")] unsafe impl Extends> for PipelineCreationFeedbackCreateInfo<'_> { @@ -28327,10 +29604,12 @@ impl<'a> PipelineCreationFeedbackCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceFullScreenExclusiveInfoEXT<'a> { pub s_type: StructureType, @@ -28363,10 +29642,12 @@ impl<'a> SurfaceFullScreenExclusiveInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceFullScreenExclusiveWin32InfoEXT<'a> { pub s_type: StructureType, @@ -28403,10 +29684,12 @@ impl<'a> SurfaceFullScreenExclusiveWin32InfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceCapabilitiesFullScreenExclusiveEXT<'a> { pub s_type: StructureType, @@ -28442,10 +29725,12 @@ impl<'a> SurfaceCapabilitiesFullScreenExclusiveEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_present_barrier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePresentBarrierFeaturesNV<'a> { pub s_type: StructureType, @@ -28479,10 +29764,12 @@ impl<'a> PhysicalDevicePresentBarrierFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_present_barrier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfaceCapabilitiesPresentBarrierNV<'a> { pub s_type: StructureType, @@ -28514,10 +29801,12 @@ impl<'a> SurfaceCapabilitiesPresentBarrierNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_present_barrier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainPresentBarrierCreateInfoNV<'a> { pub s_type: StructureType, @@ -28549,10 +29838,12 @@ impl<'a> SwapchainPresentBarrierCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePerformanceQueryFeaturesKHR<'a> { pub s_type: StructureType, @@ -28600,10 +29891,12 @@ impl<'a> PhysicalDevicePerformanceQueryFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePerformanceQueryPropertiesKHR<'a> { pub s_type: StructureType, @@ -28642,10 +29935,12 @@ impl<'a> PhysicalDevicePerformanceQueryPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceCounterKHR<'a> { pub s_type: StructureType, @@ -28697,9 +29992,11 @@ impl<'a> PerformanceCounterKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceCounterDescriptionKHR<'a> { pub s_type: StructureType, @@ -28779,10 +30076,12 @@ impl<'a> PerformanceCounterDescriptionKHR<'a> { wrap_c_str_slice_until_nul(&self.description) } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueryPoolPerformanceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -28824,9 +30123,11 @@ impl<'a> QueryPoolPerformanceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union PerformanceCounterResultKHR { pub int32: i32, pub int64: i64, @@ -28841,10 +30142,12 @@ impl ::core::default::Default for PerformanceCounterResultKHR { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AcquireProfilingLockInfoKHR<'a> { pub s_type: StructureType, @@ -28882,10 +30185,12 @@ impl<'a> AcquireProfilingLockInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceQuerySubmitInfoKHR<'a> { pub s_type: StructureType, @@ -28918,10 +30223,12 @@ impl<'a> PerformanceQuerySubmitInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_headless_surface"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct HeadlessSurfaceCreateInfoEXT<'a> { pub s_type: StructureType, @@ -28952,10 +30259,12 @@ impl<'a> HeadlessSurfaceCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCoverageReductionModeFeaturesNV<'a> { pub s_type: StructureType, @@ -28992,10 +30301,12 @@ impl<'a> PhysicalDeviceCoverageReductionModeFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCoverageReductionStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -29041,10 +30352,12 @@ impl<'a> PipelineCoverageReductionStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FramebufferMixedSamplesCombinationNV<'a> { pub s_type: StructureType, @@ -29099,10 +30412,12 @@ impl<'a> FramebufferMixedSamplesCombinationNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_shader_integer_functions2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL<'a> { pub s_type: StructureType, @@ -29142,9 +30457,11 @@ impl<'a> PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union PerformanceValueDataINTEL { pub value32: u32, pub value64: u64, @@ -29158,9 +30475,11 @@ impl ::core::default::Default for PerformanceValueDataINTEL { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct PerformanceValueINTEL { pub ty: PerformanceValueTypeINTEL, @@ -29187,10 +30506,12 @@ impl PerformanceValueINTEL { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct InitializePerformanceApiInfoINTEL<'a> { pub s_type: StructureType, @@ -29221,10 +30542,12 @@ impl<'a> InitializePerformanceApiInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueryPoolPerformanceQueryCreateInfoINTEL<'a> { pub s_type: StructureType, @@ -29260,10 +30583,12 @@ impl<'a> QueryPoolPerformanceQueryCreateInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceMarkerInfoINTEL<'a> { pub s_type: StructureType, @@ -29294,10 +30619,12 @@ impl<'a> PerformanceMarkerInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceStreamMarkerInfoINTEL<'a> { pub s_type: StructureType, @@ -29328,10 +30655,12 @@ impl<'a> PerformanceStreamMarkerInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceOverrideInfoINTEL<'a> { pub s_type: StructureType, @@ -29376,10 +30705,12 @@ impl<'a> PerformanceOverrideInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PerformanceConfigurationAcquireInfoINTEL<'a> { pub s_type: StructureType, @@ -29411,10 +30742,12 @@ impl<'a> PerformanceConfigurationAcquireInfoINTEL<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_clock"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderClockFeaturesKHR<'a> { pub s_type: StructureType, @@ -29454,10 +30787,12 @@ impl<'a> PhysicalDeviceShaderClockFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_index_type_uint8"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceIndexTypeUint8FeaturesKHR<'a> { pub s_type: StructureType, @@ -29491,10 +30826,12 @@ impl<'a> PhysicalDeviceIndexTypeUint8FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shader_sm_builtins"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a> { pub s_type: StructureType, @@ -29537,10 +30874,12 @@ impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shader_sm_builtins"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderSMBuiltinsFeaturesNV<'a> { pub s_type: StructureType, @@ -29574,10 +30913,12 @@ impl<'a> PhysicalDeviceShaderSMBuiltinsFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_fragment_shader_interlock"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShaderInterlockFeaturesEXT<'a> { pub s_type: StructureType, @@ -29637,10 +30978,12 @@ impl<'a> PhysicalDeviceFragmentShaderInterlockFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSeparateDepthStencilLayoutsFeatures<'a> { pub s_type: StructureType, @@ -29680,10 +31023,12 @@ impl<'a> PhysicalDeviceSeparateDepthStencilLayoutsFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AttachmentReferenceStencilLayout<'a> { pub s_type: StructureType, @@ -29715,10 +31060,12 @@ impl<'a> AttachmentReferenceStencilLayout<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_primitive_topology_list_restart"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT<'a> { pub s_type: StructureType, @@ -29771,10 +31118,12 @@ impl<'a> PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AttachmentDescriptionStencilLayout<'a> { pub s_type: StructureType, @@ -29813,10 +31162,12 @@ impl<'a> AttachmentDescriptionStencilLayout<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineExecutablePropertiesFeaturesKHR<'a> { pub s_type: StructureType, @@ -29856,10 +31207,12 @@ impl<'a> PhysicalDevicePipelineExecutablePropertiesFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineInfoKHR<'a> { pub s_type: StructureType, @@ -29890,9 +31243,11 @@ impl<'a> PipelineInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineExecutablePropertiesKHR<'a> { pub s_type: StructureType, @@ -29966,10 +31321,12 @@ impl<'a> PipelineExecutablePropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineExecutableInfoKHR<'a> { pub s_type: StructureType, @@ -30007,9 +31364,11 @@ impl<'a> PipelineExecutableInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union PipelineExecutableStatisticValueKHR { pub b32: Bool32, pub i64: i64, @@ -30022,9 +31381,11 @@ impl ::core::default::Default for PipelineExecutableStatisticValueKHR { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineExecutableStatisticKHR<'a> { pub s_type: StructureType, @@ -30098,9 +31459,11 @@ impl<'a> PipelineExecutableStatisticKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineExecutableInternalRepresentationKHR<'a> { pub s_type: StructureType, @@ -30179,10 +31542,12 @@ impl<'a> PipelineExecutableInternalRepresentationKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderDemoteToHelperInvocationFeatures<'a> { pub s_type: StructureType, @@ -30225,10 +31590,12 @@ impl<'a> PhysicalDeviceShaderDemoteToHelperInvocationFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_texel_buffer_alignment"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTexelBufferAlignmentFeaturesEXT<'a> { pub s_type: StructureType, @@ -30265,10 +31632,12 @@ impl<'a> PhysicalDeviceTexelBufferAlignmentFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTexelBufferAlignmentProperties<'a> { pub s_type: StructureType, @@ -30341,10 +31710,12 @@ impl<'a> PhysicalDeviceTexelBufferAlignmentProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubgroupSizeControlFeatures<'a> { pub s_type: StructureType, @@ -30385,10 +31756,12 @@ impl<'a> PhysicalDeviceSubgroupSizeControlFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubgroupSizeControlProperties<'a> { pub s_type: StructureType, @@ -30448,10 +31821,12 @@ impl<'a> PhysicalDeviceSubgroupSizeControlProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineShaderStageRequiredSubgroupSizeCreateInfo<'a> { pub s_type: StructureType, @@ -30491,10 +31866,12 @@ impl<'a> PipelineShaderStageRequiredSubgroupSizeCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassShadingPipelineCreateInfoHUAWEI<'a> { pub s_type: StructureType, @@ -30534,10 +31911,12 @@ impl<'a> SubpassShadingPipelineCreateInfoHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubpassShadingPropertiesHUAWEI<'a> { pub s_type: StructureType, @@ -30577,10 +31956,12 @@ impl<'a> PhysicalDeviceSubpassShadingPropertiesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a> { pub s_type: StructureType, @@ -30640,10 +32021,12 @@ impl<'a> PhysicalDeviceClusterCullingShaderPropertiesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryOpaqueCaptureAddressAllocateInfo<'a> { pub s_type: StructureType, @@ -30676,10 +32059,12 @@ impl<'a> MemoryOpaqueCaptureAddressAllocateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceMemoryOpaqueCaptureAddressInfo<'a> { pub s_type: StructureType, @@ -30710,10 +32095,12 @@ impl<'a> DeviceMemoryOpaqueCaptureAddressInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_line_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLineRasterizationFeaturesKHR<'a> { pub s_type: StructureType, @@ -30785,10 +32172,12 @@ impl<'a> PhysicalDeviceLineRasterizationFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_line_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLineRasterizationPropertiesKHR<'a> { pub s_type: StructureType, @@ -30824,10 +32213,12 @@ impl<'a> PhysicalDeviceLineRasterizationPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_line_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationLineStateCreateInfoKHR<'a> { pub s_type: StructureType, @@ -30887,10 +32278,12 @@ impl<'a> PipelineRasterizationLineStateCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineCreationCacheControlFeatures<'a> { pub s_type: StructureType, @@ -30933,10 +32326,12 @@ impl<'a> PhysicalDevicePipelineCreationCacheControlFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan11Features<'a> { pub s_type: StructureType, @@ -31053,10 +32448,12 @@ impl<'a> PhysicalDeviceVulkan11Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan11Properties<'a> { pub s_type: StructureType, @@ -31198,10 +32595,12 @@ impl<'a> PhysicalDeviceVulkan11Properties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan12Features<'a> { pub s_type: StructureType, @@ -31647,9 +33046,11 @@ impl<'a> PhysicalDeviceVulkan12Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan12Properties<'a> { pub s_type: StructureType, @@ -32398,10 +33799,12 @@ impl<'a> PhysicalDeviceVulkan12Properties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan13Features<'a> { pub s_type: StructureType, @@ -32546,10 +33949,12 @@ impl<'a> PhysicalDeviceVulkan13Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVulkan13Properties<'a> { pub s_type: StructureType, @@ -32994,10 +34399,12 @@ impl<'a> PhysicalDeviceVulkan13Properties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_pipeline_compiler_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineCompilerControlCreateInfoAMD<'a> { pub s_type: StructureType, @@ -33023,6 +34430,7 @@ unsafe impl<'a> TaggedStructure<'a> for PipelineCompilerControlCreateInfoAMD<'a> } unsafe impl Extends> for PipelineCompilerControlCreateInfoAMD<'_> {} unsafe impl Extends> for PipelineCompilerControlCreateInfoAMD<'_> {} +#[cfg(feature = "provisional")] unsafe impl Extends> for PipelineCompilerControlCreateInfoAMD<'_> { @@ -33037,10 +34445,12 @@ impl<'a> PipelineCompilerControlCreateInfoAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_device_coherent_memory"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCoherentMemoryFeaturesAMD<'a> { pub s_type: StructureType, @@ -33074,9 +34484,11 @@ impl<'a> PhysicalDeviceCoherentMemoryFeaturesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceToolProperties<'a> { pub s_type: StructureType, @@ -33167,9 +34579,11 @@ impl<'a> PhysicalDeviceToolProperties<'a> { wrap_c_str_slice_until_nul(&self.layer) } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_custom_border_color"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerCustomBorderColorCreateInfoEXT<'a> { pub s_type: StructureType, @@ -33220,10 +34634,12 @@ impl<'a> SamplerCustomBorderColorCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_custom_border_color"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCustomBorderColorPropertiesEXT<'a> { pub s_type: StructureType, @@ -33262,10 +34678,12 @@ impl<'a> PhysicalDeviceCustomBorderColorPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_custom_border_color"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCustomBorderColorFeaturesEXT<'a> { pub s_type: StructureType, @@ -33312,10 +34730,12 @@ impl<'a> PhysicalDeviceCustomBorderColorFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_border_color_swizzle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerBorderColorComponentMappingCreateInfoEXT<'a> { pub s_type: StructureType, @@ -33355,10 +34775,12 @@ impl<'a> SamplerBorderColorComponentMappingCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_border_color_swizzle"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceBorderColorSwizzleFeaturesEXT<'a> { pub s_type: StructureType, @@ -33405,9 +34827,11 @@ impl<'a> PhysicalDeviceBorderColorSwizzleFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union DeviceOrHostAddressKHR { pub device_address: DeviceAddress, pub host_address: *mut c_void, @@ -33418,9 +34842,11 @@ impl ::core::default::Default for DeviceOrHostAddressKHR { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union DeviceOrHostAddressConstKHR { pub device_address: DeviceAddress, pub host_address: *const c_void, @@ -33431,22 +34857,28 @@ impl ::core::default::Default for DeviceOrHostAddressConstKHR { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union DeviceOrHostAddressConstAMDX { pub device_address: DeviceAddress, pub host_address: *const c_void, } +#[cfg(feature = "provisional")] impl ::core::default::Default for DeviceOrHostAddressConstAMDX { #[inline] fn default() -> Self { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureGeometryTrianglesDataKHR<'a> { pub s_type: StructureType, @@ -33536,9 +34968,11 @@ impl<'a> AccelerationStructureGeometryTrianglesDataKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureGeometryAabbsDataKHR<'a> { pub s_type: StructureType, @@ -33588,9 +35022,11 @@ impl<'a> AccelerationStructureGeometryAabbsDataKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureGeometryInstancesDataKHR<'a> { pub s_type: StructureType, @@ -33640,9 +35076,11 @@ impl<'a> AccelerationStructureGeometryInstancesDataKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union AccelerationStructureGeometryDataKHR<'a> { pub triangles: AccelerationStructureGeometryTrianglesDataKHR<'a>, pub aabbs: AccelerationStructureGeometryAabbsDataKHR<'a>, @@ -33654,9 +35092,11 @@ impl<'a> ::core::default::Default for AccelerationStructureGeometryDataKHR<'a> { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureGeometryKHR<'a> { pub s_type: StructureType, @@ -33713,9 +35153,11 @@ impl<'a> AccelerationStructureGeometryKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureBuildGeometryInfoKHR<'a> { pub s_type: StructureType, @@ -33833,10 +35275,12 @@ impl<'a> AccelerationStructureBuildGeometryInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AccelerationStructureBuildRangeInfoKHR { pub primitive_count: u32, @@ -33866,10 +35310,12 @@ impl AccelerationStructureBuildRangeInfoKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureCreateInfoKHR<'a> { pub s_type: StructureType, @@ -33935,10 +35381,12 @@ impl<'a> AccelerationStructureCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AabbPositionsKHR { pub min_x: f32, @@ -33980,20 +35428,26 @@ impl AabbPositionsKHR { self } } +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] pub struct TransformMatrixKHR { pub matrix: [f32; 12], } +#[doc = "Type defined by `ash` to make it easier to store a [`DeviceAddress`] or [`AccelerationStructureKHR`] in [`AccelerationStructureInstanceKHR`]."] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] pub union AccelerationStructureReferenceKHR { pub device_handle: DeviceAddress, pub host_handle: AccelerationStructureKHR, } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub struct AccelerationStructureInstanceKHR { pub transform: TransformMatrixKHR, #[doc = r" Use [`Packed24_8::new(instance_custom_index, mask)`][Packed24_8::new()] to construct this field"] @@ -34002,10 +35456,12 @@ pub struct AccelerationStructureInstanceKHR { pub instance_shader_binding_table_record_offset_and_flags: Packed24_8, pub acceleration_structure_reference: AccelerationStructureReferenceKHR, } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureDeviceAddressInfoKHR<'a> { pub s_type: StructureType, @@ -34040,10 +35496,12 @@ impl<'a> AccelerationStructureDeviceAddressInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureVersionInfoKHR<'a> { pub s_type: StructureType, @@ -34074,10 +35532,12 @@ impl<'a> AccelerationStructureVersionInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyAccelerationStructureInfoKHR<'a> { pub s_type: StructureType, @@ -34122,9 +35582,11 @@ impl<'a> CopyAccelerationStructureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyAccelerationStructureToMemoryInfoKHR<'a> { pub s_type: StructureType, @@ -34182,9 +35644,11 @@ impl<'a> CopyAccelerationStructureToMemoryInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyMemoryToAccelerationStructureInfoKHR<'a> { pub s_type: StructureType, @@ -34242,10 +35706,12 @@ impl<'a> CopyMemoryToAccelerationStructureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RayTracingPipelineInterfaceCreateInfoKHR<'a> { pub s_type: StructureType, @@ -34287,10 +35753,12 @@ impl<'a> RayTracingPipelineInterfaceCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_library"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineLibraryCreateInfoKHR<'a> { pub s_type: StructureType, @@ -34325,10 +35793,12 @@ impl<'a> PipelineLibraryCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedDynamicStateFeaturesEXT<'a> { pub s_type: StructureType, @@ -34365,10 +35835,12 @@ impl<'a> PhysicalDeviceExtendedDynamicStateFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedDynamicState2FeaturesEXT<'a> { pub s_type: StructureType, @@ -34426,10 +35898,12 @@ impl<'a> PhysicalDeviceExtendedDynamicState2FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a> { pub s_type: StructureType, @@ -34798,10 +36272,12 @@ impl<'a> PhysicalDeviceExtendedDynamicState3FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedDynamicState3PropertiesEXT<'a> { pub s_type: StructureType, @@ -34841,10 +36317,12 @@ impl<'a> PhysicalDeviceExtendedDynamicState3PropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ColorBlendEquationEXT { pub src_color_blend_factor: BlendFactor, @@ -34886,10 +36364,12 @@ impl ColorBlendEquationEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct ColorBlendAdvancedEXT { pub advanced_blend_op: BlendOp, @@ -34925,10 +36405,12 @@ impl ColorBlendAdvancedEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_render_pass_transform"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassTransformBeginInfoQCOM<'a> { pub s_type: StructureType, @@ -34960,10 +36442,12 @@ impl<'a> RenderPassTransformBeginInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_rotated_copy_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyCommandTransformInfoQCOM<'a> { pub s_type: StructureType, @@ -34996,10 +36480,12 @@ impl<'a> CopyCommandTransformInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_render_pass_transform"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferInheritanceRenderPassTransformInfoQCOM<'a> { pub s_type: StructureType, @@ -35042,10 +36528,12 @@ impl<'a> CommandBufferInheritanceRenderPassTransformInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_diagnostics_config"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDiagnosticsConfigFeaturesNV<'a> { pub s_type: StructureType, @@ -35079,10 +36567,12 @@ impl<'a> PhysicalDeviceDiagnosticsConfigFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_diagnostics_config"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceDiagnosticsConfigCreateInfoNV<'a> { pub s_type: StructureType, @@ -35114,10 +36604,12 @@ impl<'a> DeviceDiagnosticsConfigCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures<'a> { pub s_type: StructureType, @@ -35161,10 +36653,12 @@ impl<'a> PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_subgroup_uniform_control_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR<'a> { pub s_type: StructureType, @@ -35209,10 +36703,12 @@ impl<'a> PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_robustness2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRobustness2FeaturesEXT<'a> { pub s_type: StructureType, @@ -35259,10 +36755,12 @@ impl<'a> PhysicalDeviceRobustness2FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_robustness2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRobustness2PropertiesEXT<'a> { pub s_type: StructureType, @@ -35310,10 +36808,12 @@ impl<'a> PhysicalDeviceRobustness2PropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageRobustnessFeatures<'a> { pub s_type: StructureType, @@ -35346,10 +36846,12 @@ impl<'a> PhysicalDeviceImageRobustnessFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_workgroup_memory_explicit_layout"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR<'a> { pub s_type: StructureType, @@ -35425,10 +36927,13 @@ impl<'a> PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_portability_subset"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { pub s_type: StructureType, @@ -35450,8 +36955,11 @@ pub struct PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { pub vertex_attribute_access_beyond_stride: Bool32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> { #[inline] fn default() -> Self { @@ -35477,15 +36985,19 @@ impl ::core::default::Default for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> { } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDevicePortabilitySubsetFeaturesKHR<'_> {} +#[cfg(feature = "provisional")] impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { #[inline] pub fn constant_alpha_color_blend_factors( @@ -35576,10 +37088,13 @@ impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_portability_subset"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { pub s_type: StructureType, @@ -35587,8 +37102,11 @@ pub struct PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { pub min_vertex_input_binding_stride_alignment: u32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDevicePortabilitySubsetPropertiesKHR<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDevicePortabilitySubsetPropertiesKHR<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDevicePortabilitySubsetPropertiesKHR<'_> { #[inline] fn default() -> Self { @@ -35600,14 +37118,17 @@ impl ::core::default::Default for PhysicalDevicePortabilitySubsetPropertiesKHR<' } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDevicePortabilitySubsetPropertiesKHR<'_> { } +#[cfg(feature = "provisional")] impl<'a> PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { #[inline] pub fn min_vertex_input_binding_stride_alignment( @@ -35618,10 +37139,12 @@ impl<'a> PhysicalDevicePortabilitySubsetPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_4444_formats"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevice4444FormatsFeaturesEXT<'a> { pub s_type: StructureType, @@ -35661,10 +37184,12 @@ impl<'a> PhysicalDevice4444FormatsFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubpassShadingFeaturesHUAWEI<'a> { pub s_type: StructureType, @@ -35701,10 +37226,12 @@ impl<'a> PhysicalDeviceSubpassShadingFeaturesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a> { pub s_type: StructureType, @@ -35751,10 +37278,12 @@ impl<'a> PhysicalDeviceClusterCullingShaderFeaturesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI<'a> { pub s_type: StructureType, @@ -35790,10 +37319,12 @@ impl<'a> PhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCopy2<'a> { pub s_type: StructureType, @@ -35838,10 +37369,12 @@ impl<'a> BufferCopy2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageCopy2<'a> { pub s_type: StructureType, @@ -35900,10 +37433,12 @@ impl<'a> ImageCopy2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageBlit2<'a> { pub s_type: StructureType, @@ -35955,10 +37490,12 @@ impl<'a> ImageBlit2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferImageCopy2<'a> { pub s_type: StructureType, @@ -36024,10 +37561,12 @@ impl<'a> BufferImageCopy2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageResolve2<'a> { pub s_type: StructureType, @@ -36086,10 +37625,12 @@ impl<'a> ImageResolve2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyBufferInfo2<'a> { pub s_type: StructureType, @@ -36137,10 +37678,12 @@ impl<'a> CopyBufferInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyImageInfo2<'a> { pub s_type: StructureType, @@ -36202,10 +37745,12 @@ impl<'a> CopyImageInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BlitImageInfo2<'a> { pub s_type: StructureType, @@ -36274,10 +37819,12 @@ impl<'a> BlitImageInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyBufferToImageInfo2<'a> { pub s_type: StructureType, @@ -36332,10 +37879,12 @@ impl<'a> CopyBufferToImageInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyImageToBufferInfo2<'a> { pub s_type: StructureType, @@ -36390,10 +37939,12 @@ impl<'a> CopyImageToBufferInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ResolveImageInfo2<'a> { pub s_type: StructureType, @@ -36455,10 +38006,12 @@ impl<'a> ResolveImageInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_image_atomic_int64"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderImageAtomicInt64FeaturesEXT<'a> { pub s_type: StructureType, @@ -36502,10 +38055,12 @@ impl<'a> PhysicalDeviceShaderImageAtomicInt64FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FragmentShadingRateAttachmentInfoKHR<'a> { pub s_type: StructureType, @@ -36550,10 +38105,12 @@ impl<'a> FragmentShadingRateAttachmentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineFragmentShadingRateStateCreateInfoKHR<'a> { pub s_type: StructureType, @@ -36596,10 +38153,12 @@ impl<'a> PipelineFragmentShadingRateStateCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShadingRateFeaturesKHR<'a> { pub s_type: StructureType, @@ -36656,10 +38215,12 @@ impl<'a> PhysicalDeviceFragmentShadingRateFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShadingRatePropertiesKHR<'a> { pub s_type: StructureType, @@ -36865,10 +38426,12 @@ impl<'a> PhysicalDeviceFragmentShadingRatePropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShadingRateKHR<'a> { pub s_type: StructureType, @@ -36906,10 +38469,12 @@ impl<'a> PhysicalDeviceFragmentShadingRateKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderTerminateInvocationFeatures<'a> { pub s_type: StructureType, @@ -36946,10 +38511,12 @@ impl<'a> PhysicalDeviceShaderTerminateInvocationFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShadingRateEnumsFeaturesNV<'a> { pub s_type: StructureType, @@ -37006,10 +38573,12 @@ impl<'a> PhysicalDeviceFragmentShadingRateEnumsFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShadingRateEnumsPropertiesNV<'a> { pub s_type: StructureType, @@ -37049,10 +38618,12 @@ impl<'a> PhysicalDeviceFragmentShadingRateEnumsPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineFragmentShadingRateEnumStateCreateInfoNV<'a> { pub s_type: StructureType, @@ -37102,10 +38673,12 @@ impl<'a> PipelineFragmentShadingRateEnumStateCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureBuildSizesInfoKHR<'a> { pub s_type: StructureType, @@ -37151,10 +38724,12 @@ impl<'a> AccelerationStructureBuildSizesInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_2d_view_of_3d"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImage2DViewOf3DFeaturesEXT<'a> { pub s_type: StructureType, @@ -37195,10 +38770,12 @@ impl<'a> PhysicalDeviceImage2DViewOf3DFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_sliced_view_of_3d"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageSlicedViewOf3DFeaturesEXT<'a> { pub s_type: StructureType, @@ -37235,10 +38812,12 @@ impl<'a> PhysicalDeviceImageSlicedViewOf3DFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_dynamic_state"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT<'a> { pub s_type: StructureType, @@ -37283,10 +38862,12 @@ impl<'a> PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_legacy_vertex_attributes"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'a> { pub s_type: StructureType, @@ -37323,10 +38904,12 @@ impl<'a> PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_legacy_vertex_attributes"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'a> { pub s_type: StructureType, @@ -37362,10 +38945,12 @@ impl<'a> PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMutableDescriptorTypeFeaturesEXT<'a> { pub s_type: StructureType, @@ -37402,10 +38987,12 @@ impl<'a> PhysicalDeviceMutableDescriptorTypeFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MutableDescriptorTypeListEXT<'a> { pub descriptor_type_count: u32, @@ -37432,10 +39019,12 @@ impl<'a> MutableDescriptorTypeListEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MutableDescriptorTypeCreateInfoEXT<'a> { pub s_type: StructureType, @@ -37474,10 +39063,12 @@ impl<'a> MutableDescriptorTypeCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clip_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthClipControlFeaturesEXT<'a> { pub s_type: StructureType, @@ -37511,10 +39102,12 @@ impl<'a> PhysicalDeviceDepthClipControlFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT<'a> { pub s_type: StructureType, @@ -37561,10 +39154,12 @@ impl<'a> PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT<'a> { pub s_type: StructureType, @@ -37711,10 +39306,12 @@ impl<'a> PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsPipelineInfoEXT<'a> { pub s_type: StructureType, @@ -37750,10 +39347,12 @@ impl<'a> GeneratedCommandsPipelineInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsShaderInfoEXT<'a> { pub s_type: StructureType, @@ -37792,10 +39391,12 @@ impl<'a> GeneratedCommandsShaderInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsMemoryRequirementsInfoEXT<'a> { pub s_type: StructureType, @@ -37854,10 +39455,12 @@ impl<'a> GeneratedCommandsMemoryRequirementsInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectExecutionSetPipelineInfoEXT<'a> { pub s_type: StructureType, @@ -37895,10 +39498,12 @@ impl<'a> IndirectExecutionSetPipelineInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectExecutionSetShaderLayoutInfoEXT<'a> { pub s_type: StructureType, @@ -37933,10 +39538,12 @@ impl<'a> IndirectExecutionSetShaderLayoutInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectExecutionSetShaderInfoEXT<'a> { pub s_type: StructureType, @@ -37998,9 +39605,11 @@ impl<'a> IndirectExecutionSetShaderInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union IndirectExecutionSetInfoEXT<'a> { pub p_pipeline_info: *const IndirectExecutionSetPipelineInfoEXT<'a>, pub p_shader_info: *const IndirectExecutionSetShaderInfoEXT<'a>, @@ -38011,9 +39620,11 @@ impl<'a> ::core::default::Default for IndirectExecutionSetInfoEXT<'a> { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectExecutionSetCreateInfoEXT<'a> { pub s_type: StructureType, @@ -38062,10 +39673,12 @@ impl<'a> IndirectExecutionSetCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GeneratedCommandsInfoEXT<'a> { pub s_type: StructureType, @@ -38165,10 +39778,12 @@ impl<'a> GeneratedCommandsInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteIndirectExecutionSetPipelineEXT<'a> { pub s_type: StructureType, @@ -38206,10 +39821,12 @@ impl<'a> WriteIndirectExecutionSetPipelineEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct WriteIndirectExecutionSetShaderEXT<'a> { pub s_type: StructureType, @@ -38247,10 +39864,12 @@ impl<'a> WriteIndirectExecutionSetShaderEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectCommandsLayoutCreateInfoEXT<'a> { pub s_type: StructureType, @@ -38312,9 +39931,11 @@ impl<'a> IndirectCommandsLayoutCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct IndirectCommandsLayoutTokenEXT<'a> { pub s_type: StructureType, @@ -38371,10 +39992,12 @@ impl<'a> IndirectCommandsLayoutTokenEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrawIndirectCountIndirectCommandEXT { pub buffer_address: DeviceAddress, @@ -38398,10 +40021,12 @@ impl DrawIndirectCountIndirectCommandEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct IndirectCommandsVertexBufferTokenEXT { pub vertex_binding_unit: u32, @@ -38413,10 +40038,12 @@ impl IndirectCommandsVertexBufferTokenEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindVertexBufferIndirectCommandEXT { pub buffer_address: DeviceAddress, @@ -38440,10 +40067,12 @@ impl BindVertexBufferIndirectCommandEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct IndirectCommandsIndexBufferTokenEXT { pub mode: IndirectCommandsInputModeFlagsEXT, @@ -38455,10 +40084,12 @@ impl IndirectCommandsIndexBufferTokenEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct BindIndexBufferIndirectCommandEXT { pub buffer_address: DeviceAddress, @@ -38482,10 +40113,12 @@ impl BindIndexBufferIndirectCommandEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct IndirectCommandsPushConstantTokenEXT { pub update_range: PushConstantRange, @@ -38497,10 +40130,12 @@ impl IndirectCommandsPushConstantTokenEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct IndirectCommandsExecutionSetTokenEXT { pub ty: IndirectExecutionSetInfoTypeEXT, @@ -38518,9 +40153,11 @@ impl IndirectCommandsExecutionSetTokenEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union IndirectCommandsTokenDataEXT { pub p_push_constant: *const IndirectCommandsPushConstantTokenEXT, pub p_vertex_buffer: *const IndirectCommandsVertexBufferTokenEXT, @@ -38533,10 +40170,12 @@ impl ::core::default::Default for IndirectCommandsTokenDataEXT { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clip_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportDepthClipControlCreateInfoEXT<'a> { pub s_type: StructureType, @@ -38572,10 +40211,12 @@ impl<'a> PipelineViewportDepthClipControlCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clamp_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthClampControlFeaturesEXT<'a> { pub s_type: StructureType, @@ -38612,10 +40253,12 @@ impl<'a> PhysicalDeviceDepthClampControlFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clamp_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineViewportDepthClampControlCreateInfoEXT<'a> { pub s_type: StructureType, @@ -38658,10 +40301,12 @@ impl<'a> PipelineViewportDepthClampControlCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVertexInputDynamicStateFeaturesEXT<'a> { pub s_type: StructureType, @@ -38698,10 +40343,12 @@ impl<'a> PhysicalDeviceVertexInputDynamicStateFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_rdma"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalMemoryRDMAFeaturesNV<'a> { pub s_type: StructureType, @@ -38738,10 +40385,12 @@ impl<'a> PhysicalDeviceExternalMemoryRDMAFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_relaxed_extended_instruction"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR<'a> { pub s_type: StructureType, @@ -38786,10 +40435,12 @@ impl<'a> PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state, VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VertexInputBindingDescription2EXT<'a> { pub s_type: StructureType, @@ -38841,10 +40492,12 @@ impl<'a> VertexInputBindingDescription2EXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state, VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VertexInputAttributeDescription2EXT<'a> { pub s_type: StructureType, @@ -38896,10 +40549,12 @@ impl<'a> VertexInputAttributeDescription2EXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_color_write_enable"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceColorWriteEnableFeaturesEXT<'a> { pub s_type: StructureType, @@ -38933,10 +40588,12 @@ impl<'a> PhysicalDeviceColorWriteEnableFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_color_write_enable"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineColorWriteCreateInfoEXT<'a> { pub s_type: StructureType, @@ -38971,10 +40628,12 @@ impl<'a> PipelineColorWriteCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryBarrier2<'a> { pub s_type: StructureType, @@ -39027,10 +40686,12 @@ impl<'a> MemoryBarrier2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageMemoryBarrier2<'a> { pub s_type: StructureType, @@ -39124,10 +40785,12 @@ impl<'a> ImageMemoryBarrier2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferMemoryBarrier2<'a> { pub s_type: StructureType, @@ -39214,10 +40877,12 @@ impl<'a> BufferMemoryBarrier2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DependencyInfo<'a> { pub s_type: StructureType, @@ -39284,10 +40949,12 @@ impl<'a> DependencyInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SemaphoreSubmitInfo<'a> { pub s_type: StructureType, @@ -39339,10 +41006,12 @@ impl<'a> SemaphoreSubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferSubmitInfo<'a> { pub s_type: StructureType, @@ -39380,10 +41049,12 @@ impl<'a> CommandBufferSubmitInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubmitInfo2<'a> { pub s_type: StructureType, @@ -39453,10 +41124,12 @@ impl<'a> SubmitInfo2<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_synchronization2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyCheckpointProperties2NV<'a> { pub s_type: StructureType, @@ -39491,10 +41164,12 @@ impl<'a> QueueFamilyCheckpointProperties2NV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_synchronization2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CheckpointData2NV<'a> { pub s_type: StructureType, @@ -39532,10 +41207,12 @@ impl<'a> CheckpointData2NV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSynchronization2Features<'a> { pub s_type: StructureType, @@ -39568,10 +41245,12 @@ impl<'a> PhysicalDeviceSynchronization2Features<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceHostImageCopyFeaturesEXT<'a> { pub s_type: StructureType, @@ -39605,10 +41284,12 @@ impl<'a> PhysicalDeviceHostImageCopyFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceHostImageCopyPropertiesEXT<'a> { pub s_type: StructureType, @@ -39677,10 +41358,12 @@ impl<'a> PhysicalDeviceHostImageCopyPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryToImageCopyEXT<'a> { pub s_type: StructureType, @@ -39746,10 +41429,12 @@ impl<'a> MemoryToImageCopyEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageToMemoryCopyEXT<'a> { pub s_type: StructureType, @@ -39815,10 +41500,12 @@ impl<'a> ImageToMemoryCopyEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyMemoryToImageInfoEXT<'a> { pub s_type: StructureType, @@ -39873,10 +41560,12 @@ impl<'a> CopyMemoryToImageInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyImageToMemoryInfoEXT<'a> { pub s_type: StructureType, @@ -39931,10 +41620,12 @@ impl<'a> CopyImageToMemoryInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyImageToImageInfoEXT<'a> { pub s_type: StructureType, @@ -40003,10 +41694,12 @@ impl<'a> CopyImageToImageInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct HostImageLayoutTransitionInfoEXT<'a> { pub s_type: StructureType, @@ -40058,10 +41751,12 @@ impl<'a> HostImageLayoutTransitionInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubresourceHostMemcpySizeEXT<'a> { pub s_type: StructureType, @@ -40093,10 +41788,12 @@ impl<'a> SubresourceHostMemcpySizeEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_host_image_copy"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct HostImageCopyDevicePerformanceQueryEXT<'a> { pub s_type: StructureType, @@ -40136,10 +41833,12 @@ impl<'a> HostImageCopyDevicePerformanceQueryEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_primitives_generated_query"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'a> { pub s_type: StructureType, @@ -40201,10 +41900,12 @@ impl<'a> PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_legacy_dithering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLegacyDitheringFeaturesEXT<'a> { pub s_type: StructureType, @@ -40238,10 +41939,12 @@ impl<'a> PhysicalDeviceLegacyDitheringFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multisampled_render_to_single_sampled"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT<'a> { pub s_type: StructureType, @@ -40286,10 +41989,12 @@ impl<'a> PhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multisampled_render_to_single_sampled"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubpassResolvePerformanceQueryEXT<'a> { pub s_type: StructureType, @@ -40321,10 +42026,12 @@ impl<'a> SubpassResolvePerformanceQueryEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_multisampled_render_to_single_sampled"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MultisampledRenderToSingleSampledInfoEXT<'a> { pub s_type: StructureType, @@ -40369,10 +42076,12 @@ impl<'a> MultisampledRenderToSingleSampledInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_protected_access"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineProtectedAccessFeaturesEXT<'a> { pub s_type: StructureType, @@ -40409,10 +42118,12 @@ impl<'a> PhysicalDevicePipelineProtectedAccessFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyVideoPropertiesKHR<'a> { pub s_type: StructureType, @@ -40447,10 +42158,12 @@ impl<'a> QueueFamilyVideoPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueueFamilyQueryResultStatusPropertiesKHR<'a> { pub s_type: StructureType, @@ -40483,10 +42196,12 @@ impl<'a> QueueFamilyQueryResultStatusPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoProfileListInfoKHR<'a> { pub s_type: StructureType, @@ -40524,10 +42239,12 @@ impl<'a> VideoProfileListInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVideoFormatInfoKHR<'a> { pub s_type: StructureType, @@ -40558,10 +42275,12 @@ impl<'a> PhysicalDeviceVideoFormatInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoFormatPropertiesKHR<'a> { pub s_type: StructureType, @@ -40627,10 +42346,12 @@ impl<'a> VideoFormatPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoProfileInfoKHR<'a> { pub s_type: StructureType, @@ -40689,10 +42410,12 @@ impl<'a> VideoProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -40785,10 +42508,12 @@ impl<'a> VideoCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoSessionMemoryRequirementsKHR<'a> { pub s_type: StructureType, @@ -40826,10 +42551,12 @@ impl<'a> VideoSessionMemoryRequirementsKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindVideoSessionMemoryInfoKHR<'a> { pub s_type: StructureType, @@ -40881,10 +42608,12 @@ impl<'a> BindVideoSessionMemoryInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoPictureResourceInfoKHR<'a> { pub s_type: StructureType, @@ -40936,10 +42665,12 @@ impl<'a> VideoPictureResourceInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoReferenceSlotInfoKHR<'a> { pub s_type: StructureType, @@ -40980,10 +42711,12 @@ impl<'a> VideoReferenceSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -41015,10 +42748,12 @@ impl<'a> VideoDecodeCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeUsageInfoKHR<'a> { pub s_type: StructureType, @@ -41051,10 +42786,12 @@ impl<'a> VideoDecodeUsageInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeInfoKHR<'a> { pub s_type: StructureType, @@ -41136,10 +42873,12 @@ impl<'a> VideoDecodeInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVideoMaintenance1FeaturesKHR<'a> { pub s_type: StructureType, @@ -41176,10 +42915,12 @@ impl<'a> PhysicalDeviceVideoMaintenance1FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoInlineQueryInfoKHR<'a> { pub s_type: StructureType, @@ -41226,10 +42967,12 @@ impl<'a> VideoInlineQueryInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264ProfileInfoKHR<'a> { pub s_type: StructureType, @@ -41269,10 +43012,12 @@ impl<'a> VideoDecodeH264ProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264CapabilitiesKHR<'a> { pub s_type: StructureType, @@ -41311,10 +43056,12 @@ impl<'a> VideoDecodeH264CapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, @@ -41363,10 +43110,12 @@ impl<'a> VideoDecodeH264SessionParametersAddInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -41419,10 +43168,12 @@ impl<'a> VideoDecodeH264SessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264PictureInfoKHR<'a> { pub s_type: StructureType, @@ -41464,10 +43215,12 @@ impl<'a> VideoDecodeH264PictureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH264DpbSlotInfoKHR<'a> { pub s_type: StructureType, @@ -41502,10 +43255,12 @@ impl<'a> VideoDecodeH264DpbSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265ProfileInfoKHR<'a> { pub s_type: StructureType, @@ -41538,10 +43293,12 @@ impl<'a> VideoDecodeH265ProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265CapabilitiesKHR<'a> { pub s_type: StructureType, @@ -41573,10 +43330,12 @@ impl<'a> VideoDecodeH265CapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, @@ -41635,10 +43394,12 @@ impl<'a> VideoDecodeH265SessionParametersAddInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -41698,10 +43459,12 @@ impl<'a> VideoDecodeH265SessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265PictureInfoKHR<'a> { pub s_type: StructureType, @@ -41743,10 +43506,12 @@ impl<'a> VideoDecodeH265PictureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeH265DpbSlotInfoKHR<'a> { pub s_type: StructureType, @@ -41781,10 +43546,12 @@ impl<'a> VideoDecodeH265DpbSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_av1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeAV1ProfileInfoKHR<'a> { pub s_type: StructureType, @@ -41824,10 +43591,12 @@ impl<'a> VideoDecodeAV1ProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_av1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeAV1CapabilitiesKHR<'a> { pub s_type: StructureType, @@ -41859,10 +43628,12 @@ impl<'a> VideoDecodeAV1CapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_av1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeAV1SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -41901,10 +43672,12 @@ impl<'a> VideoDecodeAV1SessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_av1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeAV1PictureInfoKHR<'a> { pub s_type: StructureType, @@ -41971,10 +43744,12 @@ impl<'a> VideoDecodeAV1PictureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_decode_av1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoDecodeAV1DpbSlotInfoKHR<'a> { pub s_type: StructureType, @@ -42009,10 +43784,12 @@ impl<'a> VideoDecodeAV1DpbSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoSessionCreateInfoKHR<'a> { pub s_type: StructureType, @@ -42099,10 +43876,12 @@ impl<'a> VideoSessionCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoSessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -42150,10 +43929,12 @@ impl<'a> VideoSessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoSessionParametersUpdateInfoKHR<'a> { pub s_type: StructureType, @@ -42184,10 +43965,12 @@ impl<'a> VideoSessionParametersUpdateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeSessionParametersGetInfoKHR<'a> { pub s_type: StructureType, @@ -42222,10 +44005,12 @@ impl<'a> VideoEncodeSessionParametersGetInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeSessionParametersFeedbackInfoKHR<'a> { pub s_type: StructureType, @@ -42257,10 +44042,12 @@ impl<'a> VideoEncodeSessionParametersFeedbackInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoBeginCodingInfoKHR<'a> { pub s_type: StructureType, @@ -42318,10 +44105,12 @@ impl<'a> VideoBeginCodingInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEndCodingInfoKHR<'a> { pub s_type: StructureType, @@ -42352,10 +44141,12 @@ impl<'a> VideoEndCodingInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoCodingControlInfoKHR<'a> { pub s_type: StructureType, @@ -42386,10 +44177,12 @@ impl<'a> VideoCodingControlInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeUsageInfoKHR<'a> { pub s_type: StructureType, @@ -42436,10 +44229,12 @@ impl<'a> VideoEncodeUsageInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeInfoKHR<'a> { pub s_type: StructureType, @@ -42531,10 +44326,12 @@ impl<'a> VideoEncodeInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueryPoolVideoEncodeFeedbackCreateInfoKHR<'a> { pub s_type: StructureType, @@ -42570,10 +44367,12 @@ impl<'a> QueryPoolVideoEncodeFeedbackCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeQualityLevelInfoKHR<'a> { pub s_type: StructureType, @@ -42609,10 +44408,12 @@ impl<'a> VideoEncodeQualityLevelInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a> { pub s_type: StructureType, @@ -42651,10 +44452,12 @@ impl<'a> PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeQualityLevelPropertiesKHR<'a> { pub s_type: StructureType, @@ -42698,10 +44501,12 @@ impl<'a> VideoEncodeQualityLevelPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeRateControlInfoKHR<'a> { pub s_type: StructureType, @@ -42771,10 +44576,12 @@ impl<'a> VideoEncodeRateControlInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeRateControlLayerInfoKHR<'a> { pub s_type: StructureType, @@ -42826,10 +44633,12 @@ impl<'a> VideoEncodeRateControlLayerInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeCapabilitiesKHR<'a> { pub s_type: StructureType, @@ -42912,10 +44721,12 @@ impl<'a> VideoEncodeCapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264CapabilitiesKHR<'a> { pub s_type: StructureType, @@ -43040,10 +44851,12 @@ impl<'a> VideoEncodeH264CapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264QualityLevelPropertiesKHR<'a> { pub s_type: StructureType, @@ -43150,10 +44963,12 @@ impl<'a> VideoEncodeH264QualityLevelPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264SessionCreateInfoKHR<'a> { pub s_type: StructureType, @@ -43192,10 +45007,12 @@ impl<'a> VideoEncodeH264SessionCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, @@ -43244,10 +45061,12 @@ impl<'a> VideoEncodeH264SessionParametersAddInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -43300,10 +45119,12 @@ impl<'a> VideoEncodeH264SessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264SessionParametersGetInfoKHR<'a> { pub s_type: StructureType, @@ -43360,10 +45181,12 @@ impl<'a> VideoEncodeH264SessionParametersGetInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264SessionParametersFeedbackInfoKHR<'a> { pub s_type: StructureType, @@ -43406,10 +45229,12 @@ impl<'a> VideoEncodeH264SessionParametersFeedbackInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264DpbSlotInfoKHR<'a> { pub s_type: StructureType, @@ -43444,10 +45269,12 @@ impl<'a> VideoEncodeH264DpbSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264PictureInfoKHR<'a> { pub s_type: StructureType, @@ -43499,10 +45326,12 @@ impl<'a> VideoEncodeH264PictureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264ProfileInfoKHR<'a> { pub s_type: StructureType, @@ -43535,10 +45364,12 @@ impl<'a> VideoEncodeH264ProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264NaluSliceInfoKHR<'a> { pub s_type: StructureType, @@ -43576,10 +45407,12 @@ impl<'a> VideoEncodeH264NaluSliceInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264RateControlInfoKHR<'a> { pub s_type: StructureType, @@ -43640,10 +45473,12 @@ impl<'a> VideoEncodeH264RateControlInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264QpKHR { pub qp_i: i32, @@ -43667,10 +45502,12 @@ impl VideoEncodeH264QpKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264FrameSizeKHR { pub frame_i_size: u32, @@ -43694,10 +45531,12 @@ impl VideoEncodeH264FrameSizeKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264GopRemainingFrameInfoKHR<'a> { pub s_type: StructureType, @@ -43751,10 +45590,12 @@ impl<'a> VideoEncodeH264GopRemainingFrameInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h264"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH264RateControlLayerInfoKHR<'a> { pub s_type: StructureType, @@ -43825,10 +45666,12 @@ impl<'a> VideoEncodeH264RateControlLayerInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265CapabilitiesKHR<'a> { pub s_type: StructureType, @@ -43978,10 +45821,12 @@ impl<'a> VideoEncodeH265CapabilitiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265QualityLevelPropertiesKHR<'a> { pub s_type: StructureType, @@ -44078,10 +45923,12 @@ impl<'a> VideoEncodeH265QualityLevelPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265SessionCreateInfoKHR<'a> { pub s_type: StructureType, @@ -44120,10 +45967,12 @@ impl<'a> VideoEncodeH265SessionCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, @@ -44182,10 +46031,12 @@ impl<'a> VideoEncodeH265SessionParametersAddInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, @@ -44245,10 +46096,12 @@ impl<'a> VideoEncodeH265SessionParametersCreateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265SessionParametersGetInfoKHR<'a> { pub s_type: StructureType, @@ -44319,10 +46172,12 @@ impl<'a> VideoEncodeH265SessionParametersGetInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265SessionParametersFeedbackInfoKHR<'a> { pub s_type: StructureType, @@ -44372,10 +46227,12 @@ impl<'a> VideoEncodeH265SessionParametersFeedbackInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265PictureInfoKHR<'a> { pub s_type: StructureType, @@ -44420,10 +46277,12 @@ impl<'a> VideoEncodeH265PictureInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265NaluSliceSegmentInfoKHR<'a> { pub s_type: StructureType, @@ -44465,10 +46324,12 @@ impl<'a> VideoEncodeH265NaluSliceSegmentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265RateControlInfoKHR<'a> { pub s_type: StructureType, @@ -44529,10 +46390,12 @@ impl<'a> VideoEncodeH265RateControlInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265QpKHR { pub qp_i: i32, @@ -44556,10 +46419,12 @@ impl VideoEncodeH265QpKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265FrameSizeKHR { pub frame_i_size: u32, @@ -44583,10 +46448,12 @@ impl VideoEncodeH265FrameSizeKHR { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265GopRemainingFrameInfoKHR<'a> { pub s_type: StructureType, @@ -44640,10 +46507,12 @@ impl<'a> VideoEncodeH265GopRemainingFrameInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265RateControlLayerInfoKHR<'a> { pub s_type: StructureType, @@ -44714,10 +46583,12 @@ impl<'a> VideoEncodeH265RateControlLayerInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265ProfileInfoKHR<'a> { pub s_type: StructureType, @@ -44750,10 +46621,12 @@ impl<'a> VideoEncodeH265ProfileInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_h265"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct VideoEncodeH265DpbSlotInfoKHR<'a> { pub s_type: StructureType, @@ -44788,10 +46661,12 @@ impl<'a> VideoEncodeH265DpbSlotInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_inherited_viewport_scissor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceInheritedViewportScissorFeaturesNV<'a> { pub s_type: StructureType, @@ -44828,10 +46703,12 @@ impl<'a> PhysicalDeviceInheritedViewportScissorFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_inherited_viewport_scissor"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferInheritanceViewportScissorInfoNV<'a> { pub s_type: StructureType, @@ -44881,10 +46758,12 @@ impl<'a> CommandBufferInheritanceViewportScissorInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_ycbcr_2plane_444_formats"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT<'a> { pub s_type: StructureType, @@ -44921,10 +46800,12 @@ impl<'a> PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_provoking_vertex"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProvokingVertexFeaturesEXT<'a> { pub s_type: StructureType, @@ -44969,10 +46850,12 @@ impl<'a> PhysicalDeviceProvokingVertexFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_provoking_vertex"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceProvokingVertexPropertiesEXT<'a> { pub s_type: StructureType, @@ -45022,10 +46905,12 @@ impl<'a> PhysicalDeviceProvokingVertexPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_provoking_vertex"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRasterizationProvokingVertexStateCreateInfoEXT<'a> { pub s_type: StructureType, @@ -45061,10 +46946,12 @@ impl<'a> PipelineRasterizationProvokingVertexStateCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_binary_import"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CuModuleCreateInfoNVX<'a> { pub s_type: StructureType, @@ -45098,10 +46985,12 @@ impl<'a> CuModuleCreateInfoNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_binary_import"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CuFunctionCreateInfoNVX<'a> { pub s_type: StructureType, @@ -45147,10 +47036,12 @@ impl<'a> CuFunctionCreateInfoNVX<'a> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NVX_binary_import"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CuLaunchInfoNVX<'a> { pub s_type: StructureType, @@ -45250,10 +47141,12 @@ impl<'a> CuLaunchInfoNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorBufferFeaturesEXT<'a> { pub s_type: StructureType, @@ -45317,10 +47210,12 @@ impl<'a> PhysicalDeviceDescriptorBufferFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorBufferPropertiesEXT<'a> { pub s_type: StructureType, @@ -45665,10 +47560,12 @@ impl<'a> PhysicalDeviceDescriptorBufferPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT<'a> { pub s_type: StructureType, @@ -45708,10 +47605,12 @@ impl<'a> PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorAddressInfoEXT<'a> { pub s_type: StructureType, @@ -45756,10 +47655,12 @@ impl<'a> DescriptorAddressInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorBufferBindingInfoEXT<'a> { pub s_type: StructureType, @@ -45797,10 +47698,12 @@ impl<'a> DescriptorBufferBindingInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorBufferBindingPushDescriptorBufferHandleEXT<'a> { pub s_type: StructureType, @@ -45836,9 +47739,11 @@ impl<'a> DescriptorBufferBindingPushDescriptorBufferHandleEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union DescriptorDataEXT<'a> { pub p_sampler: *const Sampler, pub p_combined_image_sampler: *const DescriptorImageInfo, @@ -45857,9 +47762,11 @@ impl<'a> ::core::default::Default for DescriptorDataEXT<'a> { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorGetInfoEXT<'a> { pub s_type: StructureType, @@ -45908,10 +47815,12 @@ impl<'a> DescriptorGetInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, @@ -45942,10 +47851,12 @@ impl<'a> BufferCaptureDescriptorDataInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, @@ -45976,10 +47887,12 @@ impl<'a> ImageCaptureDescriptorDataInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, @@ -46011,10 +47924,12 @@ impl<'a> ImageViewCaptureDescriptorDataInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, @@ -46045,10 +47960,12 @@ impl<'a> SamplerCaptureDescriptorDataInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, @@ -46093,10 +48010,12 @@ impl<'a> AccelerationStructureCaptureDescriptorDataInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpaqueCaptureDescriptorDataCreateInfoEXT<'a> { pub s_type: StructureType, @@ -46143,10 +48062,12 @@ impl<'a> OpaqueCaptureDescriptorDataCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderIntegerDotProductFeatures<'a> { pub s_type: StructureType, @@ -46183,10 +48104,12 @@ impl<'a> PhysicalDeviceShaderIntegerDotProductFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderIntegerDotProductProperties<'a> { pub s_type: StructureType, @@ -46511,10 +48434,12 @@ impl<'a> PhysicalDeviceShaderIntegerDotProductProperties<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_physical_device_drm"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDrmPropertiesEXT<'a> { pub s_type: StructureType, @@ -46581,10 +48506,12 @@ impl<'a> PhysicalDeviceDrmPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shader_barycentric"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a> { pub s_type: StructureType, @@ -46624,10 +48551,12 @@ impl<'a> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shader_barycentric"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFragmentShaderBarycentricPropertiesKHR<'a> { pub s_type: StructureType, @@ -46667,10 +48596,12 @@ impl<'a> PhysicalDeviceFragmentShaderBarycentricPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingMotionBlurFeaturesNV<'a> { pub s_type: StructureType, @@ -46718,10 +48649,12 @@ impl<'a> PhysicalDeviceRayTracingMotionBlurFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_validation"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingValidationFeaturesNV<'a> { pub s_type: StructureType, @@ -46758,9 +48691,11 @@ impl<'a> PhysicalDeviceRayTracingValidationFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureGeometryMotionTrianglesDataNV<'a> { pub s_type: StructureType, @@ -46806,10 +48741,12 @@ impl<'a> AccelerationStructureGeometryMotionTrianglesDataNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureMotionInfoNV<'a> { pub s_type: StructureType, @@ -46851,10 +48788,12 @@ impl<'a> AccelerationStructureMotionInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct SRTDataNV { pub sx: f32, @@ -46956,9 +48895,11 @@ impl SRTDataNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub struct AccelerationStructureSRTMotionInstanceNV { pub transform_t0: SRTDataNV, pub transform_t1: SRTDataNV, @@ -46968,9 +48909,11 @@ pub struct AccelerationStructureSRTMotionInstanceNV { pub instance_shader_binding_table_record_offset_and_flags: Packed24_8, pub acceleration_structure_reference: AccelerationStructureReferenceKHR, } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub struct AccelerationStructureMatrixMotionInstanceNV { pub transform_t0: TransformMatrixKHR, pub transform_t1: TransformMatrixKHR, @@ -46980,9 +48923,11 @@ pub struct AccelerationStructureMatrixMotionInstanceNV { pub instance_shader_binding_table_record_offset_and_flags: Packed24_8, pub acceleration_structure_reference: AccelerationStructureReferenceKHR, } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] pub union AccelerationStructureMotionInstanceDataNV { pub static_instance: AccelerationStructureInstanceKHR, pub matrix_motion_instance: AccelerationStructureMatrixMotionInstanceNV, @@ -46994,9 +48939,11 @@ impl ::core::default::Default for AccelerationStructureMotionInstanceDataNV { unsafe { ::core::mem::zeroed() } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] #[repr(C)] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct AccelerationStructureMotionInstanceNV { pub ty: AccelerationStructureMotionInstanceTypeNV, @@ -47031,11 +48978,15 @@ impl AccelerationStructureMotionInstanceNV { } } #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_rdma"] pub type RemoteAddressNV = c_void; +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_external_memory_rdma"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryGetRemoteAddressInfoNV<'a> { pub s_type: StructureType, @@ -47073,10 +49024,12 @@ impl<'a> MemoryGetRemoteAddressInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMemoryBufferCollectionFUCHSIA<'a> { pub s_type: StructureType, @@ -47115,10 +49068,12 @@ impl<'a> ImportMemoryBufferCollectionFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCollectionImageCreateInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47158,10 +49113,12 @@ impl<'a> BufferCollectionImageCreateInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCollectionBufferCreateInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47201,10 +49158,12 @@ impl<'a> BufferCollectionBufferCreateInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCollectionCreateInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47235,10 +49194,12 @@ impl<'a> BufferCollectionCreateInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCollectionPropertiesFUCHSIA<'a> { pub s_type: StructureType, @@ -47348,10 +49309,12 @@ impl<'a> BufferCollectionPropertiesFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47402,10 +49365,12 @@ impl<'a> BufferConstraintsInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SysmemColorSpaceFUCHSIA<'a> { pub s_type: StructureType, @@ -47436,10 +49401,12 @@ impl<'a> SysmemColorSpaceFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageFormatConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47504,10 +49471,12 @@ impl<'a> ImageFormatConstraintsInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47561,10 +49530,12 @@ impl<'a> ImageConstraintsInfoFUCHSIA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BufferCollectionConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, @@ -47632,18 +49603,24 @@ impl<'a> BufferCollectionConstraintsInfoFUCHSIA<'a> { handle_nondispatchable!( CudaModuleNV, CUDA_MODULE_NV, - doc = "" + "Provided by VK_NV_cuda_kernel_launch", + "", + cfg(feature = "provisional") ); handle_nondispatchable!( CudaFunctionNV, CUDA_FUNCTION_NV, - doc = - "" + "Provided by VK_NV_cuda_kernel_launch", + "", + cfg(feature = "provisional") ); +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CudaModuleCreateInfoNV<'a> { pub s_type: StructureType, @@ -47652,8 +49629,11 @@ pub struct CudaModuleCreateInfoNV<'a> { pub p_data: *const c_void, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for CudaModuleCreateInfoNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for CudaModuleCreateInfoNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for CudaModuleCreateInfoNV<'_> { #[inline] fn default() -> Self { @@ -47666,9 +49646,11 @@ impl ::core::default::Default for CudaModuleCreateInfoNV<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for CudaModuleCreateInfoNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::CUDA_MODULE_CREATE_INFO_NV; } +#[cfg(feature = "provisional")] impl<'a> CudaModuleCreateInfoNV<'a> { #[inline] pub fn data(mut self, data: &'a [u8]) -> Self { @@ -47677,10 +49659,13 @@ impl<'a> CudaModuleCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CudaFunctionCreateInfoNV<'a> { pub s_type: StructureType, @@ -47689,8 +49674,11 @@ pub struct CudaFunctionCreateInfoNV<'a> { pub p_name: *const c_char, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for CudaFunctionCreateInfoNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for CudaFunctionCreateInfoNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for CudaFunctionCreateInfoNV<'_> { #[inline] fn default() -> Self { @@ -47703,9 +49691,11 @@ impl ::core::default::Default for CudaFunctionCreateInfoNV<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for CudaFunctionCreateInfoNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::CUDA_FUNCTION_CREATE_INFO_NV; } +#[cfg(feature = "provisional")] impl<'a> CudaFunctionCreateInfoNV<'a> { #[inline] pub fn module(mut self, module: CudaModuleNV) -> Self { @@ -47726,10 +49716,13 @@ impl<'a> CudaFunctionCreateInfoNV<'a> { } } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CudaLaunchInfoNV<'a> { pub s_type: StructureType, @@ -47748,8 +49741,11 @@ pub struct CudaLaunchInfoNV<'a> { pub p_extras: *const *const c_void, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for CudaLaunchInfoNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for CudaLaunchInfoNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for CudaLaunchInfoNV<'_> { #[inline] fn default() -> Self { @@ -47772,9 +49768,11 @@ impl ::core::default::Default for CudaLaunchInfoNV<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for CudaLaunchInfoNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::CUDA_LAUNCH_INFO_NV; } +#[cfg(feature = "provisional")] impl<'a> CudaLaunchInfoNV<'a> { #[inline] pub fn function(mut self, function: CudaFunctionNV) -> Self { @@ -47829,10 +49827,12 @@ impl<'a> CudaLaunchInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_rgba10x6_formats"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRGBA10X6FormatsFeaturesEXT<'a> { pub s_type: StructureType, @@ -47870,10 +49870,12 @@ impl<'a> PhysicalDeviceRGBA10X6FormatsFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FormatProperties3<'a> { pub s_type: StructureType, @@ -47919,10 +49921,12 @@ impl<'a> FormatProperties3<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DrmFormatModifierPropertiesList2EXT<'a> { pub s_type: StructureType, @@ -47960,10 +49964,12 @@ impl<'a> DrmFormatModifierPropertiesList2EXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DrmFormatModifierProperties2EXT { pub drm_format_modifier: u64, @@ -47990,10 +49996,12 @@ impl DrmFormatModifierProperties2EXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidHardwareBufferFormatProperties2ANDROID<'a> { pub s_type: StructureType, @@ -48084,10 +50092,12 @@ impl<'a> AndroidHardwareBufferFormatProperties2ANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRenderingCreateInfo<'a> { pub s_type: StructureType, @@ -48143,10 +50153,12 @@ impl<'a> PipelineRenderingCreateInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingInfo<'a> { pub s_type: StructureType, @@ -48228,9 +50240,11 @@ impl<'a> RenderingInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingAttachmentInfo<'a> { pub s_type: StructureType, @@ -48327,10 +50341,12 @@ impl<'a> RenderingAttachmentInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingFragmentShadingRateAttachmentInfoKHR<'a> { pub s_type: StructureType, @@ -48380,10 +50396,12 @@ impl<'a> RenderingFragmentShadingRateAttachmentInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingFragmentDensityMapAttachmentInfoEXT<'a> { pub s_type: StructureType, @@ -48423,10 +50441,12 @@ impl<'a> RenderingFragmentDensityMapAttachmentInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDynamicRenderingFeatures<'a> { pub s_type: StructureType, @@ -48459,10 +50479,12 @@ impl<'a> PhysicalDeviceDynamicRenderingFeatures<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_3"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CommandBufferInheritanceRenderingInfo<'a> { pub s_type: StructureType, @@ -48535,10 +50557,12 @@ impl<'a> CommandBufferInheritanceRenderingInfo<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AttachmentSampleCountInfoAMD<'a> { pub s_type: StructureType, @@ -48587,10 +50611,12 @@ impl<'a> AttachmentSampleCountInfoAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MultiviewPerViewAttributesInfoNVX<'a> { pub s_type: StructureType, @@ -48634,10 +50660,12 @@ impl<'a> MultiviewPerViewAttributesInfoNVX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_view_min_lod"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageViewMinLodFeaturesEXT<'a> { pub s_type: StructureType, @@ -48671,10 +50699,12 @@ impl<'a> PhysicalDeviceImageViewMinLodFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_view_min_lod"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewMinLodCreateInfoEXT<'a> { pub s_type: StructureType, @@ -48706,10 +50736,12 @@ impl<'a> ImageViewMinLodCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_rasterization_order_attachment_access"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT<'a> { pub s_type: StructureType, @@ -48777,10 +50809,12 @@ impl<'a> PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_linear_color_attachment"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLinearColorAttachmentFeaturesNV<'a> { pub s_type: StructureType, @@ -48817,10 +50851,12 @@ impl<'a> PhysicalDeviceLinearColorAttachmentFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'a> { pub s_type: StructureType, @@ -48857,10 +50893,12 @@ impl<'a> PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineBinaryFeaturesKHR<'a> { pub s_type: StructureType, @@ -48894,10 +50932,12 @@ impl<'a> PhysicalDevicePipelineBinaryFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DevicePipelineBinaryInternalCacheControlKHR<'a> { pub s_type: StructureType, @@ -48930,10 +50970,12 @@ impl<'a> DevicePipelineBinaryInternalCacheControlKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_binary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineBinaryPropertiesKHR<'a> { pub s_type: StructureType, @@ -49010,10 +51052,12 @@ impl<'a> PhysicalDevicePipelineBinaryPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'a> { pub s_type: StructureType, @@ -49063,10 +51107,12 @@ impl<'a> PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GraphicsPipelineLibraryCreateInfoEXT<'a> { pub s_type: StructureType, @@ -49098,10 +51144,12 @@ impl<'a> GraphicsPipelineLibraryCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE<'a> { pub s_type: StructureType, @@ -49141,10 +51189,12 @@ impl<'a> PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetBindingReferenceVALVE<'a> { pub s_type: StructureType, @@ -49182,10 +51232,12 @@ impl<'a> DescriptorSetBindingReferenceVALVE<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DescriptorSetLayoutHostMappingInfoVALVE<'a> { pub s_type: StructureType, @@ -49224,10 +51276,12 @@ impl<'a> DescriptorSetLayoutHostMappingInfoVALVE<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_nested_command_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceNestedCommandBufferFeaturesEXT<'a> { pub s_type: StructureType, @@ -49284,10 +51338,12 @@ impl<'a> PhysicalDeviceNestedCommandBufferFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_nested_command_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceNestedCommandBufferPropertiesEXT<'a> { pub s_type: StructureType, @@ -49326,10 +51382,12 @@ impl<'a> PhysicalDeviceNestedCommandBufferPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderModuleIdentifierFeaturesEXT<'a> { pub s_type: StructureType, @@ -49366,10 +51424,12 @@ impl<'a> PhysicalDeviceShaderModuleIdentifierFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderModuleIdentifierPropertiesEXT<'a> { pub s_type: StructureType, @@ -49408,10 +51468,12 @@ impl<'a> PhysicalDeviceShaderModuleIdentifierPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineShaderStageModuleIdentifierCreateInfoEXT<'a> { pub s_type: StructureType, @@ -49450,9 +51512,11 @@ impl<'a> PipelineShaderStageModuleIdentifierCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShaderModuleIdentifierEXT<'a> { pub s_type: StructureType, @@ -49501,10 +51565,12 @@ impl<'a> ShaderModuleIdentifierEXT<'a> { &self.identifier[..self.identifier_size as _] } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageCompressionControlEXT<'a> { pub s_type: StructureType, @@ -49551,10 +51617,12 @@ impl<'a> ImageCompressionControlEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageCompressionControlFeaturesEXT<'a> { pub s_type: StructureType, @@ -49591,10 +51659,12 @@ impl<'a> PhysicalDeviceImageCompressionControlFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageCompressionPropertiesEXT<'a> { pub s_type: StructureType, @@ -49641,10 +51711,12 @@ impl<'a> ImageCompressionPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_image_compression_control_swapchain"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT<'a> { pub s_type: StructureType, @@ -49689,10 +51761,12 @@ impl<'a> PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageSubresource2KHR<'a> { pub s_type: StructureType, @@ -49723,10 +51797,12 @@ impl<'a> ImageSubresource2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SubresourceLayout2KHR<'a> { pub s_type: StructureType, @@ -49757,10 +51833,12 @@ impl<'a> SubresourceLayout2KHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassCreationControlEXT<'a> { pub s_type: StructureType, @@ -49793,10 +51871,12 @@ impl<'a> RenderPassCreationControlEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct RenderPassCreationFeedbackInfoEXT { pub post_merge_subpass_count: u32, @@ -49808,10 +51888,12 @@ impl RenderPassCreationFeedbackInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassCreationFeedbackCreateInfoEXT<'a> { pub s_type: StructureType, @@ -49847,9 +51929,11 @@ impl<'a> RenderPassCreationFeedbackCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassSubpassFeedbackInfoEXT { pub subpass_merge_status: SubpassMergeStatusEXT, @@ -49899,10 +51983,12 @@ impl RenderPassSubpassFeedbackInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassSubpassFeedbackCreateInfoEXT<'a> { pub s_type: StructureType, @@ -49938,10 +52024,12 @@ impl<'a> RenderPassSubpassFeedbackCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSubpassMergeFeedbackFeaturesEXT<'a> { pub s_type: StructureType, @@ -49978,9 +52066,11 @@ impl<'a> PhysicalDeviceSubpassMergeFeedbackFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MicromapBuildInfoEXT<'a> { pub s_type: StructureType, @@ -50098,10 +52188,12 @@ impl<'a> MicromapBuildInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MicromapCreateInfoEXT<'a> { pub s_type: StructureType, @@ -50167,10 +52259,12 @@ impl<'a> MicromapCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MicromapVersionInfoEXT<'a> { pub s_type: StructureType, @@ -50201,10 +52295,12 @@ impl<'a> MicromapVersionInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyMicromapInfoEXT<'a> { pub s_type: StructureType, @@ -50249,9 +52345,11 @@ impl<'a> CopyMicromapInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyMicromapToMemoryInfoEXT<'a> { pub s_type: StructureType, @@ -50308,9 +52406,11 @@ impl<'a> CopyMicromapToMemoryInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CopyMemoryToMicromapInfoEXT<'a> { pub s_type: StructureType, @@ -50367,10 +52467,12 @@ impl<'a> CopyMemoryToMicromapInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MicromapBuildSizesInfoEXT<'a> { pub s_type: StructureType, @@ -50415,10 +52517,12 @@ impl<'a> MicromapBuildSizesInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MicromapUsageEXT { pub count: u32, @@ -50442,10 +52546,12 @@ impl MicromapUsageEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct MicromapTriangleEXT { pub data_offset: u32, @@ -50469,10 +52575,12 @@ impl MicromapTriangleEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceOpacityMicromapFeaturesEXT<'a> { pub s_type: StructureType, @@ -50520,10 +52628,12 @@ impl<'a> PhysicalDeviceOpacityMicromapFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceOpacityMicromapPropertiesEXT<'a> { pub s_type: StructureType, @@ -50572,9 +52682,11 @@ impl<'a> PhysicalDeviceOpacityMicromapPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureTrianglesOpacityMicromapEXT<'a> { pub s_type: StructureType, @@ -50673,10 +52785,13 @@ impl<'a> AccelerationStructureTrianglesOpacityMicromapEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDisplacementMicromapFeaturesNV<'a> { pub s_type: StructureType, @@ -50684,8 +52799,11 @@ pub struct PhysicalDeviceDisplacementMicromapFeaturesNV<'a> { pub displacement_micromap: Bool32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceDisplacementMicromapFeaturesNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceDisplacementMicromapFeaturesNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceDisplacementMicromapFeaturesNV<'_> { #[inline] fn default() -> Self { @@ -50697,15 +52815,19 @@ impl ::core::default::Default for PhysicalDeviceDisplacementMicromapFeaturesNV<' } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceDisplacementMicromapFeaturesNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceDisplacementMicromapFeaturesNV<'_> { } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceDisplacementMicromapFeaturesNV<'_> {} +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceDisplacementMicromapFeaturesNV<'a> { #[inline] pub fn displacement_micromap(mut self, displacement_micromap: bool) -> Self { @@ -50713,10 +52835,13 @@ impl<'a> PhysicalDeviceDisplacementMicromapFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDisplacementMicromapPropertiesNV<'a> { pub s_type: StructureType, @@ -50724,8 +52849,11 @@ pub struct PhysicalDeviceDisplacementMicromapPropertiesNV<'a> { pub max_displacement_micromap_subdivision_level: u32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceDisplacementMicromapPropertiesNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceDisplacementMicromapPropertiesNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceDisplacementMicromapPropertiesNV<'_> { #[inline] fn default() -> Self { @@ -50737,14 +52865,17 @@ impl ::core::default::Default for PhysicalDeviceDisplacementMicromapPropertiesNV } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceDisplacementMicromapPropertiesNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceDisplacementMicromapPropertiesNV<'_> { } +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceDisplacementMicromapPropertiesNV<'a> { #[inline] pub fn max_displacement_micromap_subdivision_level( @@ -50756,9 +52887,12 @@ impl<'a> PhysicalDeviceDisplacementMicromapPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AccelerationStructureTrianglesDisplacementMicromapNV<'a> { pub s_type: StructureType, @@ -50781,8 +52915,11 @@ pub struct AccelerationStructureTrianglesDisplacementMicromapNV<'a> { pub micromap: MicromapEXT, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for AccelerationStructureTrianglesDisplacementMicromapNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for AccelerationStructureTrianglesDisplacementMicromapNV<'_> {} +#[cfg(feature = "provisional")] #[cfg(feature = "debug")] impl fmt::Debug for AccelerationStructureTrianglesDisplacementMicromapNV<'_> { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { @@ -50823,6 +52960,7 @@ impl fmt::Debug for AccelerationStructureTrianglesDisplacementMicromapNV<'_> { .finish() } } +#[cfg(feature = "provisional")] impl ::core::default::Default for AccelerationStructureTrianglesDisplacementMicromapNV<'_> { #[inline] fn default() -> Self { @@ -50849,14 +52987,17 @@ impl ::core::default::Default for AccelerationStructureTrianglesDisplacementMicr } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for AccelerationStructureTrianglesDisplacementMicromapNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV; } +#[cfg(feature = "provisional")] unsafe impl Extends> for AccelerationStructureTrianglesDisplacementMicromapNV<'_> { } +#[cfg(feature = "provisional")] impl<'a> AccelerationStructureTrianglesDisplacementMicromapNV<'a> { #[inline] pub fn displacement_bias_and_scale_format( @@ -50954,10 +53095,12 @@ impl<'a> AccelerationStructureTrianglesDisplacementMicromapNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelinePropertiesIdentifierEXT<'a> { pub s_type: StructureType, @@ -50988,10 +53131,12 @@ impl<'a> PipelinePropertiesIdentifierEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelinePropertiesFeaturesEXT<'a> { pub s_type: StructureType, @@ -51028,10 +53173,12 @@ impl<'a> PhysicalDevicePipelinePropertiesFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_early_and_late_fragment_tests"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD<'a> { pub s_type: StructureType, @@ -51076,10 +53223,12 @@ impl<'a> PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_external_memory_acquire_unmodified"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalMemoryAcquireUnmodifiedEXT<'a> { pub s_type: StructureType, @@ -51114,10 +53263,12 @@ impl<'a> ExternalMemoryAcquireUnmodifiedEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalObjectCreateInfoEXT<'a> { pub s_type: StructureType, @@ -51155,10 +53306,12 @@ impl<'a> ExportMetalObjectCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalObjectsInfoEXT<'a> { pub s_type: StructureType, @@ -51181,10 +53334,12 @@ unsafe impl<'a> TaggedStructure<'a> for ExportMetalObjectsInfoEXT<'a> { const STRUCTURE_TYPE: StructureType = StructureType::EXPORT_METAL_OBJECTS_INFO_EXT; } impl<'a> ExportMetalObjectsInfoEXT<'a> {} +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalDeviceInfoEXT<'a> { pub s_type: StructureType, @@ -51216,10 +53371,12 @@ impl<'a> ExportMetalDeviceInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalCommandQueueInfoEXT<'a> { pub s_type: StructureType, @@ -51258,10 +53415,12 @@ impl<'a> ExportMetalCommandQueueInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalBufferInfoEXT<'a> { pub s_type: StructureType, @@ -51300,10 +53459,12 @@ impl<'a> ExportMetalBufferInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMetalBufferInfoEXT<'a> { pub s_type: StructureType, @@ -51335,10 +53496,12 @@ impl<'a> ImportMetalBufferInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalTextureInfoEXT<'a> { pub s_type: StructureType, @@ -51398,10 +53561,12 @@ impl<'a> ExportMetalTextureInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMetalTextureInfoEXT<'a> { pub s_type: StructureType, @@ -51440,10 +53605,12 @@ impl<'a> ImportMetalTextureInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalIOSurfaceInfoEXT<'a> { pub s_type: StructureType, @@ -51482,10 +53649,12 @@ impl<'a> ExportMetalIOSurfaceInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMetalIOSurfaceInfoEXT<'a> { pub s_type: StructureType, @@ -51517,10 +53686,12 @@ impl<'a> ImportMetalIOSurfaceInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExportMetalSharedEventInfoEXT<'a> { pub s_type: StructureType, @@ -51566,10 +53737,12 @@ impl<'a> ExportMetalSharedEventInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_metal_objects"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportMetalSharedEventInfoEXT<'a> { pub s_type: StructureType, @@ -51602,10 +53775,12 @@ impl<'a> ImportMetalSharedEventInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_non_seamless_cube_map"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceNonSeamlessCubeMapFeaturesEXT<'a> { pub s_type: StructureType, @@ -51642,10 +53817,12 @@ impl<'a> PhysicalDeviceNonSeamlessCubeMapFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_robustness"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineRobustnessFeaturesEXT<'a> { pub s_type: StructureType, @@ -51682,10 +53859,12 @@ impl<'a> PhysicalDevicePipelineRobustnessFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_robustness"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineRobustnessCreateInfoEXT<'a> { pub s_type: StructureType, @@ -51741,10 +53920,12 @@ impl<'a> PipelineRobustnessCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_robustness"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineRobustnessPropertiesEXT<'a> { pub s_type: StructureType, @@ -51813,10 +53994,12 @@ impl<'a> PhysicalDevicePipelineRobustnessPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageViewSampleWeightCreateInfoQCOM<'a> { pub s_type: StructureType, @@ -51862,10 +54045,12 @@ impl<'a> ImageViewSampleWeightCreateInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageProcessingFeaturesQCOM<'a> { pub s_type: StructureType, @@ -51913,10 +54098,12 @@ impl<'a> PhysicalDeviceImageProcessingFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageProcessingPropertiesQCOM<'a> { pub s_type: StructureType, @@ -51973,10 +54160,12 @@ impl<'a> PhysicalDeviceImageProcessingPropertiesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_tile_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceTilePropertiesFeaturesQCOM<'a> { pub s_type: StructureType, @@ -52010,10 +54199,12 @@ impl<'a> PhysicalDeviceTilePropertiesFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_tile_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct TilePropertiesQCOM<'a> { pub s_type: StructureType, @@ -52058,10 +54249,12 @@ impl<'a> TilePropertiesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_SEC_amigo_profiling"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAmigoProfilingFeaturesSEC<'a> { pub s_type: StructureType, @@ -52095,10 +54288,12 @@ impl<'a> PhysicalDeviceAmigoProfilingFeaturesSEC<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_SEC_amigo_profiling"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AmigoProfilingSubmitInfoSEC<'a> { pub s_type: StructureType, @@ -52137,10 +54332,12 @@ impl<'a> AmigoProfilingSubmitInfoSEC<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT<'a> { pub s_type: StructureType, @@ -52183,10 +54380,12 @@ impl<'a> PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clamp_zero_one"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthClampZeroOneFeaturesEXT<'a> { pub s_type: StructureType, @@ -52223,10 +54422,12 @@ impl<'a> PhysicalDeviceDepthClampZeroOneFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_address_binding_report"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAddressBindingReportFeaturesEXT<'a> { pub s_type: StructureType, @@ -52263,10 +54464,12 @@ impl<'a> PhysicalDeviceAddressBindingReportFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_address_binding_report"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceAddressBindingCallbackDataEXT<'a> { pub s_type: StructureType, @@ -52322,10 +54525,12 @@ impl<'a> DeviceAddressBindingCallbackDataEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceOpticalFlowFeaturesNV<'a> { pub s_type: StructureType, @@ -52358,10 +54563,12 @@ impl<'a> PhysicalDeviceOpticalFlowFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceOpticalFlowPropertiesNV<'a> { pub s_type: StructureType, @@ -52469,10 +54676,12 @@ impl<'a> PhysicalDeviceOpticalFlowPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpticalFlowImageFormatInfoNV<'a> { pub s_type: StructureType, @@ -52505,10 +54714,12 @@ impl<'a> OpticalFlowImageFormatInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpticalFlowImageFormatPropertiesNV<'a> { pub s_type: StructureType, @@ -52539,10 +54750,12 @@ impl<'a> OpticalFlowImageFormatPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpticalFlowSessionCreateInfoNV<'a> { pub s_type: StructureType, @@ -52629,10 +54842,12 @@ impl<'a> OpticalFlowSessionCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpticalFlowSessionCreatePrivateDataInfoNV<'a> { pub s_type: StructureType, @@ -52682,10 +54897,12 @@ impl<'a> OpticalFlowSessionCreatePrivateDataInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OpticalFlowExecuteInfoNV<'a> { pub s_type: StructureType, @@ -52726,10 +54943,12 @@ impl<'a> OpticalFlowExecuteInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFaultFeaturesEXT<'a> { pub s_type: StructureType, @@ -52769,10 +54988,12 @@ impl<'a> PhysicalDeviceFaultFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DeviceFaultAddressInfoEXT { pub address_type: DeviceFaultAddressTypeEXT, @@ -52796,9 +55017,11 @@ impl DeviceFaultAddressInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceFaultVendorInfoEXT { pub description: [c_char; MAX_DESCRIPTION_SIZE], @@ -52848,10 +55071,12 @@ impl DeviceFaultVendorInfoEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceFaultCountsEXT<'a> { pub s_type: StructureType, @@ -52896,9 +55121,11 @@ impl<'a> DeviceFaultCountsEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceFaultInfoEXT<'a> { pub s_type: StructureType, @@ -52969,10 +55196,12 @@ impl<'a> DeviceFaultInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceFaultVendorBinaryHeaderVersionOneEXT { pub header_size: u32, @@ -53065,10 +55294,12 @@ impl DeviceFaultVendorBinaryHeaderVersionOneEXT { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_library_group_handles"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT<'a> { pub s_type: StructureType, @@ -53108,10 +55339,12 @@ impl<'a> PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_bias_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DepthBiasInfoEXT<'a> { pub s_type: StructureType, @@ -53156,10 +55389,12 @@ impl<'a> DepthBiasInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_bias_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DepthBiasRepresentationInfoEXT<'a> { pub s_type: StructureType, @@ -53205,10 +55440,12 @@ impl<'a> DepthBiasRepresentationInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_memory_decompression"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DecompressMemoryRegionNV { pub src_address: DeviceAddress, @@ -53247,10 +55484,12 @@ impl DecompressMemoryRegionNV { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_shader_core_builtins"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderCoreBuiltinsPropertiesARM<'a> { pub s_type: StructureType, @@ -53300,10 +55539,12 @@ impl<'a> PhysicalDeviceShaderCoreBuiltinsPropertiesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_shader_core_builtins"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderCoreBuiltinsFeaturesARM<'a> { pub s_type: StructureType, @@ -53340,10 +55581,12 @@ impl<'a> PhysicalDeviceShaderCoreBuiltinsFeaturesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_frame_boundary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct FrameBoundaryEXT<'a> { pub s_type: StructureType, @@ -53422,10 +55665,12 @@ impl<'a> FrameBoundaryEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_frame_boundary"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceFrameBoundaryFeaturesEXT<'a> { pub s_type: StructureType, @@ -53459,10 +55704,12 @@ impl<'a> PhysicalDeviceFrameBoundaryFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_dynamic_rendering_unused_attachments"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT<'a> { pub s_type: StructureType, @@ -53507,10 +55754,12 @@ impl<'a> PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_surface_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfacePresentModeEXT<'a> { pub s_type: StructureType, @@ -53542,10 +55791,12 @@ impl<'a> SurfacePresentModeEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_surface_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfacePresentScalingCapabilitiesEXT<'a> { pub s_type: StructureType, @@ -53614,10 +55865,12 @@ impl<'a> SurfacePresentScalingCapabilitiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_surface_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SurfacePresentModeCompatibilityEXT<'a> { pub s_type: StructureType, @@ -53652,10 +55905,12 @@ impl<'a> SurfacePresentModeCompatibilityEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSwapchainMaintenance1FeaturesEXT<'a> { pub s_type: StructureType, @@ -53692,10 +55947,12 @@ impl<'a> PhysicalDeviceSwapchainMaintenance1FeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainPresentFenceInfoEXT<'a> { pub s_type: StructureType, @@ -53730,10 +55987,12 @@ impl<'a> SwapchainPresentFenceInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainPresentModesCreateInfoEXT<'a> { pub s_type: StructureType, @@ -53768,10 +56027,12 @@ impl<'a> SwapchainPresentModesCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainPresentModeInfoEXT<'a> { pub s_type: StructureType, @@ -53806,10 +56067,12 @@ impl<'a> SwapchainPresentModeInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainPresentScalingCreateInfoEXT<'a> { pub s_type: StructureType, @@ -53855,10 +56118,12 @@ impl<'a> SwapchainPresentScalingCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ReleaseSwapchainImagesInfoEXT<'a> { pub s_type: StructureType, @@ -53899,10 +56164,12 @@ impl<'a> ReleaseSwapchainImagesInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_bias_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDepthBiasControlFeaturesEXT<'a> { pub s_type: StructureType, @@ -53961,10 +56228,12 @@ impl<'a> PhysicalDeviceDepthBiasControlFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_invocation_reorder"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingInvocationReorderFeaturesNV<'a> { pub s_type: StructureType, @@ -54004,10 +56273,12 @@ impl<'a> PhysicalDeviceRayTracingInvocationReorderFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_invocation_reorder"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingInvocationReorderPropertiesNV<'a> { pub s_type: StructureType, @@ -54048,10 +56319,12 @@ impl<'a> PhysicalDeviceRayTracingInvocationReorderPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_extended_sparse_address_space"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV<'a> { pub s_type: StructureType, @@ -54091,10 +56364,12 @@ impl<'a> PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_extended_sparse_address_space"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExtendedSparseAddressSpacePropertiesNV<'a> { pub s_type: StructureType, @@ -54153,9 +56428,11 @@ impl<'a> PhysicalDeviceExtendedSparseAddressSpacePropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] #[repr(C)] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DirectDriverLoadingInfoLUNARG<'a> { pub s_type: StructureType, @@ -54210,10 +56487,12 @@ impl<'a> DirectDriverLoadingInfoLUNARG<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DirectDriverLoadingListLUNARG<'a> { pub s_type: StructureType, @@ -54255,10 +56534,12 @@ impl<'a> DirectDriverLoadingListLUNARG<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_multiview_per_view_viewports"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM<'a> { pub s_type: StructureType, @@ -54298,10 +56579,12 @@ impl<'a> PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_position_fetch"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRayTracingPositionFetchFeaturesKHR<'a> { pub s_type: StructureType, @@ -54338,10 +56621,12 @@ impl<'a> PhysicalDeviceRayTracingPositionFetchFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance5"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceImageSubresourceInfoKHR<'a> { pub s_type: StructureType, @@ -54379,10 +56664,12 @@ impl<'a> DeviceImageSubresourceInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_shader_core_properties"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderCorePropertiesARM<'a> { pub s_type: StructureType, @@ -54428,10 +56715,12 @@ impl<'a> PhysicalDeviceShaderCorePropertiesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_multiview_per_view_render_areas"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM<'a> { pub s_type: StructureType, @@ -54474,10 +56763,12 @@ impl<'a> PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_multiview_per_view_render_areas"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM<'a> { pub s_type: StructureType, @@ -54517,10 +56808,12 @@ impl<'a> MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct QueryLowLatencySupportNV<'a> { pub s_type: StructureType, @@ -54552,10 +56845,12 @@ impl<'a> QueryLowLatencySupportNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_map_memory2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryMapInfoKHR<'a> { pub s_type: StructureType, @@ -54607,10 +56902,12 @@ impl<'a> MemoryMapInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_map_memory2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryUnmapInfoKHR<'a> { pub s_type: StructureType, @@ -54648,10 +56945,12 @@ impl<'a> MemoryUnmapInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderObjectFeaturesEXT<'a> { pub s_type: StructureType, @@ -54684,10 +56983,12 @@ impl<'a> PhysicalDeviceShaderObjectFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderObjectPropertiesEXT<'a> { pub s_type: StructureType, @@ -54727,10 +57028,12 @@ impl<'a> PhysicalDeviceShaderObjectPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_object"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ShaderCreateInfoEXT<'a> { pub s_type: StructureType, @@ -54834,10 +57137,12 @@ impl<'a> ShaderCreateInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_tile_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderTileImageFeaturesEXT<'a> { pub s_type: StructureType, @@ -54894,10 +57199,12 @@ impl<'a> PhysicalDeviceShaderTileImageFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_tile_image"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderTileImagePropertiesEXT<'a> { pub s_type: StructureType, @@ -54959,10 +57266,12 @@ impl<'a> PhysicalDeviceShaderTileImagePropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImportScreenBufferInfoQNX<'a> { pub s_type: StructureType, @@ -54994,10 +57303,12 @@ impl<'a> ImportScreenBufferInfoQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ScreenBufferPropertiesQNX<'a> { pub s_type: StructureType, @@ -55035,10 +57346,12 @@ impl<'a> ScreenBufferPropertiesQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ScreenBufferFormatPropertiesQNX<'a> { pub s_type: StructureType, @@ -55132,10 +57445,12 @@ impl<'a> ScreenBufferFormatPropertiesQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExternalFormatQNX<'a> { pub s_type: StructureType, @@ -55168,10 +57483,12 @@ impl<'a> ExternalFormatQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX<'a> { pub s_type: StructureType, @@ -55211,10 +57528,12 @@ impl<'a> PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCooperativeMatrixFeaturesKHR<'a> { pub s_type: StructureType, @@ -55262,10 +57581,12 @@ impl<'a> PhysicalDeviceCooperativeMatrixFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct CooperativeMatrixPropertiesKHR<'a> { pub s_type: StructureType, @@ -55352,10 +57673,12 @@ impl<'a> CooperativeMatrixPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_cooperative_matrix"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCooperativeMatrixPropertiesKHR<'a> { pub s_type: StructureType, @@ -55394,10 +57717,13 @@ impl<'a> PhysicalDeviceCooperativeMatrixPropertiesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> { pub s_type: StructureType, @@ -55409,8 +57735,11 @@ pub struct PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> { pub execution_graph_dispatch_address_alignment: u32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> { #[inline] fn default() -> Self { @@ -55426,14 +57755,17 @@ impl ::core::default::Default for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceShaderEnqueuePropertiesAMDX<'_> { } +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> { #[inline] pub fn max_execution_graph_depth(mut self, max_execution_graph_depth: u32) -> Self { @@ -55474,10 +57806,13 @@ impl<'a> PhysicalDeviceShaderEnqueuePropertiesAMDX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> { pub s_type: StructureType, @@ -55485,8 +57820,11 @@ pub struct PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> { pub shader_enqueue: Bool32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> { #[inline] fn default() -> Self { @@ -55498,12 +57836,16 @@ impl ::core::default::Default for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceShaderEnqueueFeaturesAMDX<'_> {} +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> { #[inline] pub fn shader_enqueue(mut self, shader_enqueue: bool) -> Self { @@ -55511,10 +57853,13 @@ impl<'a> PhysicalDeviceShaderEnqueueFeaturesAMDX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExecutionGraphPipelineCreateInfoAMDX<'a> { pub s_type: StructureType, @@ -55528,8 +57873,11 @@ pub struct ExecutionGraphPipelineCreateInfoAMDX<'a> { pub base_pipeline_index: i32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for ExecutionGraphPipelineCreateInfoAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for ExecutionGraphPipelineCreateInfoAMDX<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for ExecutionGraphPipelineCreateInfoAMDX<'_> { #[inline] fn default() -> Self { @@ -55547,9 +57895,11 @@ impl ::core::default::Default for ExecutionGraphPipelineCreateInfoAMDX<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for ExecutionGraphPipelineCreateInfoAMDX<'a> { const STRUCTURE_TYPE: StructureType = StructureType::EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX; } +#[cfg(feature = "provisional")] impl<'a> ExecutionGraphPipelineCreateInfoAMDX<'a> { #[inline] pub fn flags(mut self, flags: PipelineCreateFlags) -> Self { @@ -55583,10 +57933,13 @@ impl<'a> ExecutionGraphPipelineCreateInfoAMDX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PipelineShaderStageNodeCreateInfoAMDX<'a> { pub s_type: StructureType, @@ -55595,8 +57948,11 @@ pub struct PipelineShaderStageNodeCreateInfoAMDX<'a> { pub index: u32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PipelineShaderStageNodeCreateInfoAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PipelineShaderStageNodeCreateInfoAMDX<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PipelineShaderStageNodeCreateInfoAMDX<'_> { #[inline] fn default() -> Self { @@ -55609,14 +57965,17 @@ impl ::core::default::Default for PipelineShaderStageNodeCreateInfoAMDX<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PipelineShaderStageNodeCreateInfoAMDX<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PipelineShaderStageNodeCreateInfoAMDX<'_> { } +#[cfg(feature = "provisional")] impl<'a> PipelineShaderStageNodeCreateInfoAMDX<'a> { #[inline] pub fn name(mut self, name: &'a CStr) -> Self { @@ -55637,10 +57996,13 @@ impl<'a> PipelineShaderStageNodeCreateInfoAMDX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ExecutionGraphPipelineScratchSizeAMDX<'a> { pub s_type: StructureType, @@ -55648,8 +58010,11 @@ pub struct ExecutionGraphPipelineScratchSizeAMDX<'a> { pub size: DeviceSize, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for ExecutionGraphPipelineScratchSizeAMDX<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for ExecutionGraphPipelineScratchSizeAMDX<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for ExecutionGraphPipelineScratchSizeAMDX<'_> { #[inline] fn default() -> Self { @@ -55661,9 +58026,11 @@ impl ::core::default::Default for ExecutionGraphPipelineScratchSizeAMDX<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for ExecutionGraphPipelineScratchSizeAMDX<'a> { const STRUCTURE_TYPE: StructureType = StructureType::EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX; } +#[cfg(feature = "provisional")] impl<'a> ExecutionGraphPipelineScratchSizeAMDX<'a> { #[inline] pub fn size(mut self, size: DeviceSize) -> Self { @@ -55671,9 +58038,12 @@ impl<'a> ExecutionGraphPipelineScratchSizeAMDX<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DispatchGraphInfoAMDX { pub node_index: u32, @@ -55681,6 +58051,7 @@ pub struct DispatchGraphInfoAMDX { pub payloads: DeviceOrHostAddressConstAMDX, pub payload_stride: u64, } +#[cfg(feature = "provisional")] #[cfg(feature = "debug")] impl fmt::Debug for DispatchGraphInfoAMDX { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { @@ -55692,6 +58063,7 @@ impl fmt::Debug for DispatchGraphInfoAMDX { .finish() } } +#[cfg(feature = "provisional")] impl DispatchGraphInfoAMDX { #[inline] pub fn node_index(mut self, node_index: u32) -> Self { @@ -55714,15 +58086,19 @@ impl DispatchGraphInfoAMDX { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[repr(C)] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DispatchGraphCountInfoAMDX { pub count: u32, pub infos: DeviceOrHostAddressConstAMDX, pub stride: u64, } +#[cfg(feature = "provisional")] #[cfg(feature = "debug")] impl fmt::Debug for DispatchGraphCountInfoAMDX { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { @@ -55733,6 +58109,7 @@ impl fmt::Debug for DispatchGraphCountInfoAMDX { .finish() } } +#[cfg(feature = "provisional")] impl DispatchGraphCountInfoAMDX { #[inline] pub fn count(mut self, count: u32) -> Self { @@ -55750,10 +58127,12 @@ impl DispatchGraphCountInfoAMDX { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_anti_lag"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceAntiLagFeaturesAMD<'a> { pub s_type: StructureType, @@ -55786,10 +58165,12 @@ impl<'a> PhysicalDeviceAntiLagFeaturesAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_anti_lag"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AntiLagDataAMD<'a> { pub s_type: StructureType, @@ -55837,10 +58218,12 @@ impl<'a> AntiLagDataAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_anti_lag"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AntiLagPresentationInfoAMD<'a> { pub s_type: StructureType, @@ -55878,10 +58261,12 @@ impl<'a> AntiLagPresentationInfoAMD<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindMemoryStatusKHR<'a> { pub s_type: StructureType, @@ -55914,10 +58299,12 @@ impl<'a> BindMemoryStatusKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindDescriptorSetsInfoKHR<'a> { pub s_type: StructureType, @@ -55982,10 +58369,12 @@ impl<'a> BindDescriptorSetsInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PushConstantsInfoKHR<'a> { pub s_type: StructureType, @@ -56040,10 +58429,12 @@ impl<'a> PushConstantsInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PushDescriptorSetInfoKHR<'a> { pub s_type: StructureType, @@ -56098,10 +58489,12 @@ impl<'a> PushDescriptorSetInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PushDescriptorSetWithTemplateInfoKHR<'a> { pub s_type: StructureType, @@ -56156,10 +58549,12 @@ impl<'a> PushDescriptorSetWithTemplateInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SetDescriptorBufferOffsetsInfoEXT<'a> { pub s_type: StructureType, @@ -56222,10 +58617,12 @@ impl<'a> SetDescriptorBufferOffsetsInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance6"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BindDescriptorBufferEmbeddedSamplersInfoEXT<'a> { pub s_type: StructureType, @@ -56271,10 +58668,12 @@ impl<'a> BindDescriptorBufferEmbeddedSamplersInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_filter_cubic_clamp"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCubicClampFeaturesQCOM<'a> { pub s_type: StructureType, @@ -56307,10 +58706,12 @@ impl<'a> PhysicalDeviceCubicClampFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_ycbcr_degamma"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceYcbcrDegammaFeaturesQCOM<'a> { pub s_type: StructureType, @@ -56344,10 +58745,12 @@ impl<'a> PhysicalDeviceYcbcrDegammaFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_ycbcr_degamma"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM<'a> { pub s_type: StructureType, @@ -56390,10 +58793,12 @@ impl<'a> SamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_filter_cubic_weights"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCubicWeightsFeaturesQCOM<'a> { pub s_type: StructureType, @@ -56427,10 +58832,12 @@ impl<'a> PhysicalDeviceCubicWeightsFeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_filter_cubic_weights"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerCubicWeightsCreateInfoQCOM<'a> { pub s_type: StructureType, @@ -56462,10 +58869,12 @@ impl<'a> SamplerCubicWeightsCreateInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_filter_cubic_weights"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct BlitImageCubicWeightsInfoQCOM<'a> { pub s_type: StructureType, @@ -56497,10 +58906,12 @@ impl<'a> BlitImageCubicWeightsInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageProcessing2FeaturesQCOM<'a> { pub s_type: StructureType, @@ -56537,10 +58948,12 @@ impl<'a> PhysicalDeviceImageProcessing2FeaturesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageProcessing2PropertiesQCOM<'a> { pub s_type: StructureType, @@ -56576,10 +58989,12 @@ impl<'a> PhysicalDeviceImageProcessing2PropertiesQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SamplerBlockMatchWindowCreateInfoQCOM<'a> { pub s_type: StructureType, @@ -56622,10 +59037,12 @@ impl<'a> SamplerBlockMatchWindowCreateInfoQCOM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_descriptor_pool_overallocation"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDescriptorPoolOverallocationFeaturesNV<'a> { pub s_type: StructureType, @@ -56665,10 +59082,12 @@ impl<'a> PhysicalDeviceDescriptorPoolOverallocationFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MSFT_layered_driver"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceLayeredDriverPropertiesMSFT<'a> { pub s_type: StructureType, @@ -56704,10 +59123,12 @@ impl<'a> PhysicalDeviceLayeredDriverPropertiesMSFT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_per_stage_descriptor_set"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDevicePerStageDescriptorSetFeaturesNV<'a> { pub s_type: StructureType, @@ -56751,10 +59172,12 @@ impl<'a> PhysicalDevicePerStageDescriptorSetFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_format_resolve"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalFormatResolveFeaturesANDROID<'a> { pub s_type: StructureType, @@ -56794,10 +59217,12 @@ impl<'a> PhysicalDeviceExternalFormatResolveFeaturesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_format_resolve"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceExternalFormatResolvePropertiesANDROID<'a> { pub s_type: StructureType, @@ -56857,10 +59282,12 @@ impl<'a> PhysicalDeviceExternalFormatResolvePropertiesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ANDROID_external_format_resolve"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct AndroidHardwareBufferFormatResolvePropertiesANDROID<'a> { pub s_type: StructureType, @@ -56896,10 +59323,12 @@ impl<'a> AndroidHardwareBufferFormatResolvePropertiesANDROID<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LatencySleepModeInfoNV<'a> { pub s_type: StructureType, @@ -56944,10 +59373,12 @@ impl<'a> LatencySleepModeInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LatencySleepInfoNV<'a> { pub s_type: StructureType, @@ -56985,10 +59416,12 @@ impl<'a> LatencySleepInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SetLatencyMarkerInfoNV<'a> { pub s_type: StructureType, @@ -57026,10 +59459,12 @@ impl<'a> SetLatencyMarkerInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct GetLatencyMarkerInfoNV<'a> { pub s_type: StructureType, @@ -57063,10 +59498,12 @@ impl<'a> GetLatencyMarkerInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LatencyTimingsFrameReportNV<'a> { pub s_type: StructureType, @@ -57188,10 +59625,12 @@ impl<'a> LatencyTimingsFrameReportNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct OutOfBandQueueTypeInfoNV<'a> { pub s_type: StructureType, @@ -57222,10 +59661,12 @@ impl<'a> OutOfBandQueueTypeInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LatencySubmissionPresentIdNV<'a> { pub s_type: StructureType, @@ -57258,10 +59699,12 @@ impl<'a> LatencySubmissionPresentIdNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct SwapchainLatencyCreateInfoNV<'a> { pub s_type: StructureType, @@ -57293,10 +59736,12 @@ impl<'a> SwapchainLatencyCreateInfoNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct LatencySurfaceCapabilitiesNV<'a> { pub s_type: StructureType, @@ -57331,10 +59776,13 @@ impl<'a> LatencySurfaceCapabilitiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCudaKernelLaunchFeaturesNV<'a> { pub s_type: StructureType, @@ -57342,8 +59790,11 @@ pub struct PhysicalDeviceCudaKernelLaunchFeaturesNV<'a> { pub cuda_kernel_launch_features: Bool32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> { #[inline] fn default() -> Self { @@ -57355,12 +59806,16 @@ impl ::core::default::Default for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> { } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceCudaKernelLaunchFeaturesNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceCudaKernelLaunchFeaturesNV<'_> {} +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceCudaKernelLaunchFeaturesNV<'a> { #[inline] pub fn cuda_kernel_launch_features(mut self, cuda_kernel_launch_features: bool) -> Self { @@ -57368,10 +59823,13 @@ impl<'a> PhysicalDeviceCudaKernelLaunchFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCudaKernelLaunchPropertiesNV<'a> { pub s_type: StructureType, @@ -57380,8 +59838,11 @@ pub struct PhysicalDeviceCudaKernelLaunchPropertiesNV<'a> { pub compute_capability_major: u32, pub _marker: PhantomData<&'a ()>, } +#[cfg(feature = "provisional")] unsafe impl Send for PhysicalDeviceCudaKernelLaunchPropertiesNV<'_> {} +#[cfg(feature = "provisional")] unsafe impl Sync for PhysicalDeviceCudaKernelLaunchPropertiesNV<'_> {} +#[cfg(feature = "provisional")] impl ::core::default::Default for PhysicalDeviceCudaKernelLaunchPropertiesNV<'_> { #[inline] fn default() -> Self { @@ -57394,14 +59855,17 @@ impl ::core::default::Default for PhysicalDeviceCudaKernelLaunchPropertiesNV<'_> } } } +#[cfg(feature = "provisional")] unsafe impl<'a> TaggedStructure<'a> for PhysicalDeviceCudaKernelLaunchPropertiesNV<'a> { const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV; } +#[cfg(feature = "provisional")] unsafe impl Extends> for PhysicalDeviceCudaKernelLaunchPropertiesNV<'_> { } +#[cfg(feature = "provisional")] impl<'a> PhysicalDeviceCudaKernelLaunchPropertiesNV<'a> { #[inline] pub fn compute_capability_minor(mut self, compute_capability_minor: u32) -> Self { @@ -57414,10 +59878,12 @@ impl<'a> PhysicalDeviceCudaKernelLaunchPropertiesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_scheduling_controls"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct DeviceQueueShaderCoreControlCreateInfoARM<'a> { pub s_type: StructureType, @@ -57451,10 +59917,12 @@ impl<'a> DeviceQueueShaderCoreControlCreateInfoARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_scheduling_controls"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSchedulingControlsFeaturesARM<'a> { pub s_type: StructureType, @@ -57491,10 +59959,12 @@ impl<'a> PhysicalDeviceSchedulingControlsFeaturesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_scheduling_controls"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceSchedulingControlsPropertiesARM<'a> { pub s_type: StructureType, @@ -57533,10 +60003,12 @@ impl<'a> PhysicalDeviceSchedulingControlsPropertiesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_IMG_relaxed_line_rasterization"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRelaxedLineRasterizationFeaturesIMG<'a> { pub s_type: StructureType, @@ -57576,10 +60048,12 @@ impl<'a> PhysicalDeviceRelaxedLineRasterizationFeaturesIMG<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_render_pass_striped"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRenderPassStripedFeaturesARM<'a> { pub s_type: StructureType, @@ -57616,10 +60090,12 @@ impl<'a> PhysicalDeviceRenderPassStripedFeaturesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_render_pass_striped"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRenderPassStripedPropertiesARM<'a> { pub s_type: StructureType, @@ -57665,10 +60141,12 @@ impl<'a> PhysicalDeviceRenderPassStripedPropertiesARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_render_pass_striped"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassStripeInfoARM<'a> { pub s_type: StructureType, @@ -57699,10 +60177,12 @@ impl<'a> RenderPassStripeInfoARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_render_pass_striped"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassStripeBeginInfoARM<'a> { pub s_type: StructureType, @@ -57738,10 +60218,12 @@ impl<'a> RenderPassStripeBeginInfoARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_ARM_render_pass_striped"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderPassStripeSubmitInfoARM<'a> { pub s_type: StructureType, @@ -57779,10 +60261,12 @@ impl<'a> RenderPassStripeSubmitInfoARM<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_maximal_reconvergence"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR<'a> { pub s_type: StructureType, @@ -57822,10 +60306,12 @@ impl<'a> PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_subgroup_rotate"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderSubgroupRotateFeaturesKHR<'a> { pub s_type: StructureType, @@ -57872,10 +60358,12 @@ impl<'a> PhysicalDeviceShaderSubgroupRotateFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_expect_assume"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderExpectAssumeFeaturesKHR<'a> { pub s_type: StructureType, @@ -57912,10 +60400,12 @@ impl<'a> PhysicalDeviceShaderExpectAssumeFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_float_controls2"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderFloatControls2FeaturesKHR<'a> { pub s_type: StructureType, @@ -57952,10 +60442,12 @@ impl<'a> PhysicalDeviceShaderFloatControls2FeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR<'a> { pub s_type: StructureType, @@ -57995,10 +60487,12 @@ impl<'a> PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingAttachmentLocationInfoKHR<'a> { pub s_type: StructureType, @@ -58034,10 +60528,12 @@ impl<'a> RenderingAttachmentLocationInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct RenderingInputAttachmentIndexInfoKHR<'a> { pub s_type: StructureType, @@ -58093,10 +60589,12 @@ impl<'a> RenderingInputAttachmentIndexInfoKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_shader_quad_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderQuadControlFeaturesKHR<'a> { pub s_type: StructureType, @@ -58133,10 +60631,12 @@ impl<'a> PhysicalDeviceShaderQuadControlFeaturesKHR<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shader_atomic_float16_vector"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV<'a> { pub s_type: StructureType, @@ -58176,10 +60676,12 @@ impl<'a> PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_map_memory_placed"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMapMemoryPlacedFeaturesEXT<'a> { pub s_type: StructureType, @@ -58227,10 +60729,12 @@ impl<'a> PhysicalDeviceMapMemoryPlacedFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_map_memory_placed"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceMapMemoryPlacedPropertiesEXT<'a> { pub s_type: StructureType, @@ -58269,10 +60773,12 @@ impl<'a> PhysicalDeviceMapMemoryPlacedPropertiesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_map_memory_placed"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct MemoryMapPlacedInfoEXT<'a> { pub s_type: StructureType, @@ -58304,10 +60810,12 @@ impl<'a> MemoryMapPlacedInfoEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_raw_access_chains"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceRawAccessChainsFeaturesNV<'a> { pub s_type: StructureType, @@ -58341,10 +60849,12 @@ impl<'a> PhysicalDeviceRawAccessChainsFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_command_buffer_inheritance"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceCommandBufferInheritanceFeaturesNV<'a> { pub s_type: StructureType, @@ -58381,10 +60891,12 @@ impl<'a> PhysicalDeviceCommandBufferInheritanceFeaturesNV<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MESA_image_alignment_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> { pub s_type: StructureType, @@ -58421,10 +60933,12 @@ impl<'a> PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MESA_image_alignment_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceImageAlignmentControlPropertiesMESA<'a> { pub s_type: StructureType, @@ -58460,10 +60974,12 @@ impl<'a> PhysicalDeviceImageAlignmentControlPropertiesMESA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MESA_image_alignment_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct ImageAlignmentControlCreateInfoMESA<'a> { pub s_type: StructureType, @@ -58495,10 +61011,12 @@ impl<'a> ImageAlignmentControlCreateInfoMESA<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_replicated_composites"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone)] -#[doc = ""] #[must_use] pub struct PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> { pub s_type: StructureType, @@ -58538,10 +61056,12 @@ impl<'a> PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> { self } } +#[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clamp_control"] #[repr(C)] #[cfg_attr(feature = "debug", derive(Debug))] #[derive(Copy, Clone, Default)] -#[doc = ""] #[must_use] pub struct DepthClampRangeEXT { pub min_depth_clamp: f32, diff --git a/ash/src/vk/enums.rs b/ash/src/vk/enums.rs index ee9da963e..70a86ed93 100644 --- a/ash/src/vk/enums.rs +++ b/ash/src/vk/enums.rs @@ -1,7 +1,9 @@ use core::fmt; -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ImageLayout(pub(crate) i32); impl ImageLayout { #[inline] @@ -12,8 +14,6 @@ impl ImageLayout { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ImageLayout { #[doc = "Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)"] pub const UNDEFINED: Self = Self(0); #[doc = "General layout when image can be used for any kind of access"] @@ -33,9 +33,11 @@ impl ImageLayout { #[doc = "Initial layout used when the data is populated by the CPU"] pub const PREINITIALIZED: Self = Self(8); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AttachmentLoadOp(pub(crate) i32); impl AttachmentLoadOp { #[inline] @@ -46,15 +48,15 @@ impl AttachmentLoadOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AttachmentLoadOp { pub const LOAD: Self = Self(0); pub const CLEAR: Self = Self(1); pub const DONT_CARE: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AttachmentStoreOp(pub(crate) i32); impl AttachmentStoreOp { #[inline] @@ -65,14 +67,14 @@ impl AttachmentStoreOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AttachmentStoreOp { pub const STORE: Self = Self(0); pub const DONT_CARE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ImageType(pub(crate) i32); impl ImageType { #[inline] @@ -83,15 +85,15 @@ impl ImageType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ImageType { pub const TYPE_1D: Self = Self(0); pub const TYPE_2D: Self = Self(1); pub const TYPE_3D: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ImageTiling(pub(crate) i32); impl ImageTiling { #[inline] @@ -102,14 +104,14 @@ impl ImageTiling { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ImageTiling { pub const OPTIMAL: Self = Self(0); pub const LINEAR: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ImageViewType(pub(crate) i32); impl ImageViewType { #[inline] @@ -120,8 +122,6 @@ impl ImageViewType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ImageViewType { pub const TYPE_1D: Self = Self(0); pub const TYPE_2D: Self = Self(1); pub const TYPE_3D: Self = Self(2); @@ -130,9 +130,11 @@ impl ImageViewType { pub const TYPE_2D_ARRAY: Self = Self(5); pub const CUBE_ARRAY: Self = Self(6); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CommandBufferLevel(pub(crate) i32); impl CommandBufferLevel { #[inline] @@ -143,14 +145,14 @@ impl CommandBufferLevel { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CommandBufferLevel { pub const PRIMARY: Self = Self(0); pub const SECONDARY: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ComponentSwizzle(pub(crate) i32); impl ComponentSwizzle { #[inline] @@ -161,8 +163,6 @@ impl ComponentSwizzle { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ComponentSwizzle { pub const IDENTITY: Self = Self(0); pub const ZERO: Self = Self(1); pub const ONE: Self = Self(2); @@ -171,9 +171,11 @@ impl ComponentSwizzle { pub const B: Self = Self(5); pub const A: Self = Self(6); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DescriptorType(pub(crate) i32); impl DescriptorType { #[inline] @@ -184,8 +186,6 @@ impl DescriptorType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DescriptorType { pub const SAMPLER: Self = Self(0); pub const COMBINED_IMAGE_SAMPLER: Self = Self(1); pub const SAMPLED_IMAGE: Self = Self(2); @@ -198,9 +198,11 @@ impl DescriptorType { pub const STORAGE_BUFFER_DYNAMIC: Self = Self(9); pub const INPUT_ATTACHMENT: Self = Self(10); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct QueryType(pub(crate) i32); impl QueryType { #[inline] @@ -211,16 +213,16 @@ impl QueryType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl QueryType { pub const OCCLUSION: Self = Self(0); #[doc = "Optional"] pub const PIPELINE_STATISTICS: Self = Self(1); pub const TIMESTAMP: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BorderColor(pub(crate) i32); impl BorderColor { #[inline] @@ -231,8 +233,6 @@ impl BorderColor { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BorderColor { pub const FLOAT_TRANSPARENT_BLACK: Self = Self(0); pub const INT_TRANSPARENT_BLACK: Self = Self(1); pub const FLOAT_OPAQUE_BLACK: Self = Self(2); @@ -240,9 +240,11 @@ impl BorderColor { pub const FLOAT_OPAQUE_WHITE: Self = Self(4); pub const INT_OPAQUE_WHITE: Self = Self(5); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PipelineBindPoint(pub(crate) i32); impl PipelineBindPoint { #[inline] @@ -253,14 +255,14 @@ impl PipelineBindPoint { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PipelineBindPoint { pub const GRAPHICS: Self = Self(0); pub const COMPUTE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PipelineCacheHeaderVersion(pub(crate) i32); impl PipelineCacheHeaderVersion { #[inline] @@ -271,13 +273,13 @@ impl PipelineCacheHeaderVersion { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PipelineCacheHeaderVersion { pub const ONE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PrimitiveTopology(pub(crate) i32); impl PrimitiveTopology { #[inline] @@ -288,8 +290,6 @@ impl PrimitiveTopology { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PrimitiveTopology { pub const POINT_LIST: Self = Self(0); pub const LINE_LIST: Self = Self(1); pub const LINE_STRIP: Self = Self(2); @@ -302,9 +302,11 @@ impl PrimitiveTopology { pub const TRIANGLE_STRIP_WITH_ADJACENCY: Self = Self(9); pub const PATCH_LIST: Self = Self(10); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SharingMode(pub(crate) i32); impl SharingMode { #[inline] @@ -315,14 +317,14 @@ impl SharingMode { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SharingMode { pub const EXCLUSIVE: Self = Self(0); pub const CONCURRENT: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct IndexType(pub(crate) i32); impl IndexType { #[inline] @@ -333,14 +335,14 @@ impl IndexType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl IndexType { pub const UINT16: Self = Self(0); pub const UINT32: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct Filter(pub(crate) i32); impl Filter { #[inline] @@ -351,14 +353,14 @@ impl Filter { pub const fn as_raw(self) -> i32 { self.0 } -} -impl Filter { pub const NEAREST: Self = Self(0); pub const LINEAR: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SamplerMipmapMode(pub(crate) i32); impl SamplerMipmapMode { #[inline] @@ -369,16 +371,16 @@ impl SamplerMipmapMode { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SamplerMipmapMode { #[doc = "Choose nearest mip level"] pub const NEAREST: Self = Self(0); #[doc = "Linear filter between mip levels"] pub const LINEAR: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SamplerAddressMode(pub(crate) i32); impl SamplerAddressMode { #[inline] @@ -389,16 +391,16 @@ impl SamplerAddressMode { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SamplerAddressMode { pub const REPEAT: Self = Self(0); pub const MIRRORED_REPEAT: Self = Self(1); pub const CLAMP_TO_EDGE: Self = Self(2); pub const CLAMP_TO_BORDER: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CompareOp(pub(crate) i32); impl CompareOp { #[inline] @@ -409,8 +411,6 @@ impl CompareOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CompareOp { pub const NEVER: Self = Self(0); pub const LESS: Self = Self(1); pub const EQUAL: Self = Self(2); @@ -420,9 +420,11 @@ impl CompareOp { pub const GREATER_OR_EQUAL: Self = Self(6); pub const ALWAYS: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PolygonMode(pub(crate) i32); impl PolygonMode { #[inline] @@ -433,15 +435,15 @@ impl PolygonMode { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PolygonMode { pub const FILL: Self = Self(0); pub const LINE: Self = Self(1); pub const POINT: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct FrontFace(pub(crate) i32); impl FrontFace { #[inline] @@ -452,14 +454,14 @@ impl FrontFace { pub const fn as_raw(self) -> i32 { self.0 } -} -impl FrontFace { pub const COUNTER_CLOCKWISE: Self = Self(0); pub const CLOCKWISE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BlendFactor(pub(crate) i32); impl BlendFactor { #[inline] @@ -470,8 +472,6 @@ impl BlendFactor { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BlendFactor { pub const ZERO: Self = Self(0); pub const ONE: Self = Self(1); pub const SRC_COLOR: Self = Self(2); @@ -492,9 +492,11 @@ impl BlendFactor { pub const SRC1_ALPHA: Self = Self(17); pub const ONE_MINUS_SRC1_ALPHA: Self = Self(18); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BlendOp(pub(crate) i32); impl BlendOp { #[inline] @@ -505,17 +507,17 @@ impl BlendOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BlendOp { pub const ADD: Self = Self(0); pub const SUBTRACT: Self = Self(1); pub const REVERSE_SUBTRACT: Self = Self(2); pub const MIN: Self = Self(3); pub const MAX: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct StencilOp(pub(crate) i32); impl StencilOp { #[inline] @@ -526,8 +528,6 @@ impl StencilOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl StencilOp { pub const KEEP: Self = Self(0); pub const ZERO: Self = Self(1); pub const REPLACE: Self = Self(2); @@ -537,9 +537,11 @@ impl StencilOp { pub const INCREMENT_AND_WRAP: Self = Self(6); pub const DECREMENT_AND_WRAP: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct LogicOp(pub(crate) i32); impl LogicOp { #[inline] @@ -550,8 +552,6 @@ impl LogicOp { pub const fn as_raw(self) -> i32 { self.0 } -} -impl LogicOp { pub const CLEAR: Self = Self(0); pub const AND: Self = Self(1); pub const AND_REVERSE: Self = Self(2); @@ -569,9 +569,11 @@ impl LogicOp { pub const NAND: Self = Self(14); pub const SET: Self = Self(15); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct InternalAllocationType(pub(crate) i32); impl InternalAllocationType { #[inline] @@ -582,13 +584,13 @@ impl InternalAllocationType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl InternalAllocationType { pub const EXECUTABLE: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SystemAllocationScope(pub(crate) i32); impl SystemAllocationScope { #[inline] @@ -599,17 +601,17 @@ impl SystemAllocationScope { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SystemAllocationScope { pub const COMMAND: Self = Self(0); pub const OBJECT: Self = Self(1); pub const CACHE: Self = Self(2); pub const DEVICE: Self = Self(3); pub const INSTANCE: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PhysicalDeviceType(pub(crate) i32); impl PhysicalDeviceType { #[inline] @@ -620,17 +622,17 @@ impl PhysicalDeviceType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PhysicalDeviceType { pub const OTHER: Self = Self(0); pub const INTEGRATED_GPU: Self = Self(1); pub const DISCRETE_GPU: Self = Self(2); pub const VIRTUAL_GPU: Self = Self(3); pub const CPU: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct VertexInputRate(pub(crate) i32); impl VertexInputRate { #[inline] @@ -641,14 +643,14 @@ impl VertexInputRate { pub const fn as_raw(self) -> i32 { self.0 } -} -impl VertexInputRate { pub const VERTEX: Self = Self(0); pub const INSTANCE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct Format(pub(crate) i32); impl Format { #[inline] @@ -659,8 +661,6 @@ impl Format { pub const fn as_raw(self) -> i32 { self.0 } -} -impl Format { pub const UNDEFINED: Self = Self(0); pub const R4G4_UNORM_PACK8: Self = Self(1); pub const R4G4B4A4_UNORM_PACK16: Self = Self(2); @@ -847,9 +847,11 @@ impl Format { pub const ASTC_12X12_UNORM_BLOCK: Self = Self(183); pub const ASTC_12X12_SRGB_BLOCK: Self = Self(184); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct StructureType(pub(crate) i32); impl StructureType { #[inline] @@ -860,8 +862,6 @@ impl StructureType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl StructureType { pub const APPLICATION_INFO: Self = Self(0); pub const INSTANCE_CREATE_INFO: Self = Self(1); pub const DEVICE_QUEUE_CREATE_INFO: Self = Self(2); @@ -914,9 +914,11 @@ impl StructureType { #[doc = "Reserved for internal use by the loader, layers, and ICDs"] pub const LOADER_DEVICE_CREATE_INFO: Self = Self(48); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SubpassContents(pub(crate) i32); impl SubpassContents { #[inline] @@ -927,14 +929,14 @@ impl SubpassContents { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SubpassContents { pub const INLINE: Self = Self(0); pub const SECONDARY_COMMAND_BUFFERS: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #[must_use] pub struct Result(pub(crate) i32); impl Result { @@ -946,8 +948,6 @@ impl Result { pub const fn as_raw(self) -> i32 { self.0 } -} -impl Result { #[doc = "Command completed successfully"] pub const SUCCESS: Self = Self(0); #[doc = "A fence or query has not yet completed"] @@ -999,9 +999,11 @@ impl fmt::Display for Result { } } } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DynamicState(pub(crate) i32); impl DynamicState { #[inline] @@ -1012,8 +1014,6 @@ impl DynamicState { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DynamicState { pub const VIEWPORT: Self = Self(0); pub const SCISSOR: Self = Self(1); pub const LINE_WIDTH: Self = Self(2); @@ -1024,9 +1024,11 @@ impl DynamicState { pub const STENCIL_WRITE_MASK: Self = Self(7); pub const STENCIL_REFERENCE: Self = Self(8); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DescriptorUpdateTemplateType(pub(crate) i32); impl DescriptorUpdateTemplateType { #[inline] @@ -1037,14 +1039,14 @@ impl DescriptorUpdateTemplateType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DescriptorUpdateTemplateType { #[doc = "Create descriptor update template for descriptor set updates"] pub const DESCRIPTOR_SET: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ObjectType(pub(crate) i32); impl ObjectType { #[inline] @@ -1055,8 +1057,6 @@ impl ObjectType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ObjectType { pub const UNKNOWN: Self = Self(0); pub const INSTANCE: Self = Self(1); pub const PHYSICAL_DEVICE: Self = Self(2); @@ -1084,9 +1084,11 @@ impl ObjectType { pub const FRAMEBUFFER: Self = Self(24); pub const COMMAND_POOL: Self = Self(25); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_invocation_reorder"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct RayTracingInvocationReorderModeNV(pub(crate) i32); impl RayTracingInvocationReorderModeNV { #[inline] @@ -1097,14 +1099,14 @@ impl RayTracingInvocationReorderModeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl RayTracingInvocationReorderModeNV { pub const NONE: Self = Self(0); pub const REORDER: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DirectDriverLoadingModeLUNARG(pub(crate) i32); impl DirectDriverLoadingModeLUNARG { #[inline] @@ -1115,14 +1117,14 @@ impl DirectDriverLoadingModeLUNARG { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DirectDriverLoadingModeLUNARG { pub const EXCLUSIVE: Self = Self(0); pub const INCLUSIVE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_anti_lag"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AntiLagModeAMD(pub(crate) i32); impl AntiLagModeAMD { #[inline] @@ -1133,15 +1135,15 @@ impl AntiLagModeAMD { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AntiLagModeAMD { pub const DRIVER_CONTROL: Self = Self(0); pub const ON: Self = Self(1); pub const OFF: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_anti_lag"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AntiLagStageAMD(pub(crate) i32); impl AntiLagStageAMD { #[inline] @@ -1152,14 +1154,14 @@ impl AntiLagStageAMD { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AntiLagStageAMD { pub const INPUT: Self = Self(0); pub const PRESENT: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SemaphoreType(pub(crate) i32); impl SemaphoreType { #[inline] @@ -1170,14 +1172,14 @@ impl SemaphoreType { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SemaphoreType { pub const BINARY: Self = Self(0); pub const TIMELINE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PresentModeKHR(pub(crate) i32); impl PresentModeKHR { #[inline] @@ -1188,16 +1190,16 @@ impl PresentModeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PresentModeKHR { pub const IMMEDIATE: Self = Self(0); pub const MAILBOX: Self = Self(1); pub const FIFO: Self = Self(2); pub const FIFO_RELAXED: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_surface"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ColorSpaceKHR(pub(crate) i32); impl ColorSpaceKHR { #[inline] @@ -1208,13 +1210,13 @@ impl ColorSpaceKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ColorSpaceKHR { pub const SRGB_NONLINEAR: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_calibrated_timestamps"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct TimeDomainKHR(pub(crate) i32); impl TimeDomainKHR { #[inline] @@ -1225,16 +1227,16 @@ impl TimeDomainKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl TimeDomainKHR { pub const DEVICE: Self = Self(0); pub const CLOCK_MONOTONIC: Self = Self(1); pub const CLOCK_MONOTONIC_RAW: Self = Self(2); pub const QUERY_PERFORMANCE_COUNTER: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_debug_report, VK_EXT_debug_marker"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DebugReportObjectTypeEXT(pub(crate) i32); impl DebugReportObjectTypeEXT { #[inline] @@ -1245,8 +1247,6 @@ impl DebugReportObjectTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DebugReportObjectTypeEXT { pub const UNKNOWN: Self = Self(0); pub const INSTANCE: Self = Self(1); pub const PHYSICAL_DEVICE: Self = Self(2); @@ -1280,9 +1280,11 @@ impl DebugReportObjectTypeEXT { pub const DISPLAY_MODE_KHR: Self = Self(30); pub const VALIDATION_CACHE_EXT: Self = Self(33); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_memory_report"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DeviceMemoryReportEventTypeEXT(pub(crate) i32); impl DeviceMemoryReportEventTypeEXT { #[inline] @@ -1293,17 +1295,17 @@ impl DeviceMemoryReportEventTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DeviceMemoryReportEventTypeEXT { pub const ALLOCATE: Self = Self(0); pub const FREE: Self = Self(1); pub const IMPORT: Self = Self(2); pub const UNIMPORT: Self = Self(3); pub const ALLOCATION_FAILED: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_rasterization_order"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct RasterizationOrderAMD(pub(crate) i32); impl RasterizationOrderAMD { #[inline] @@ -1314,14 +1316,14 @@ impl RasterizationOrderAMD { pub const fn as_raw(self) -> i32 { self.0 } -} -impl RasterizationOrderAMD { pub const STRICT: Self = Self(0); pub const RELAXED: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_flags"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ValidationCheckEXT(pub(crate) i32); impl ValidationCheckEXT { #[inline] @@ -1332,14 +1334,14 @@ impl ValidationCheckEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ValidationCheckEXT { pub const ALL: Self = Self(0); pub const SHADERS: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_features"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ValidationFeatureEnableEXT(pub(crate) i32); impl ValidationFeatureEnableEXT { #[inline] @@ -1350,17 +1352,17 @@ impl ValidationFeatureEnableEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ValidationFeatureEnableEXT { pub const GPU_ASSISTED: Self = Self(0); pub const GPU_ASSISTED_RESERVE_BINDING_SLOT: Self = Self(1); pub const BEST_PRACTICES: Self = Self(2); pub const DEBUG_PRINTF: Self = Self(3); pub const SYNCHRONIZATION_VALIDATION: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_features"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ValidationFeatureDisableEXT(pub(crate) i32); impl ValidationFeatureDisableEXT { #[inline] @@ -1371,8 +1373,6 @@ impl ValidationFeatureDisableEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ValidationFeatureDisableEXT { pub const ALL: Self = Self(0); pub const SHADERS: Self = Self(1); pub const THREAD_SAFETY: Self = Self(2); @@ -1382,9 +1382,11 @@ impl ValidationFeatureDisableEXT { pub const UNIQUE_HANDLES: Self = Self(6); pub const SHADER_VALIDATION_CACHE: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_layer_settings"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct LayerSettingTypeEXT(pub(crate) i32); impl LayerSettingTypeEXT { #[inline] @@ -1395,8 +1397,6 @@ impl LayerSettingTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl LayerSettingTypeEXT { pub const BOOL32: Self = Self(0); pub const INT32: Self = Self(1); pub const INT64: Self = Self(2); @@ -1406,9 +1406,11 @@ impl LayerSettingTypeEXT { pub const FLOAT64: Self = Self(6); pub const STRING: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_device_generated_commands"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct IndirectCommandsTokenTypeNV(pub(crate) i32); impl IndirectCommandsTokenTypeNV { #[inline] @@ -1419,8 +1421,6 @@ impl IndirectCommandsTokenTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl IndirectCommandsTokenTypeNV { pub const SHADER_GROUP: Self = Self(0); pub const STATE_FLAGS: Self = Self(1); pub const INDEX_BUFFER: Self = Self(2); @@ -1430,9 +1430,11 @@ impl IndirectCommandsTokenTypeNV { pub const DRAW: Self = Self(6); pub const DRAW_TASKS: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DisplayPowerStateEXT(pub(crate) i32); impl DisplayPowerStateEXT { #[inline] @@ -1443,15 +1445,15 @@ impl DisplayPowerStateEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DisplayPowerStateEXT { pub const OFF: Self = Self(0); pub const SUSPEND: Self = Self(1); pub const ON: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DeviceEventTypeEXT(pub(crate) i32); impl DeviceEventTypeEXT { #[inline] @@ -1462,13 +1464,13 @@ impl DeviceEventTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DeviceEventTypeEXT { pub const DISPLAY_HOTPLUG: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_display_control"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DisplayEventTypeEXT(pub(crate) i32); impl DisplayEventTypeEXT { #[inline] @@ -1479,13 +1481,13 @@ impl DisplayEventTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DisplayEventTypeEXT { pub const FIRST_PIXEL_OUT: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_viewport_swizzle"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ViewportCoordinateSwizzleNV(pub(crate) i32); impl ViewportCoordinateSwizzleNV { #[inline] @@ -1496,8 +1498,6 @@ impl ViewportCoordinateSwizzleNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ViewportCoordinateSwizzleNV { pub const POSITIVE_X: Self = Self(0); pub const NEGATIVE_X: Self = Self(1); pub const POSITIVE_Y: Self = Self(2); @@ -1507,9 +1507,11 @@ impl ViewportCoordinateSwizzleNV { pub const POSITIVE_W: Self = Self(6); pub const NEGATIVE_W: Self = Self(7); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_discard_rectangles"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DiscardRectangleModeEXT(pub(crate) i32); impl DiscardRectangleModeEXT { #[inline] @@ -1520,14 +1522,14 @@ impl DiscardRectangleModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DiscardRectangleModeEXT { pub const INCLUSIVE: Self = Self(0); pub const EXCLUSIVE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PointClippingBehavior(pub(crate) i32); impl PointClippingBehavior { #[inline] @@ -1538,14 +1540,14 @@ impl PointClippingBehavior { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PointClippingBehavior { pub const ALL_CLIP_PLANES: Self = Self(0); pub const USER_CLIP_PLANES_ONLY: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SamplerReductionMode(pub(crate) i32); impl SamplerReductionMode { #[inline] @@ -1556,15 +1558,15 @@ impl SamplerReductionMode { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SamplerReductionMode { pub const WEIGHTED_AVERAGE: Self = Self(0); pub const MIN: Self = Self(1); pub const MAX: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct TessellationDomainOrigin(pub(crate) i32); impl TessellationDomainOrigin { #[inline] @@ -1575,14 +1577,14 @@ impl TessellationDomainOrigin { pub const fn as_raw(self) -> i32 { self.0 } -} -impl TessellationDomainOrigin { pub const UPPER_LEFT: Self = Self(0); pub const LOWER_LEFT: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SamplerYcbcrModelConversion(pub(crate) i32); impl SamplerYcbcrModelConversion { #[inline] @@ -1593,8 +1595,6 @@ impl SamplerYcbcrModelConversion { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SamplerYcbcrModelConversion { pub const RGB_IDENTITY: Self = Self(0); #[doc = "just range expansion"] pub const YCBCR_IDENTITY: Self = Self(1); @@ -1605,9 +1605,11 @@ impl SamplerYcbcrModelConversion { #[doc = "aka UHD YUV"] pub const YCBCR_2020: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SamplerYcbcrRange(pub(crate) i32); impl SamplerYcbcrRange { #[inline] @@ -1618,16 +1620,16 @@ impl SamplerYcbcrRange { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SamplerYcbcrRange { #[doc = "Luma 0..1 maps to 0..255, chroma -0.5..0.5 to 1..255 (clamped)"] pub const ITU_FULL: Self = Self(0); #[doc = "Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240"] pub const ITU_NARROW: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_1"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ChromaLocation(pub(crate) i32); impl ChromaLocation { #[inline] @@ -1638,14 +1640,14 @@ impl ChromaLocation { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ChromaLocation { pub const COSITED_EVEN: Self = Self(0); pub const MIDPOINT: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BlendOverlapEXT(pub(crate) i32); impl BlendOverlapEXT { #[inline] @@ -1656,15 +1658,15 @@ impl BlendOverlapEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BlendOverlapEXT { pub const UNCORRELATED: Self = Self(0); pub const DISJOINT: Self = Self(1); pub const CONJOINT: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_framebuffer_mixed_samples"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CoverageModulationModeNV(pub(crate) i32); impl CoverageModulationModeNV { #[inline] @@ -1675,16 +1677,16 @@ impl CoverageModulationModeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CoverageModulationModeNV { pub const NONE: Self = Self(0); pub const RGB: Self = Self(1); pub const ALPHA: Self = Self(2); pub const RGBA: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CoverageReductionModeNV(pub(crate) i32); impl CoverageReductionModeNV { #[inline] @@ -1695,14 +1697,14 @@ impl CoverageReductionModeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CoverageReductionModeNV { pub const MERGE: Self = Self(0); pub const TRUNCATE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_validation_cache"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ValidationCacheHeaderVersionEXT(pub(crate) i32); impl ValidationCacheHeaderVersionEXT { #[inline] @@ -1713,13 +1715,13 @@ impl ValidationCacheHeaderVersionEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ValidationCacheHeaderVersionEXT { pub const ONE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_shader_info"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ShaderInfoTypeAMD(pub(crate) i32); impl ShaderInfoTypeAMD { #[inline] @@ -1730,15 +1732,15 @@ impl ShaderInfoTypeAMD { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ShaderInfoTypeAMD { pub const STATISTICS: Self = Self(0); pub const BINARY: Self = Self(1); pub const DISASSEMBLY: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_global_priority"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct QueueGlobalPriorityKHR(pub(crate) i32); impl QueueGlobalPriorityKHR { #[inline] @@ -1749,8 +1751,6 @@ impl QueueGlobalPriorityKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl QueueGlobalPriorityKHR { pub const LOW: Self = Self(128); pub const MEDIUM: Self = Self(256); pub const HIGH: Self = Self(512); @@ -1760,9 +1760,11 @@ impl QueueGlobalPriorityKHR { pub const HIGH_EXT: Self = Self::HIGH; pub const REALTIME_EXT: Self = Self::REALTIME; } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_conservative_rasterization"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ConservativeRasterizationModeEXT(pub(crate) i32); impl ConservativeRasterizationModeEXT { #[inline] @@ -1773,15 +1775,15 @@ impl ConservativeRasterizationModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ConservativeRasterizationModeEXT { pub const DISABLED: Self = Self(0); pub const OVERESTIMATE: Self = Self(1); pub const UNDERESTIMATE: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_0"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct VendorId(pub(crate) i32); impl VendorId { #[inline] @@ -1792,8 +1794,6 @@ impl VendorId { pub const fn as_raw(self) -> i32 { self.0 } -} -impl VendorId { #[doc = "Khronos vendor ID"] pub const KHRONOS: Self = Self(0x1_0000); #[doc = "Vivante vendor ID"] @@ -1811,9 +1811,11 @@ impl VendorId { #[doc = "Mobileye vendor ID"] pub const MOBILEYE: Self = Self(0x1_0007); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DriverId(pub(crate) i32); impl DriverId { #[inline] @@ -1824,8 +1826,6 @@ impl DriverId { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DriverId { #[doc = "Advanced Micro Devices, Inc."] pub const AMD_PROPRIETARY: Self = Self(1); #[doc = "Advanced Micro Devices, Inc."] @@ -1881,9 +1881,11 @@ impl DriverId { #[doc = "Reserved for undisclosed driver project"] pub const RESERVED_27: Self = Self(27); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ShadingRatePaletteEntryNV(pub(crate) i32); impl ShadingRatePaletteEntryNV { #[inline] @@ -1894,8 +1896,6 @@ impl ShadingRatePaletteEntryNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ShadingRatePaletteEntryNV { pub const NO_INVOCATIONS: Self = Self(0); pub const TYPE_16_INVOCATIONS_PER_PIXEL: Self = Self(1); pub const TYPE_8_INVOCATIONS_PER_PIXEL: Self = Self(2); @@ -1909,9 +1909,11 @@ impl ShadingRatePaletteEntryNV { pub const TYPE_1_INVOCATION_PER_2X4_PIXELS: Self = Self(10); pub const TYPE_1_INVOCATION_PER_4X4_PIXELS: Self = Self(11); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_shading_rate_image"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CoarseSampleOrderTypeNV(pub(crate) i32); impl CoarseSampleOrderTypeNV { #[inline] @@ -1922,16 +1924,16 @@ impl CoarseSampleOrderTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CoarseSampleOrderTypeNV { pub const DEFAULT: Self = Self(0); pub const CUSTOM: Self = Self(1); pub const PIXEL_MAJOR: Self = Self(2); pub const SAMPLE_MAJOR: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CopyAccelerationStructureModeKHR(pub(crate) i32); impl CopyAccelerationStructureModeKHR { #[inline] @@ -1942,16 +1944,16 @@ impl CopyAccelerationStructureModeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CopyAccelerationStructureModeKHR { pub const CLONE: Self = Self(0); pub const COMPACT: Self = Self(1); pub const SERIALIZE: Self = Self(2); pub const DESERIALIZE: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BuildAccelerationStructureModeKHR(pub(crate) i32); impl BuildAccelerationStructureModeKHR { #[inline] @@ -1962,14 +1964,14 @@ impl BuildAccelerationStructureModeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BuildAccelerationStructureModeKHR { pub const BUILD: Self = Self(0); pub const UPDATE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AccelerationStructureTypeKHR(pub(crate) i32); impl AccelerationStructureTypeKHR { #[inline] @@ -1980,15 +1982,15 @@ impl AccelerationStructureTypeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AccelerationStructureTypeKHR { pub const TOP_LEVEL: Self = Self(0); pub const BOTTOM_LEVEL: Self = Self(1); pub const GENERIC: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct GeometryTypeKHR(pub(crate) i32); impl GeometryTypeKHR { #[inline] @@ -1999,15 +2001,15 @@ impl GeometryTypeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl GeometryTypeKHR { pub const TRIANGLES: Self = Self(0); pub const AABBS: Self = Self(1); pub const INSTANCES: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AccelerationStructureMemoryRequirementsTypeNV(pub(crate) i32); impl AccelerationStructureMemoryRequirementsTypeNV { #[inline] @@ -2018,15 +2020,15 @@ impl AccelerationStructureMemoryRequirementsTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AccelerationStructureMemoryRequirementsTypeNV { pub const OBJECT: Self = Self(0); pub const BUILD_SCRATCH: Self = Self(1); pub const UPDATE_SCRATCH: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AccelerationStructureBuildTypeKHR(pub(crate) i32); impl AccelerationStructureBuildTypeKHR { #[inline] @@ -2037,15 +2039,15 @@ impl AccelerationStructureBuildTypeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AccelerationStructureBuildTypeKHR { pub const HOST: Self = Self(0); pub const DEVICE: Self = Self(1); pub const HOST_OR_DEVICE: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct RayTracingShaderGroupTypeKHR(pub(crate) i32); impl RayTracingShaderGroupTypeKHR { #[inline] @@ -2056,15 +2058,15 @@ impl RayTracingShaderGroupTypeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl RayTracingShaderGroupTypeKHR { pub const GENERAL: Self = Self(0); pub const TRIANGLES_HIT_GROUP: Self = Self(1); pub const PROCEDURAL_HIT_GROUP: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_acceleration_structure"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AccelerationStructureCompatibilityKHR(pub(crate) i32); impl AccelerationStructureCompatibilityKHR { #[inline] @@ -2075,14 +2077,14 @@ impl AccelerationStructureCompatibilityKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AccelerationStructureCompatibilityKHR { pub const COMPATIBLE: Self = Self(0); pub const INCOMPATIBLE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ShaderGroupShaderKHR(pub(crate) i32); impl ShaderGroupShaderKHR { #[inline] @@ -2093,16 +2095,16 @@ impl ShaderGroupShaderKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ShaderGroupShaderKHR { pub const GENERAL: Self = Self(0); pub const CLOSEST_HIT: Self = Self(1); pub const ANY_HIT: Self = Self(2); pub const INTERSECTION: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_AMD_memory_overallocation_behavior"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct MemoryOverallocationBehaviorAMD(pub(crate) i32); impl MemoryOverallocationBehaviorAMD { #[inline] @@ -2113,15 +2115,15 @@ impl MemoryOverallocationBehaviorAMD { pub const fn as_raw(self) -> i32 { self.0 } -} -impl MemoryOverallocationBehaviorAMD { pub const DEFAULT: Self = Self(0); pub const ALLOWED: Self = Self(1); pub const DISALLOWED: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct FullScreenExclusiveEXT(pub(crate) i32); impl FullScreenExclusiveEXT { #[inline] @@ -2132,16 +2134,16 @@ impl FullScreenExclusiveEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl FullScreenExclusiveEXT { pub const DEFAULT: Self = Self(0); pub const ALLOWED: Self = Self(1); pub const DISALLOWED: Self = Self(2); pub const APPLICATION_CONTROLLED: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceCounterScopeKHR(pub(crate) i32); impl PerformanceCounterScopeKHR { #[inline] @@ -2152,15 +2154,15 @@ impl PerformanceCounterScopeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceCounterScopeKHR { pub const COMMAND_BUFFER: Self = Self(0); pub const RENDER_PASS: Self = Self(1); pub const COMMAND: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceCounterUnitKHR(pub(crate) i32); impl PerformanceCounterUnitKHR { #[inline] @@ -2171,8 +2173,6 @@ impl PerformanceCounterUnitKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceCounterUnitKHR { pub const GENERIC: Self = Self(0); pub const PERCENTAGE: Self = Self(1); pub const NANOSECONDS: Self = Self(2); @@ -2185,9 +2185,11 @@ impl PerformanceCounterUnitKHR { pub const HERTZ: Self = Self(9); pub const CYCLES: Self = Self(10); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceCounterStorageKHR(pub(crate) i32); impl PerformanceCounterStorageKHR { #[inline] @@ -2198,8 +2200,6 @@ impl PerformanceCounterStorageKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceCounterStorageKHR { pub const INT32: Self = Self(0); pub const INT64: Self = Self(1); pub const UINT32: Self = Self(2); @@ -2207,9 +2207,11 @@ impl PerformanceCounterStorageKHR { pub const FLOAT32: Self = Self(4); pub const FLOAT64: Self = Self(5); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceConfigurationTypeINTEL(pub(crate) i32); impl PerformanceConfigurationTypeINTEL { #[inline] @@ -2220,13 +2222,13 @@ impl PerformanceConfigurationTypeINTEL { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceConfigurationTypeINTEL { pub const COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct QueryPoolSamplingModeINTEL(pub(crate) i32); impl QueryPoolSamplingModeINTEL { #[inline] @@ -2237,13 +2239,13 @@ impl QueryPoolSamplingModeINTEL { pub const fn as_raw(self) -> i32 { self.0 } -} -impl QueryPoolSamplingModeINTEL { pub const MANUAL: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceOverrideTypeINTEL(pub(crate) i32); impl PerformanceOverrideTypeINTEL { #[inline] @@ -2254,14 +2256,14 @@ impl PerformanceOverrideTypeINTEL { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceOverrideTypeINTEL { pub const NULL_HARDWARE: Self = Self(0); pub const FLUSH_GPU_CACHES: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceParameterTypeINTEL(pub(crate) i32); impl PerformanceParameterTypeINTEL { #[inline] @@ -2272,14 +2274,14 @@ impl PerformanceParameterTypeINTEL { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceParameterTypeINTEL { pub const HW_COUNTERS_SUPPORTED: Self = Self(0); pub const STREAM_MARKER_VALIDS: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_INTEL_performance_query"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PerformanceValueTypeINTEL(pub(crate) i32); impl PerformanceValueTypeINTEL { #[inline] @@ -2290,17 +2292,17 @@ impl PerformanceValueTypeINTEL { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PerformanceValueTypeINTEL { pub const UINT32: Self = Self(0); pub const UINT64: Self = Self(1); pub const FLOAT: Self = Self(2); pub const BOOL: Self = Self(3); pub const STRING: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_VERSION_1_2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ShaderFloatControlsIndependence(pub(crate) i32); impl ShaderFloatControlsIndependence { #[inline] @@ -2311,15 +2313,15 @@ impl ShaderFloatControlsIndependence { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ShaderFloatControlsIndependence { pub const TYPE_32_ONLY: Self = Self(0); pub const ALL: Self = Self(1); pub const NONE: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PipelineExecutableStatisticFormatKHR(pub(crate) i32); impl PipelineExecutableStatisticFormatKHR { #[inline] @@ -2330,16 +2332,16 @@ impl PipelineExecutableStatisticFormatKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PipelineExecutableStatisticFormatKHR { pub const BOOL32: Self = Self(0); pub const INT64: Self = Self(1); pub const UINT64: Self = Self(2); pub const FLOAT64: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_line_rasterization"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct LineRasterizationModeKHR(pub(crate) i32); impl LineRasterizationModeKHR { #[inline] @@ -2350,8 +2352,6 @@ impl LineRasterizationModeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl LineRasterizationModeKHR { pub const DEFAULT: Self = Self(0); pub const DEFAULT_EXT: Self = Self::DEFAULT; pub const RECTANGULAR: Self = Self(1); @@ -2361,9 +2361,11 @@ impl LineRasterizationModeKHR { pub const RECTANGULAR_SMOOTH: Self = Self(3); pub const RECTANGULAR_SMOOTH_EXT: Self = Self::RECTANGULAR_SMOOTH; } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct FragmentShadingRateCombinerOpKHR(pub(crate) i32); impl FragmentShadingRateCombinerOpKHR { #[inline] @@ -2374,17 +2376,17 @@ impl FragmentShadingRateCombinerOpKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl FragmentShadingRateCombinerOpKHR { pub const KEEP: Self = Self(0); pub const REPLACE: Self = Self(1); pub const MIN: Self = Self(2); pub const MAX: Self = Self(3); pub const MUL: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct FragmentShadingRateNV(pub(crate) i32); impl FragmentShadingRateNV { #[inline] @@ -2395,8 +2397,6 @@ impl FragmentShadingRateNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl FragmentShadingRateNV { pub const TYPE_1_INVOCATION_PER_PIXEL: Self = Self(0); pub const TYPE_1_INVOCATION_PER_1X2_PIXELS: Self = Self(1); pub const TYPE_1_INVOCATION_PER_2X1_PIXELS: Self = Self(4); @@ -2410,9 +2410,11 @@ impl FragmentShadingRateNV { pub const TYPE_16_INVOCATIONS_PER_PIXEL: Self = Self(14); pub const NO_INVOCATIONS: Self = Self(15); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct FragmentShadingRateTypeNV(pub(crate) i32); impl FragmentShadingRateTypeNV { #[inline] @@ -2423,14 +2425,14 @@ impl FragmentShadingRateTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl FragmentShadingRateTypeNV { pub const FRAGMENT_SIZE: Self = Self(0); pub const ENUMS: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct SubpassMergeStatusEXT(pub(crate) i32); impl SubpassMergeStatusEXT { #[inline] @@ -2441,8 +2443,6 @@ impl SubpassMergeStatusEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl SubpassMergeStatusEXT { pub const MERGED: Self = Self(0); pub const DISALLOWED: Self = Self(1); pub const NOT_MERGED_SIDE_EFFECTS: Self = Self(2); @@ -2458,9 +2458,11 @@ impl SubpassMergeStatusEXT { pub const NOT_MERGED_SINGLE_SUBPASS: Self = Self(12); pub const NOT_MERGED_UNSPECIFIED: Self = Self(13); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_provoking_vertex"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ProvokingVertexModeEXT(pub(crate) i32); impl ProvokingVertexModeEXT { #[inline] @@ -2471,14 +2473,14 @@ impl ProvokingVertexModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ProvokingVertexModeEXT { pub const FIRST_VERTEX: Self = Self(0); pub const LAST_VERTEX: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct AccelerationStructureMotionInstanceTypeNV(pub(crate) i32); impl AccelerationStructureMotionInstanceTypeNV { #[inline] @@ -2489,15 +2491,15 @@ impl AccelerationStructureMotionInstanceTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl AccelerationStructureMotionInstanceTypeNV { pub const STATIC: Self = Self(0); pub const MATRIX_MOTION: Self = Self(1); pub const SRT_MOTION: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_address_binding_report"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DeviceAddressBindingTypeEXT(pub(crate) i32); impl DeviceAddressBindingTypeEXT { #[inline] @@ -2508,14 +2510,14 @@ impl DeviceAddressBindingTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DeviceAddressBindingTypeEXT { pub const BIND: Self = Self(0); pub const UNBIND: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_queue"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct QueryResultStatusKHR(pub(crate) i32); impl QueryResultStatusKHR { #[inline] @@ -2526,15 +2528,15 @@ impl QueryResultStatusKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl QueryResultStatusKHR { pub const ERROR: Self = Self(-1); pub const NOT_READY: Self = Self(0); pub const COMPLETE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_video_encode_queue"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct VideoEncodeTuningModeKHR(pub(crate) i32); impl VideoEncodeTuningModeKHR { #[inline] @@ -2545,17 +2547,17 @@ impl VideoEncodeTuningModeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl VideoEncodeTuningModeKHR { pub const DEFAULT: Self = Self(0); pub const HIGH_QUALITY: Self = Self(1); pub const LOW_LATENCY: Self = Self(2); pub const ULTRA_LOW_LATENCY: Self = Self(3); pub const LOSSLESS: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_robustness"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PipelineRobustnessBufferBehaviorEXT(pub(crate) i32); impl PipelineRobustnessBufferBehaviorEXT { #[inline] @@ -2566,16 +2568,16 @@ impl PipelineRobustnessBufferBehaviorEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PipelineRobustnessBufferBehaviorEXT { pub const DEVICE_DEFAULT: Self = Self(0); pub const DISABLED: Self = Self(1); pub const ROBUST_BUFFER_ACCESS: Self = Self(2); pub const ROBUST_BUFFER_ACCESS_2: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_pipeline_robustness"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PipelineRobustnessImageBehaviorEXT(pub(crate) i32); impl PipelineRobustnessImageBehaviorEXT { #[inline] @@ -2586,16 +2588,16 @@ impl PipelineRobustnessImageBehaviorEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PipelineRobustnessImageBehaviorEXT { pub const DEVICE_DEFAULT: Self = Self(0); pub const DISABLED: Self = Self(1); pub const ROBUST_IMAGE_ACCESS: Self = Self(2); pub const ROBUST_IMAGE_ACCESS_2: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct OpticalFlowPerformanceLevelNV(pub(crate) i32); impl OpticalFlowPerformanceLevelNV { #[inline] @@ -2606,16 +2608,16 @@ impl OpticalFlowPerformanceLevelNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl OpticalFlowPerformanceLevelNV { pub const UNKNOWN: Self = Self(0); pub const SLOW: Self = Self(1); pub const MEDIUM: Self = Self(2); pub const FAST: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_optical_flow"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct OpticalFlowSessionBindingPointNV(pub(crate) i32); impl OpticalFlowSessionBindingPointNV { #[inline] @@ -2626,8 +2628,6 @@ impl OpticalFlowSessionBindingPointNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl OpticalFlowSessionBindingPointNV { pub const UNKNOWN: Self = Self(0); pub const INPUT: Self = Self(1); pub const REFERENCE: Self = Self(2); @@ -2638,9 +2638,11 @@ impl OpticalFlowSessionBindingPointNV { pub const BACKWARD_COST: Self = Self(7); pub const GLOBAL_FLOW: Self = Self(8); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct MicromapTypeEXT(pub(crate) i32); impl MicromapTypeEXT { #[inline] @@ -2651,13 +2653,13 @@ impl MicromapTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl MicromapTypeEXT { pub const OPACITY_MICROMAP: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CopyMicromapModeEXT(pub(crate) i32); impl CopyMicromapModeEXT { #[inline] @@ -2668,16 +2670,16 @@ impl CopyMicromapModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CopyMicromapModeEXT { pub const CLONE: Self = Self(0); pub const SERIALIZE: Self = Self(1); pub const DESERIALIZE: Self = Self(2); pub const COMPACT: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BuildMicromapModeEXT(pub(crate) i32); impl BuildMicromapModeEXT { #[inline] @@ -2688,13 +2690,13 @@ impl BuildMicromapModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BuildMicromapModeEXT { pub const BUILD: Self = Self(0); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct OpacityMicromapFormatEXT(pub(crate) i32); impl OpacityMicromapFormatEXT { #[inline] @@ -2705,14 +2707,14 @@ impl OpacityMicromapFormatEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl OpacityMicromapFormatEXT { pub const TYPE_2_STATE: Self = Self(1); pub const TYPE_4_STATE: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_opacity_micromap"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct OpacityMicromapSpecialIndexEXT(pub(crate) i32); impl OpacityMicromapSpecialIndexEXT { #[inline] @@ -2723,16 +2725,16 @@ impl OpacityMicromapSpecialIndexEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl OpacityMicromapSpecialIndexEXT { pub const FULLY_TRANSPARENT: Self = Self(-1); pub const FULLY_OPAQUE: Self = Self(-2); pub const FULLY_UNKNOWN_TRANSPARENT: Self = Self(-3); pub const FULLY_UNKNOWN_OPAQUE: Self = Self(-4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_bias_control"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DepthBiasRepresentationEXT(pub(crate) i32); impl DepthBiasRepresentationEXT { #[inline] @@ -2743,15 +2745,15 @@ impl DepthBiasRepresentationEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DepthBiasRepresentationEXT { pub const LEAST_REPRESENTABLE_VALUE_FORMAT: Self = Self(0); pub const LEAST_REPRESENTABLE_VALUE_FORCE_UNORM: Self = Self(1); pub const FLOAT: Self = Self(2); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DeviceFaultAddressTypeEXT(pub(crate) i32); impl DeviceFaultAddressTypeEXT { #[inline] @@ -2762,8 +2764,6 @@ impl DeviceFaultAddressTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DeviceFaultAddressTypeEXT { #[doc = "Currently unused"] pub const NONE: Self = Self(0); pub const READ_INVALID: Self = Self(1); @@ -2773,9 +2773,11 @@ impl DeviceFaultAddressTypeEXT { pub const INSTRUCTION_POINTER_INVALID: Self = Self(5); pub const INSTRUCTION_POINTER_FAULT: Self = Self(6); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_fault"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DeviceFaultVendorBinaryHeaderVersionEXT(pub(crate) i32); impl DeviceFaultVendorBinaryHeaderVersionEXT { #[inline] @@ -2786,13 +2788,13 @@ impl DeviceFaultVendorBinaryHeaderVersionEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DeviceFaultVendorBinaryHeaderVersionEXT { pub const ONE: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct IndirectExecutionSetInfoTypeEXT(pub(crate) i32); impl IndirectExecutionSetInfoTypeEXT { #[inline] @@ -2803,14 +2805,14 @@ impl IndirectExecutionSetInfoTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl IndirectExecutionSetInfoTypeEXT { pub const PIPELINES: Self = Self(0); pub const SHADER_OBJECTS: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_device_generated_commands"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct IndirectCommandsTokenTypeEXT(pub(crate) i32); impl IndirectCommandsTokenTypeEXT { #[inline] @@ -2821,8 +2823,6 @@ impl IndirectCommandsTokenTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl IndirectCommandsTokenTypeEXT { pub const EXECUTION_SET: Self = Self(0); pub const PUSH_CONSTANT: Self = Self(1); pub const SEQUENCE_INDEX: Self = Self(2); @@ -2834,10 +2834,14 @@ impl IndirectCommandsTokenTypeEXT { pub const DRAW_COUNT: Self = Self(8); pub const DISPATCH: Self = Self(9); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DisplacementMicromapFormatNV(pub(crate) i32); +#[cfg(feature = "provisional")] impl DisplacementMicromapFormatNV { #[inline] pub const fn from_raw(x: i32) -> Self { @@ -2847,15 +2851,15 @@ impl DisplacementMicromapFormatNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DisplacementMicromapFormatNV { pub const TYPE_64_TRIANGLES_64_BYTES: Self = Self(1); pub const TYPE_256_TRIANGLES_128_BYTES: Self = Self(2); pub const TYPE_1024_TRIANGLES_128_BYTES: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_shader_object"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ShaderCodeTypeEXT(pub(crate) i32); impl ShaderCodeTypeEXT { #[inline] @@ -2866,14 +2870,14 @@ impl ShaderCodeTypeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ShaderCodeTypeEXT { pub const BINARY: Self = Self(0); pub const SPIRV: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_cooperative_matrix"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ScopeKHR(pub(crate) i32); impl ScopeKHR { #[inline] @@ -2884,16 +2888,16 @@ impl ScopeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ScopeKHR { pub const DEVICE: Self = Self(1); pub const WORKGROUP: Self = Self(2); pub const SUBGROUP: Self = Self(3); pub const QUEUE_FAMILY: Self = Self(5); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_cooperative_matrix"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct ComponentTypeKHR(pub(crate) i32); impl ComponentTypeKHR { #[inline] @@ -2904,8 +2908,6 @@ impl ComponentTypeKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl ComponentTypeKHR { pub const FLOAT16: Self = Self(0); pub const FLOAT32: Self = Self(1); pub const FLOAT64: Self = Self(2); @@ -2918,9 +2920,11 @@ impl ComponentTypeKHR { pub const UINT32: Self = Self(9); pub const UINT64: Self = Self(10); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_filter_cubic_weights"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct CubicFilterWeightsQCOM(pub(crate) i32); impl CubicFilterWeightsQCOM { #[inline] @@ -2931,16 +2935,16 @@ impl CubicFilterWeightsQCOM { pub const fn as_raw(self) -> i32 { self.0 } -} -impl CubicFilterWeightsQCOM { pub const CATMULL_ROM: Self = Self(0); pub const ZERO_TANGENT_CARDINAL: Self = Self(1); pub const B_SPLINE: Self = Self(2); pub const MITCHELL_NETRAVALI: Self = Self(3); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_QCOM_image_processing2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct BlockMatchWindowCompareModeQCOM(pub(crate) i32); impl BlockMatchWindowCompareModeQCOM { #[inline] @@ -2951,14 +2955,14 @@ impl BlockMatchWindowCompareModeQCOM { pub const fn as_raw(self) -> i32 { self.0 } -} -impl BlockMatchWindowCompareModeQCOM { pub const MIN: Self = Self(0); pub const MAX: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_KHR_maintenance7"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct PhysicalDeviceLayeredApiKHR(pub(crate) i32); impl PhysicalDeviceLayeredApiKHR { #[inline] @@ -2969,17 +2973,17 @@ impl PhysicalDeviceLayeredApiKHR { pub const fn as_raw(self) -> i32 { self.0 } -} -impl PhysicalDeviceLayeredApiKHR { pub const VULKAN: Self = Self(0); pub const D3D12: Self = Self(1); pub const METAL: Self = Self(2); pub const OPENGL: Self = Self(3); pub const OPENGLES: Self = Self(4); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_MSFT_layered_driver"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct LayeredDriverUnderlyingApiMSFT(pub(crate) i32); impl LayeredDriverUnderlyingApiMSFT { #[inline] @@ -2990,14 +2994,14 @@ impl LayeredDriverUnderlyingApiMSFT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl LayeredDriverUnderlyingApiMSFT { pub const NONE: Self = Self(0); pub const D3D12: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct LatencyMarkerNV(pub(crate) i32); impl LatencyMarkerNV { #[inline] @@ -3008,8 +3012,6 @@ impl LatencyMarkerNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl LatencyMarkerNV { pub const SIMULATION_START: Self = Self(0); pub const SIMULATION_END: Self = Self(1); pub const RENDERSUBMIT_START: Self = Self(2); @@ -3023,9 +3025,11 @@ impl LatencyMarkerNV { pub const OUT_OF_BAND_PRESENT_START: Self = Self(10); pub const OUT_OF_BAND_PRESENT_END: Self = Self(11); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_NV_low_latency2"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct OutOfBandQueueTypeNV(pub(crate) i32); impl OutOfBandQueueTypeNV { #[inline] @@ -3036,14 +3040,14 @@ impl OutOfBandQueueTypeNV { pub const fn as_raw(self) -> i32 { self.0 } -} -impl OutOfBandQueueTypeNV { pub const RENDER: Self = Self(0); pub const PRESENT: Self = Self(1); } -#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] -#[repr(transparent)] #[doc = ""] +#[doc = ""] +#[doc = "Provided by VK_EXT_depth_clamp_control"] +#[repr(transparent)] +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] pub struct DepthClampModeEXT(pub(crate) i32); impl DepthClampModeEXT { #[inline] @@ -3054,8 +3058,6 @@ impl DepthClampModeEXT { pub const fn as_raw(self) -> i32 { self.0 } -} -impl DepthClampModeEXT { pub const VIEWPORT_RANGE: Self = Self(0); pub const USER_DEFINED_RANGE: Self = Self(1); } @@ -3104,7 +3106,9 @@ impl fmt::Debug for ObjectType { Self::PERFORMANCE_CONFIGURATION_INTEL => Some("PERFORMANCE_CONFIGURATION_INTEL"), Self::DEFERRED_OPERATION_KHR => Some("DEFERRED_OPERATION_KHR"), Self::INDIRECT_COMMANDS_LAYOUT_NV => Some("INDIRECT_COMMANDS_LAYOUT_NV"), + #[cfg(feature = "provisional")] Self::CUDA_MODULE_NV => Some("CUDA_MODULE_NV"), + #[cfg(feature = "provisional")] Self::CUDA_FUNCTION_NV => Some("CUDA_FUNCTION_NV"), Self::BUFFER_COLLECTION_FUCHSIA => Some("BUFFER_COLLECTION_FUCHSIA"), Self::MICROMAP_EXT => Some("MICROMAP_EXT"), diff --git a/ash/src/vk/extensions.rs b/ash/src/vk/extensions.rs index d3ecf1d0a..d2c673a5c 100644 --- a/ash/src/vk/extensions.rs +++ b/ash/src/vk/extensions.rs @@ -5,29 +5,29 @@ use super::definitions::*; use super::enums::*; use super::platform_types::*; use core::ffi::*; -#[doc = "Generated from 'VK_KHR_surface'"] +#[doc = "Provided by VK_KHR_surface"] impl ObjectType { pub const SURFACE_KHR: Self = Self(1_000_000_000); } -#[doc = "Generated from 'VK_KHR_surface'"] +#[doc = "Provided by VK_KHR_surface"] impl Result { pub const ERROR_SURFACE_LOST_KHR: Self = Self(-1_000_000_000); pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self = Self(-1_000_000_001); } -#[doc = "Generated from 'VK_KHR_swapchain'"] +#[doc = "Provided by VK_KHR_swapchain"] impl ImageLayout { pub const PRESENT_SRC_KHR: Self = Self(1_000_001_002); } -#[doc = "Generated from 'VK_KHR_swapchain'"] +#[doc = "Provided by VK_KHR_swapchain"] impl ObjectType { pub const SWAPCHAIN_KHR: Self = Self(1_000_001_000); } -#[doc = "Generated from 'VK_KHR_swapchain'"] +#[doc = "Provided by VK_KHR_swapchain"] impl Result { pub const SUBOPTIMAL_KHR: Self = Self(1_000_001_003); pub const ERROR_OUT_OF_DATE_KHR: Self = Self(-1_000_001_004); } -#[doc = "Generated from 'VK_KHR_swapchain'"] +#[doc = "Provided by VK_KHR_swapchain"] impl StructureType { pub const SWAPCHAIN_CREATE_INFO_KHR: Self = Self(1_000_001_000); pub const PRESENT_INFO_KHR: Self = Self(1_000_001_001); @@ -38,118 +38,118 @@ impl StructureType { pub const DEVICE_GROUP_PRESENT_INFO_KHR: Self = Self(1_000_060_011); pub const DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: Self = Self(1_000_060_012); } -#[doc = "Generated from 'VK_KHR_swapchain'"] +#[doc = "Provided by VK_KHR_swapchain"] impl SwapchainCreateFlagsKHR { #[doc = "Allow images with VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT"] pub const SPLIT_INSTANCE_BIND_REGIONS: Self = Self(0b1); #[doc = "Swapchain is protected"] pub const PROTECTED: Self = Self(0b10); } -#[doc = "Generated from 'VK_KHR_display'"] +#[doc = "Provided by VK_KHR_display"] impl ObjectType { pub const DISPLAY_KHR: Self = Self(1_000_002_000); pub const DISPLAY_MODE_KHR: Self = Self(1_000_002_001); } -#[doc = "Generated from 'VK_KHR_display'"] +#[doc = "Provided by VK_KHR_display"] impl StructureType { pub const DISPLAY_MODE_CREATE_INFO_KHR: Self = Self(1_000_002_000); pub const DISPLAY_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_002_001); } -#[doc = "Generated from 'VK_KHR_display_swapchain'"] +#[doc = "Provided by VK_KHR_display_swapchain"] impl Result { pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self = Self(-1_000_003_001); } -#[doc = "Generated from 'VK_KHR_display_swapchain'"] +#[doc = "Provided by VK_KHR_display_swapchain"] impl StructureType { pub const DISPLAY_PRESENT_INFO_KHR: Self = Self(1_000_003_000); } -#[doc = "Generated from 'VK_KHR_xlib_surface'"] +#[doc = "Provided by VK_KHR_xlib_surface"] impl StructureType { pub const XLIB_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_004_000); } -#[doc = "Generated from 'VK_KHR_xcb_surface'"] +#[doc = "Provided by VK_KHR_xcb_surface"] impl StructureType { pub const XCB_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_005_000); } -#[doc = "Generated from 'VK_KHR_wayland_surface'"] +#[doc = "Provided by VK_KHR_wayland_surface"] impl StructureType { pub const WAYLAND_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_006_000); } -#[doc = "Generated from 'VK_KHR_android_surface'"] +#[doc = "Provided by VK_KHR_android_surface"] impl StructureType { pub const ANDROID_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_008_000); } -#[doc = "Generated from 'VK_KHR_win32_surface'"] +#[doc = "Provided by VK_KHR_win32_surface"] impl StructureType { pub const WIN32_SURFACE_CREATE_INFO_KHR: Self = Self(1_000_009_000); } -#[doc = "Generated from 'VK_ANDROID_native_buffer'"] +#[doc = "Provided by VK_ANDROID_native_buffer"] impl StructureType { pub const NATIVE_BUFFER_ANDROID: Self = Self(1_000_010_000); pub const SWAPCHAIN_IMAGE_CREATE_INFO_ANDROID: Self = Self(1_000_010_001); pub const PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_ANDROID: Self = Self(1_000_010_002); } -#[doc = "Generated from 'VK_EXT_debug_report'"] +#[doc = "Provided by VK_EXT_debug_report"] impl DebugReportObjectTypeEXT { pub const SAMPLER_YCBCR_CONVERSION: Self = Self(1_000_156_000); pub const DESCRIPTOR_UPDATE_TEMPLATE: Self = Self(1_000_085_000); } -#[doc = "Generated from 'VK_EXT_debug_report'"] +#[doc = "Provided by VK_EXT_debug_report"] impl ObjectType { pub const DEBUG_REPORT_CALLBACK_EXT: Self = Self(1_000_011_000); } -#[doc = "Generated from 'VK_EXT_debug_report'"] +#[doc = "Provided by VK_EXT_debug_report"] impl Result { pub const ERROR_VALIDATION_FAILED_EXT: Self = Self(-1_000_011_001); } -#[doc = "Generated from 'VK_EXT_debug_report'"] +#[doc = "Provided by VK_EXT_debug_report"] impl StructureType { pub const DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: Self = Self(1_000_011_000); } -#[doc = "Generated from 'VK_NV_glsl_shader'"] +#[doc = "Provided by VK_NV_glsl_shader"] impl Result { pub const ERROR_INVALID_SHADER_NV: Self = Self(-1_000_012_000); } -#[doc = "Generated from 'VK_KHR_sampler_mirror_clamp_to_edge'"] +#[doc = "Provided by VK_KHR_sampler_mirror_clamp_to_edge"] impl SamplerAddressMode { #[doc = "Note that this defines what was previously a core enum, and so uses the 'value' attribute rather than 'offset', and does not have a suffix. This is a special case, and should not be repeated"] pub const MIRROR_CLAMP_TO_EDGE: Self = Self(4); } -#[doc = "Generated from 'VK_IMG_filter_cubic'"] +#[doc = "Provided by VK_IMG_filter_cubic"] impl Filter { pub const CUBIC_IMG: Self = Self::CUBIC_EXT; } -#[doc = "Generated from 'VK_IMG_filter_cubic'"] +#[doc = "Provided by VK_IMG_filter_cubic"] impl FormatFeatureFlags { #[doc = "Format can be filtered with VK_FILTER_CUBIC_IMG when being sampled"] pub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: Self = Self::SAMPLED_IMAGE_FILTER_CUBIC_EXT; } -#[doc = "Generated from 'VK_AMD_rasterization_order'"] +#[doc = "Provided by VK_AMD_rasterization_order"] impl StructureType { pub const PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: Self = Self(1_000_018_000); } -#[doc = "Generated from 'VK_EXT_debug_marker'"] +#[doc = "Provided by VK_EXT_debug_marker"] impl StructureType { pub const DEBUG_MARKER_OBJECT_NAME_INFO_EXT: Self = Self(1_000_022_000); pub const DEBUG_MARKER_OBJECT_TAG_INFO_EXT: Self = Self(1_000_022_001); pub const DEBUG_MARKER_MARKER_INFO_EXT: Self = Self(1_000_022_002); } -#[doc = "Generated from 'VK_KHR_video_queue'"] +#[doc = "Provided by VK_KHR_video_queue"] impl ObjectType { #[doc = "VkVideoSessionKHR"] pub const VIDEO_SESSION_KHR: Self = Self(1_000_023_000); #[doc = "VkVideoSessionParametersKHR"] pub const VIDEO_SESSION_PARAMETERS_KHR: Self = Self(1_000_023_001); } -#[doc = "Generated from 'VK_KHR_video_queue'"] +#[doc = "Provided by VK_KHR_video_queue"] impl QueryResultFlags { pub const WITH_STATUS_KHR: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_KHR_video_queue'"] +#[doc = "Provided by VK_KHR_video_queue"] impl QueryType { pub const RESULT_STATUS_ONLY_KHR: Self = Self(1_000_023_000); } -#[doc = "Generated from 'VK_KHR_video_queue'"] +#[doc = "Provided by VK_KHR_video_queue"] impl Result { pub const ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR: Self = Self(-1_000_023_000); pub const ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR: Self = Self(-1_000_023_001); @@ -158,7 +158,7 @@ impl Result { pub const ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR: Self = Self(-1_000_023_004); pub const ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: Self = Self(-1_000_023_005); } -#[doc = "Generated from 'VK_KHR_video_queue'"] +#[doc = "Provided by VK_KHR_video_queue"] impl StructureType { pub const VIDEO_PROFILE_INFO_KHR: Self = Self(1_000_023_000); pub const VIDEO_CAPABILITIES_KHR: Self = Self(1_000_023_001); @@ -178,106 +178,106 @@ impl StructureType { pub const VIDEO_FORMAT_PROPERTIES_KHR: Self = Self(1_000_023_015); pub const QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: Self = Self(1_000_023_016); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl AccessFlags2 { pub const VIDEO_DECODE_READ_KHR: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000); pub const VIDEO_DECODE_WRITE_KHR: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl BufferUsageFlags { pub const VIDEO_DECODE_SRC_KHR: Self = Self(0b10_0000_0000_0000); pub const VIDEO_DECODE_DST_KHR: Self = Self(0b100_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl FormatFeatureFlags { pub const VIDEO_DECODE_OUTPUT_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000); pub const VIDEO_DECODE_DPB_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl FormatFeatureFlags2 { pub const VIDEO_DECODE_OUTPUT_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000); pub const VIDEO_DECODE_DPB_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl ImageLayout { pub const VIDEO_DECODE_DST_KHR: Self = Self(1_000_024_000); pub const VIDEO_DECODE_SRC_KHR: Self = Self(1_000_024_001); pub const VIDEO_DECODE_DPB_KHR: Self = Self(1_000_024_002); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl ImageUsageFlags { pub const VIDEO_DECODE_DST_KHR: Self = Self(0b100_0000_0000); pub const VIDEO_DECODE_SRC_KHR: Self = Self(0b1000_0000_0000); pub const VIDEO_DECODE_DPB_KHR: Self = Self(0b1_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl PipelineStageFlags2 { pub const VIDEO_DECODE_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl QueueFlags { pub const VIDEO_DECODE_KHR: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_queue'"] +#[doc = "Provided by VK_KHR_video_decode_queue"] impl StructureType { pub const VIDEO_DECODE_INFO_KHR: Self = Self(1_000_024_000); pub const VIDEO_DECODE_CAPABILITIES_KHR: Self = Self(1_000_024_001); pub const VIDEO_DECODE_USAGE_INFO_KHR: Self = Self(1_000_024_002); } -#[doc = "Generated from 'VK_NV_dedicated_allocation'"] +#[doc = "Provided by VK_NV_dedicated_allocation"] impl StructureType { pub const DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: Self = Self(1_000_026_000); pub const DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: Self = Self(1_000_026_001); pub const DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: Self = Self(1_000_026_002); } -#[doc = "Generated from 'VK_EXT_transform_feedback'"] +#[doc = "Provided by VK_EXT_transform_feedback"] impl AccessFlags { pub const TRANSFORM_FEEDBACK_WRITE_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000); pub const TRANSFORM_FEEDBACK_COUNTER_READ_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000); pub const TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_transform_feedback'"] +#[doc = "Provided by VK_EXT_transform_feedback"] impl BufferUsageFlags { pub const TRANSFORM_FEEDBACK_BUFFER_EXT: Self = Self(0b1000_0000_0000); pub const TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT: Self = Self(0b1_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_transform_feedback'"] +#[doc = "Provided by VK_EXT_transform_feedback"] impl PipelineStageFlags { pub const TRANSFORM_FEEDBACK_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_transform_feedback'"] +#[doc = "Provided by VK_EXT_transform_feedback"] impl QueryType { pub const TRANSFORM_FEEDBACK_STREAM_EXT: Self = Self(1_000_028_004); } -#[doc = "Generated from 'VK_EXT_transform_feedback'"] +#[doc = "Provided by VK_EXT_transform_feedback"] impl StructureType { pub const PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: Self = Self(1_000_028_000); pub const PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: Self = Self(1_000_028_001); pub const PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: Self = Self(1_000_028_002); } -#[doc = "Generated from 'VK_NVX_binary_import'"] +#[doc = "Provided by VK_NVX_binary_import"] impl DebugReportObjectTypeEXT { pub const CU_MODULE_NVX: Self = Self(1_000_029_000); pub const CU_FUNCTION_NVX: Self = Self(1_000_029_001); } -#[doc = "Generated from 'VK_NVX_binary_import'"] +#[doc = "Provided by VK_NVX_binary_import"] impl ObjectType { pub const CU_MODULE_NVX: Self = Self(1_000_029_000); pub const CU_FUNCTION_NVX: Self = Self(1_000_029_001); } -#[doc = "Generated from 'VK_NVX_binary_import'"] +#[doc = "Provided by VK_NVX_binary_import"] impl StructureType { pub const CU_MODULE_CREATE_INFO_NVX: Self = Self(1_000_029_000); pub const CU_FUNCTION_CREATE_INFO_NVX: Self = Self(1_000_029_001); pub const CU_LAUNCH_INFO_NVX: Self = Self(1_000_029_002); } -#[doc = "Generated from 'VK_NVX_image_view_handle'"] +#[doc = "Provided by VK_NVX_image_view_handle"] impl StructureType { pub const IMAGE_VIEW_HANDLE_INFO_NVX: Self = Self(1_000_030_000); pub const IMAGE_VIEW_ADDRESS_PROPERTIES_NVX: Self = Self(1_000_030_001); } -#[doc = "Generated from 'VK_KHR_video_encode_h264'"] +#[doc = "Provided by VK_KHR_video_encode_h264"] impl StructureType { pub const VIDEO_ENCODE_H264_CAPABILITIES_KHR: Self = Self(1_000_038_000); pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR: Self = Self(1_000_038_001); @@ -294,11 +294,11 @@ impl StructureType { pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR: Self = Self(1_000_038_012); pub const VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR: Self = Self(1_000_038_013); } -#[doc = "Generated from 'VK_KHR_video_encode_h264'"] +#[doc = "Provided by VK_KHR_video_encode_h264"] impl VideoCodecOperationFlagsKHR { pub const ENCODE_H264: Self = Self(0b1_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_h265'"] +#[doc = "Provided by VK_KHR_video_encode_h265"] impl StructureType { pub const VIDEO_ENCODE_H265_CAPABILITIES_KHR: Self = Self(1_000_039_000); pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR: Self = Self(1_000_039_001); @@ -315,11 +315,11 @@ impl StructureType { pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR: Self = Self(1_000_039_013); pub const VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR: Self = Self(1_000_039_014); } -#[doc = "Generated from 'VK_KHR_video_encode_h265'"] +#[doc = "Provided by VK_KHR_video_encode_h265"] impl VideoCodecOperationFlagsKHR { pub const ENCODE_H265: Self = Self(0b10_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_decode_h264'"] +#[doc = "Provided by VK_KHR_video_decode_h264"] impl StructureType { pub const VIDEO_DECODE_H264_CAPABILITIES_KHR: Self = Self(1_000_040_000); pub const VIDEO_DECODE_H264_PICTURE_INFO_KHR: Self = Self(1_000_040_001); @@ -328,26 +328,26 @@ impl StructureType { pub const VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR: Self = Self(1_000_040_005); pub const VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR: Self = Self(1_000_040_006); } -#[doc = "Generated from 'VK_KHR_video_decode_h264'"] +#[doc = "Provided by VK_KHR_video_decode_h264"] impl VideoCodecOperationFlagsKHR { pub const DECODE_H264: Self = Self(0b1); } -#[doc = "Generated from 'VK_AMD_texture_gather_bias_lod'"] +#[doc = "Provided by VK_AMD_texture_gather_bias_lod"] impl StructureType { pub const TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: Self = Self(1_000_041_000); } -#[doc = "Generated from 'VK_KHR_dynamic_rendering'"] +#[doc = "Provided by VK_KHR_dynamic_rendering"] impl AttachmentStoreOp { pub const NONE_KHR: Self = Self::NONE; } -#[doc = "Generated from 'VK_KHR_dynamic_rendering'"] +#[doc = "Provided by VK_KHR_dynamic_rendering"] impl PipelineCreateFlags { pub const RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = Self(0b10_0000_0000_0000_0000_0000); pub const RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT: Self = Self(0b100_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_dynamic_rendering'"] +#[doc = "Provided by VK_KHR_dynamic_rendering"] impl StructureType { pub const RENDERING_INFO_KHR: Self = Self::RENDERING_INFO; pub const RENDERING_ATTACHMENT_INFO_KHR: Self = Self::RENDERING_ATTACHMENT_INFO; @@ -362,23 +362,23 @@ impl StructureType { pub const ATTACHMENT_SAMPLE_COUNT_INFO_NV: Self = Self::ATTACHMENT_SAMPLE_COUNT_INFO_AMD; pub const MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: Self = Self(1_000_044_009); } -#[doc = "Generated from 'VK_GGP_stream_descriptor_surface'"] +#[doc = "Provided by VK_GGP_stream_descriptor_surface"] impl StructureType { pub const STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP: Self = Self(1_000_049_000); } -#[doc = "Generated from 'VK_NV_corner_sampled_image'"] +#[doc = "Provided by VK_NV_corner_sampled_image"] impl ImageCreateFlags { pub const CORNER_SAMPLED_NV: Self = Self(0b10_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_corner_sampled_image'"] +#[doc = "Provided by VK_NV_corner_sampled_image"] impl StructureType { pub const PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: Self = Self(1_000_050_000); } -#[doc = "Generated from 'VK_KHR_multiview'"] +#[doc = "Provided by VK_KHR_multiview"] impl DependencyFlags { pub const VIEW_LOCAL_KHR: Self = Self::VIEW_LOCAL; } -#[doc = "Generated from 'VK_KHR_multiview'"] +#[doc = "Provided by VK_KHR_multiview"] impl StructureType { pub const RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR: Self = Self::RENDER_PASS_MULTIVIEW_CREATE_INFO; pub const PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR: Self = @@ -386,7 +386,7 @@ impl StructureType { pub const PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES; } -#[doc = "Generated from 'VK_IMG_format_pvrtc'"] +#[doc = "Provided by VK_IMG_format_pvrtc"] impl Format { pub const PVRTC1_2BPP_UNORM_BLOCK_IMG: Self = Self(1_000_054_000); pub const PVRTC1_4BPP_UNORM_BLOCK_IMG: Self = Self(1_000_054_001); @@ -397,21 +397,21 @@ impl Format { pub const PVRTC2_2BPP_SRGB_BLOCK_IMG: Self = Self(1_000_054_006); pub const PVRTC2_4BPP_SRGB_BLOCK_IMG: Self = Self(1_000_054_007); } -#[doc = "Generated from 'VK_NV_external_memory'"] +#[doc = "Provided by VK_NV_external_memory"] impl StructureType { pub const EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: Self = Self(1_000_056_000); pub const EXPORT_MEMORY_ALLOCATE_INFO_NV: Self = Self(1_000_056_001); } -#[doc = "Generated from 'VK_NV_external_memory_win32'"] +#[doc = "Provided by VK_NV_external_memory_win32"] impl StructureType { pub const IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: Self = Self(1_000_057_000); pub const EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: Self = Self(1_000_057_001); } -#[doc = "Generated from 'VK_NV_win32_keyed_mutex'"] +#[doc = "Provided by VK_NV_win32_keyed_mutex"] impl StructureType { pub const WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: Self = Self(1_000_058_000); } -#[doc = "Generated from 'VK_KHR_get_physical_device_properties2'"] +#[doc = "Provided by VK_KHR_get_physical_device_properties2"] impl StructureType { pub const PHYSICAL_DEVICE_FEATURES_2_KHR: Self = Self::PHYSICAL_DEVICE_FEATURES_2; pub const PHYSICAL_DEVICE_PROPERTIES_2_KHR: Self = Self::PHYSICAL_DEVICE_PROPERTIES_2; @@ -426,30 +426,30 @@ impl StructureType { pub const PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR: Self = Self::PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl DependencyFlags { pub const DEVICE_GROUP_KHR: Self = Self::DEVICE_GROUP; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl ImageCreateFlags { pub const SPLIT_INSTANCE_BIND_REGIONS_KHR: Self = Self::SPLIT_INSTANCE_BIND_REGIONS; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl MemoryAllocateFlags { pub const DEVICE_MASK_KHR: Self = Self::DEVICE_MASK; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl PeerMemoryFeatureFlags { pub const COPY_SRC_KHR: Self = Self::COPY_SRC; pub const COPY_DST_KHR: Self = Self::COPY_DST; pub const GENERIC_SRC_KHR: Self = Self::GENERIC_SRC; pub const GENERIC_DST_KHR: Self = Self::GENERIC_DST; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl PipelineCreateFlags { pub const VIEW_INDEX_FROM_DEVICE_INDEX_KHR: Self = Self::VIEW_INDEX_FROM_DEVICE_INDEX; } -#[doc = "Generated from 'VK_KHR_device_group'"] +#[doc = "Provided by VK_KHR_device_group"] impl StructureType { pub const MEMORY_ALLOCATE_FLAGS_INFO_KHR: Self = Self::MEMORY_ALLOCATE_FLAGS_INFO; pub const DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHR: Self = @@ -463,15 +463,15 @@ impl StructureType { pub const BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHR: Self = Self::BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO; } -#[doc = "Generated from 'VK_EXT_validation_flags'"] +#[doc = "Provided by VK_EXT_validation_flags"] impl StructureType { pub const VALIDATION_FLAGS_EXT: Self = Self(1_000_061_000); } -#[doc = "Generated from 'VK_NN_vi_surface'"] +#[doc = "Provided by VK_NN_vi_surface"] impl StructureType { pub const VI_SURFACE_CREATE_INFO_NN: Self = Self(1_000_062_000); } -#[doc = "Generated from 'VK_EXT_texture_compression_astc_hdr'"] +#[doc = "Provided by VK_EXT_texture_compression_astc_hdr"] impl Format { pub const ASTC_4X4_SFLOAT_BLOCK_EXT: Self = Self::ASTC_4X4_SFLOAT_BLOCK; pub const ASTC_5X4_SFLOAT_BLOCK_EXT: Self = Self::ASTC_5X4_SFLOAT_BLOCK; @@ -488,51 +488,51 @@ impl Format { pub const ASTC_12X10_SFLOAT_BLOCK_EXT: Self = Self::ASTC_12X10_SFLOAT_BLOCK; pub const ASTC_12X12_SFLOAT_BLOCK_EXT: Self = Self::ASTC_12X12_SFLOAT_BLOCK; } -#[doc = "Generated from 'VK_EXT_texture_compression_astc_hdr'"] +#[doc = "Provided by VK_EXT_texture_compression_astc_hdr"] impl StructureType { pub const PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES; } -#[doc = "Generated from 'VK_EXT_astc_decode_mode'"] +#[doc = "Provided by VK_EXT_astc_decode_mode"] impl StructureType { pub const IMAGE_VIEW_ASTC_DECODE_MODE_EXT: Self = Self(1_000_067_000); pub const PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: Self = Self(1_000_067_001); } -#[doc = "Generated from 'VK_EXT_pipeline_robustness'"] +#[doc = "Provided by VK_EXT_pipeline_robustness"] impl StructureType { pub const PIPELINE_ROBUSTNESS_CREATE_INFO_EXT: Self = Self(1_000_068_000); pub const PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES_EXT: Self = Self(1_000_068_001); pub const PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES_EXT: Self = Self(1_000_068_002); } -#[doc = "Generated from 'VK_KHR_maintenance1'"] +#[doc = "Provided by VK_KHR_maintenance1"] impl FormatFeatureFlags { pub const TRANSFER_SRC_KHR: Self = Self::TRANSFER_SRC; pub const TRANSFER_DST_KHR: Self = Self::TRANSFER_DST; } -#[doc = "Generated from 'VK_KHR_maintenance1'"] +#[doc = "Provided by VK_KHR_maintenance1"] impl ImageCreateFlags { pub const TYPE_2D_ARRAY_COMPATIBLE_KHR: Self = Self::TYPE_2D_ARRAY_COMPATIBLE; } -#[doc = "Generated from 'VK_KHR_maintenance1'"] +#[doc = "Provided by VK_KHR_maintenance1"] impl Result { pub const ERROR_OUT_OF_POOL_MEMORY_KHR: Self = Self::ERROR_OUT_OF_POOL_MEMORY; } -#[doc = "Generated from 'VK_KHR_device_group_creation'"] +#[doc = "Provided by VK_KHR_device_group_creation"] impl MemoryHeapFlags { pub const MULTI_INSTANCE_KHR: Self = Self::MULTI_INSTANCE; } -#[doc = "Generated from 'VK_KHR_device_group_creation'"] +#[doc = "Provided by VK_KHR_device_group_creation"] impl StructureType { pub const PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_GROUP_PROPERTIES; pub const DEVICE_GROUP_DEVICE_CREATE_INFO_KHR: Self = Self::DEVICE_GROUP_DEVICE_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_external_memory_capabilities'"] +#[doc = "Provided by VK_KHR_external_memory_capabilities"] impl ExternalMemoryFeatureFlags { pub const DEDICATED_ONLY_KHR: Self = Self::DEDICATED_ONLY; pub const EXPORTABLE_KHR: Self = Self::EXPORTABLE; pub const IMPORTABLE_KHR: Self = Self::IMPORTABLE; } -#[doc = "Generated from 'VK_KHR_external_memory_capabilities'"] +#[doc = "Provided by VK_KHR_external_memory_capabilities"] impl ExternalMemoryHandleTypeFlags { pub const OPAQUE_FD_KHR: Self = Self::OPAQUE_FD; pub const OPAQUE_WIN32_KHR: Self = Self::OPAQUE_WIN32; @@ -542,7 +542,7 @@ impl ExternalMemoryHandleTypeFlags { pub const D3D12_HEAP_KHR: Self = Self::D3D12_HEAP; pub const D3D12_RESOURCE_KHR: Self = Self::D3D12_RESOURCE; } -#[doc = "Generated from 'VK_KHR_external_memory_capabilities'"] +#[doc = "Provided by VK_KHR_external_memory_capabilities"] impl StructureType { pub const PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR: Self = Self::PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO; @@ -552,40 +552,40 @@ impl StructureType { pub const EXTERNAL_BUFFER_PROPERTIES_KHR: Self = Self::EXTERNAL_BUFFER_PROPERTIES; pub const PHYSICAL_DEVICE_ID_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_ID_PROPERTIES; } -#[doc = "Generated from 'VK_KHR_external_memory'"] +#[doc = "Provided by VK_KHR_external_memory"] impl Result { pub const ERROR_INVALID_EXTERNAL_HANDLE_KHR: Self = Self::ERROR_INVALID_EXTERNAL_HANDLE; } -#[doc = "Generated from 'VK_KHR_external_memory'"] +#[doc = "Provided by VK_KHR_external_memory"] impl StructureType { pub const EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR: Self = Self::EXTERNAL_MEMORY_BUFFER_CREATE_INFO; pub const EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR: Self = Self::EXTERNAL_MEMORY_IMAGE_CREATE_INFO; pub const EXPORT_MEMORY_ALLOCATE_INFO_KHR: Self = Self::EXPORT_MEMORY_ALLOCATE_INFO; } -#[doc = "Generated from 'VK_KHR_external_memory_win32'"] +#[doc = "Provided by VK_KHR_external_memory_win32"] impl StructureType { pub const IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_073_000); pub const EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_073_001); pub const MEMORY_WIN32_HANDLE_PROPERTIES_KHR: Self = Self(1_000_073_002); pub const MEMORY_GET_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_073_003); } -#[doc = "Generated from 'VK_KHR_external_memory_fd'"] +#[doc = "Provided by VK_KHR_external_memory_fd"] impl StructureType { pub const IMPORT_MEMORY_FD_INFO_KHR: Self = Self(1_000_074_000); pub const MEMORY_FD_PROPERTIES_KHR: Self = Self(1_000_074_001); pub const MEMORY_GET_FD_INFO_KHR: Self = Self(1_000_074_002); } -#[doc = "Generated from 'VK_KHR_win32_keyed_mutex'"] +#[doc = "Provided by VK_KHR_win32_keyed_mutex"] impl StructureType { pub const WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: Self = Self(1_000_075_000); } -#[doc = "Generated from 'VK_KHR_external_semaphore_capabilities'"] +#[doc = "Provided by VK_KHR_external_semaphore_capabilities"] impl ExternalSemaphoreFeatureFlags { pub const EXPORTABLE_KHR: Self = Self::EXPORTABLE; pub const IMPORTABLE_KHR: Self = Self::IMPORTABLE; } -#[doc = "Generated from 'VK_KHR_external_semaphore_capabilities'"] +#[doc = "Provided by VK_KHR_external_semaphore_capabilities"] impl ExternalSemaphoreHandleTypeFlags { pub const OPAQUE_FD_KHR: Self = Self::OPAQUE_FD; pub const OPAQUE_WIN32_KHR: Self = Self::OPAQUE_WIN32; @@ -593,159 +593,159 @@ impl ExternalSemaphoreHandleTypeFlags { pub const D3D12_FENCE_KHR: Self = Self::D3D12_FENCE; pub const SYNC_FD_KHR: Self = Self::SYNC_FD; } -#[doc = "Generated from 'VK_KHR_external_semaphore_capabilities'"] +#[doc = "Provided by VK_KHR_external_semaphore_capabilities"] impl StructureType { pub const PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR: Self = Self::PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO; pub const EXTERNAL_SEMAPHORE_PROPERTIES_KHR: Self = Self::EXTERNAL_SEMAPHORE_PROPERTIES; } -#[doc = "Generated from 'VK_KHR_external_semaphore'"] +#[doc = "Provided by VK_KHR_external_semaphore"] impl SemaphoreImportFlags { pub const TEMPORARY_KHR: Self = Self::TEMPORARY; } -#[doc = "Generated from 'VK_KHR_external_semaphore'"] +#[doc = "Provided by VK_KHR_external_semaphore"] impl StructureType { pub const EXPORT_SEMAPHORE_CREATE_INFO_KHR: Self = Self::EXPORT_SEMAPHORE_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_external_semaphore_win32'"] +#[doc = "Provided by VK_KHR_external_semaphore_win32"] impl StructureType { pub const IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_078_000); pub const EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_078_001); pub const D3D12_FENCE_SUBMIT_INFO_KHR: Self = Self(1_000_078_002); pub const SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_078_003); } -#[doc = "Generated from 'VK_KHR_external_semaphore_fd'"] +#[doc = "Provided by VK_KHR_external_semaphore_fd"] impl StructureType { pub const IMPORT_SEMAPHORE_FD_INFO_KHR: Self = Self(1_000_079_000); pub const SEMAPHORE_GET_FD_INFO_KHR: Self = Self(1_000_079_001); } -#[doc = "Generated from 'VK_KHR_push_descriptor'"] +#[doc = "Provided by VK_KHR_push_descriptor"] impl DescriptorSetLayoutCreateFlags { #[doc = "Descriptors are pushed via flink:vkCmdPushDescriptorSetKHR"] pub const PUSH_DESCRIPTOR_KHR: Self = Self(0b1); } -#[doc = "Generated from 'VK_KHR_push_descriptor'"] +#[doc = "Provided by VK_KHR_push_descriptor"] impl DescriptorUpdateTemplateType { #[doc = "Create descriptor update template for pushed descriptor updates"] pub const PUSH_DESCRIPTORS_KHR: Self = Self(1); } -#[doc = "Generated from 'VK_KHR_push_descriptor'"] +#[doc = "Provided by VK_KHR_push_descriptor"] impl StructureType { pub const PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR: Self = Self(1_000_080_000); } -#[doc = "Generated from 'VK_EXT_conditional_rendering'"] +#[doc = "Provided by VK_EXT_conditional_rendering"] impl AccessFlags { #[doc = "read access flag for reading conditional rendering predicate"] pub const CONDITIONAL_RENDERING_READ_EXT: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_conditional_rendering'"] +#[doc = "Provided by VK_EXT_conditional_rendering"] impl BufferUsageFlags { #[doc = "Specifies the buffer can be used as predicate in conditional rendering"] pub const CONDITIONAL_RENDERING_EXT: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_EXT_conditional_rendering'"] +#[doc = "Provided by VK_EXT_conditional_rendering"] impl PipelineStageFlags { #[doc = "A pipeline stage for conditional rendering predicate fetch"] pub const CONDITIONAL_RENDERING_EXT: Self = Self(0b100_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_conditional_rendering'"] +#[doc = "Provided by VK_EXT_conditional_rendering"] impl StructureType { pub const COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: Self = Self(1_000_081_000); pub const PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: Self = Self(1_000_081_001); pub const CONDITIONAL_RENDERING_BEGIN_INFO_EXT: Self = Self(1_000_081_002); } -#[doc = "Generated from 'VK_KHR_shader_float16_int8'"] +#[doc = "Provided by VK_KHR_shader_float16_int8"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES; pub const PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES; } -#[doc = "Generated from 'VK_KHR_16bit_storage'"] +#[doc = "Provided by VK_KHR_16bit_storage"] impl StructureType { pub const PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES; } -#[doc = "Generated from 'VK_KHR_incremental_present'"] +#[doc = "Provided by VK_KHR_incremental_present"] impl StructureType { pub const PRESENT_REGIONS_KHR: Self = Self(1_000_084_000); } -#[doc = "Generated from 'VK_KHR_descriptor_update_template'"] +#[doc = "Provided by VK_KHR_descriptor_update_template"] impl DebugReportObjectTypeEXT { pub const DESCRIPTOR_UPDATE_TEMPLATE_KHR: Self = Self::DESCRIPTOR_UPDATE_TEMPLATE; } -#[doc = "Generated from 'VK_KHR_descriptor_update_template'"] +#[doc = "Provided by VK_KHR_descriptor_update_template"] impl DescriptorUpdateTemplateType { pub const DESCRIPTOR_SET_KHR: Self = Self::DESCRIPTOR_SET; } -#[doc = "Generated from 'VK_KHR_descriptor_update_template'"] +#[doc = "Provided by VK_KHR_descriptor_update_template"] impl ObjectType { pub const DESCRIPTOR_UPDATE_TEMPLATE_KHR: Self = Self::DESCRIPTOR_UPDATE_TEMPLATE; } -#[doc = "Generated from 'VK_KHR_descriptor_update_template'"] +#[doc = "Provided by VK_KHR_descriptor_update_template"] impl StructureType { pub const DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR: Self = Self::DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO; } -#[doc = "Generated from 'VK_NV_clip_space_w_scaling'"] +#[doc = "Provided by VK_NV_clip_space_w_scaling"] impl DynamicState { pub const VIEWPORT_W_SCALING_NV: Self = Self(1_000_087_000); } -#[doc = "Generated from 'VK_NV_clip_space_w_scaling'"] +#[doc = "Provided by VK_NV_clip_space_w_scaling"] impl StructureType { pub const PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: Self = Self(1_000_087_000); } -#[doc = "Generated from 'VK_EXT_display_surface_counter'"] +#[doc = "Provided by VK_EXT_display_surface_counter"] impl StructureType { pub const SURFACE_CAPABILITIES_2_EXT: Self = Self(1_000_090_000); } -#[doc = "Generated from 'VK_EXT_display_control'"] +#[doc = "Provided by VK_EXT_display_control"] impl StructureType { pub const DISPLAY_POWER_INFO_EXT: Self = Self(1_000_091_000); pub const DEVICE_EVENT_INFO_EXT: Self = Self(1_000_091_001); pub const DISPLAY_EVENT_INFO_EXT: Self = Self(1_000_091_002); pub const SWAPCHAIN_COUNTER_CREATE_INFO_EXT: Self = Self(1_000_091_003); } -#[doc = "Generated from 'VK_GOOGLE_display_timing'"] +#[doc = "Provided by VK_GOOGLE_display_timing"] impl StructureType { pub const PRESENT_TIMES_INFO_GOOGLE: Self = Self(1_000_092_000); } -#[doc = "Generated from 'VK_NVX_multiview_per_view_attributes'"] +#[doc = "Provided by VK_NVX_multiview_per_view_attributes"] impl StructureType { pub const PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: Self = Self(1_000_097_000); } -#[doc = "Generated from 'VK_NVX_multiview_per_view_attributes'"] +#[doc = "Provided by VK_NVX_multiview_per_view_attributes"] impl SubpassDescriptionFlags { pub const PER_VIEW_ATTRIBUTES_NVX: Self = Self(0b1); pub const PER_VIEW_POSITION_X_ONLY_NVX: Self = Self(0b10); } -#[doc = "Generated from 'VK_NV_viewport_swizzle'"] +#[doc = "Provided by VK_NV_viewport_swizzle"] impl StructureType { pub const PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: Self = Self(1_000_098_000); } -#[doc = "Generated from 'VK_EXT_discard_rectangles'"] +#[doc = "Provided by VK_EXT_discard_rectangles"] impl DynamicState { pub const DISCARD_RECTANGLE_EXT: Self = Self(1_000_099_000); pub const DISCARD_RECTANGLE_ENABLE_EXT: Self = Self(1_000_099_001); pub const DISCARD_RECTANGLE_MODE_EXT: Self = Self(1_000_099_002); } -#[doc = "Generated from 'VK_EXT_discard_rectangles'"] +#[doc = "Provided by VK_EXT_discard_rectangles"] impl StructureType { pub const PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: Self = Self(1_000_099_000); pub const PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: Self = Self(1_000_099_001); } -#[doc = "Generated from 'VK_EXT_conservative_rasterization'"] +#[doc = "Provided by VK_EXT_conservative_rasterization"] impl StructureType { pub const PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: Self = Self(1_000_101_000); pub const PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: Self = Self(1_000_101_001); } -#[doc = "Generated from 'VK_EXT_depth_clip_enable'"] +#[doc = "Provided by VK_EXT_depth_clip_enable"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: Self = Self(1_000_102_000); pub const PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: Self = Self(1_000_102_001); } -#[doc = "Generated from 'VK_EXT_swapchain_colorspace'"] +#[doc = "Provided by VK_EXT_swapchain_colorspace"] impl ColorSpaceKHR { pub const DISPLAY_P3_NONLINEAR_EXT: Self = Self(1_000_104_001); pub const EXTENDED_SRGB_LINEAR_EXT: Self = Self(1_000_104_002); @@ -763,15 +763,15 @@ impl ColorSpaceKHR { pub const PASS_THROUGH_EXT: Self = Self(1_000_104_013); pub const EXTENDED_SRGB_NONLINEAR_EXT: Self = Self(1_000_104_014); } -#[doc = "Generated from 'VK_EXT_hdr_metadata'"] +#[doc = "Provided by VK_EXT_hdr_metadata"] impl StructureType { pub const HDR_METADATA_EXT: Self = Self(1_000_105_000); } -#[doc = "Generated from 'VK_KHR_imageless_framebuffer'"] +#[doc = "Provided by VK_KHR_imageless_framebuffer"] impl FramebufferCreateFlags { pub const IMAGELESS_KHR: Self = Self::IMAGELESS; } -#[doc = "Generated from 'VK_KHR_imageless_framebuffer'"] +#[doc = "Provided by VK_KHR_imageless_framebuffer"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES; @@ -780,7 +780,7 @@ impl StructureType { pub const FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR: Self = Self::FRAMEBUFFER_ATTACHMENT_IMAGE_INFO; pub const RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR: Self = Self::RENDER_PASS_ATTACHMENT_BEGIN_INFO; } -#[doc = "Generated from 'VK_KHR_create_renderpass2'"] +#[doc = "Provided by VK_KHR_create_renderpass2"] impl StructureType { pub const ATTACHMENT_DESCRIPTION_2_KHR: Self = Self::ATTACHMENT_DESCRIPTION_2; pub const ATTACHMENT_REFERENCE_2_KHR: Self = Self::ATTACHMENT_REFERENCE_2; @@ -790,65 +790,65 @@ impl StructureType { pub const SUBPASS_BEGIN_INFO_KHR: Self = Self::SUBPASS_BEGIN_INFO; pub const SUBPASS_END_INFO_KHR: Self = Self::SUBPASS_END_INFO; } -#[doc = "Generated from 'VK_IMG_relaxed_line_rasterization'"] +#[doc = "Provided by VK_IMG_relaxed_line_rasterization"] impl StructureType { pub const PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG: Self = Self(1_000_110_000); } -#[doc = "Generated from 'VK_KHR_shared_presentable_image'"] +#[doc = "Provided by VK_KHR_shared_presentable_image"] impl ImageLayout { pub const SHARED_PRESENT_KHR: Self = Self(1_000_111_000); } -#[doc = "Generated from 'VK_KHR_shared_presentable_image'"] +#[doc = "Provided by VK_KHR_shared_presentable_image"] impl PresentModeKHR { pub const SHARED_DEMAND_REFRESH: Self = Self(1_000_111_000); pub const SHARED_CONTINUOUS_REFRESH: Self = Self(1_000_111_001); } -#[doc = "Generated from 'VK_KHR_shared_presentable_image'"] +#[doc = "Provided by VK_KHR_shared_presentable_image"] impl StructureType { pub const SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: Self = Self(1_000_111_000); } -#[doc = "Generated from 'VK_KHR_external_fence_capabilities'"] +#[doc = "Provided by VK_KHR_external_fence_capabilities"] impl ExternalFenceFeatureFlags { pub const EXPORTABLE_KHR: Self = Self::EXPORTABLE; pub const IMPORTABLE_KHR: Self = Self::IMPORTABLE; } -#[doc = "Generated from 'VK_KHR_external_fence_capabilities'"] +#[doc = "Provided by VK_KHR_external_fence_capabilities"] impl ExternalFenceHandleTypeFlags { pub const OPAQUE_FD_KHR: Self = Self::OPAQUE_FD; pub const OPAQUE_WIN32_KHR: Self = Self::OPAQUE_WIN32; pub const OPAQUE_WIN32_KMT_KHR: Self = Self::OPAQUE_WIN32_KMT; pub const SYNC_FD_KHR: Self = Self::SYNC_FD; } -#[doc = "Generated from 'VK_KHR_external_fence_capabilities'"] +#[doc = "Provided by VK_KHR_external_fence_capabilities"] impl StructureType { pub const PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR: Self = Self::PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO; pub const EXTERNAL_FENCE_PROPERTIES_KHR: Self = Self::EXTERNAL_FENCE_PROPERTIES; } -#[doc = "Generated from 'VK_KHR_external_fence'"] +#[doc = "Provided by VK_KHR_external_fence"] impl FenceImportFlags { pub const TEMPORARY_KHR: Self = Self::TEMPORARY; } -#[doc = "Generated from 'VK_KHR_external_fence'"] +#[doc = "Provided by VK_KHR_external_fence"] impl StructureType { pub const EXPORT_FENCE_CREATE_INFO_KHR: Self = Self::EXPORT_FENCE_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_external_fence_win32'"] +#[doc = "Provided by VK_KHR_external_fence_win32"] impl StructureType { pub const IMPORT_FENCE_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_114_000); pub const EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_114_001); pub const FENCE_GET_WIN32_HANDLE_INFO_KHR: Self = Self(1_000_114_002); } -#[doc = "Generated from 'VK_KHR_external_fence_fd'"] +#[doc = "Provided by VK_KHR_external_fence_fd"] impl StructureType { pub const IMPORT_FENCE_FD_INFO_KHR: Self = Self(1_000_115_000); pub const FENCE_GET_FD_INFO_KHR: Self = Self(1_000_115_001); } -#[doc = "Generated from 'VK_KHR_performance_query'"] +#[doc = "Provided by VK_KHR_performance_query"] impl QueryType { pub const PERFORMANCE_QUERY_KHR: Self = Self(1_000_116_000); } -#[doc = "Generated from 'VK_KHR_performance_query'"] +#[doc = "Provided by VK_KHR_performance_query"] impl StructureType { pub const PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR: Self = Self(1_000_116_000); pub const PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR: Self = Self(1_000_116_001); @@ -858,24 +858,24 @@ impl StructureType { pub const PERFORMANCE_COUNTER_KHR: Self = Self(1_000_116_005); pub const PERFORMANCE_COUNTER_DESCRIPTION_KHR: Self = Self(1_000_116_006); } -#[doc = "Generated from 'VK_KHR_maintenance2'"] +#[doc = "Provided by VK_KHR_maintenance2"] impl ImageCreateFlags { pub const BLOCK_TEXEL_VIEW_COMPATIBLE_KHR: Self = Self::BLOCK_TEXEL_VIEW_COMPATIBLE; pub const EXTENDED_USAGE_KHR: Self = Self::EXTENDED_USAGE; } -#[doc = "Generated from 'VK_KHR_maintenance2'"] +#[doc = "Provided by VK_KHR_maintenance2"] impl ImageLayout { pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR: Self = Self::DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL; pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR: Self = Self::DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL; } -#[doc = "Generated from 'VK_KHR_maintenance2'"] +#[doc = "Provided by VK_KHR_maintenance2"] impl PointClippingBehavior { pub const ALL_CLIP_PLANES_KHR: Self = Self::ALL_CLIP_PLANES; pub const USER_CLIP_PLANES_ONLY_KHR: Self = Self::USER_CLIP_PLANES_ONLY; } -#[doc = "Generated from 'VK_KHR_maintenance2'"] +#[doc = "Provided by VK_KHR_maintenance2"] impl StructureType { pub const PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES; @@ -885,25 +885,25 @@ impl StructureType { pub const PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR: Self = Self::PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_maintenance2'"] +#[doc = "Provided by VK_KHR_maintenance2"] impl TessellationDomainOrigin { pub const UPPER_LEFT_KHR: Self = Self::UPPER_LEFT; pub const LOWER_LEFT_KHR: Self = Self::LOWER_LEFT; } -#[doc = "Generated from 'VK_KHR_get_surface_capabilities2'"] +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] impl StructureType { pub const PHYSICAL_DEVICE_SURFACE_INFO_2_KHR: Self = Self(1_000_119_000); pub const SURFACE_CAPABILITIES_2_KHR: Self = Self(1_000_119_001); pub const SURFACE_FORMAT_2_KHR: Self = Self(1_000_119_002); } -#[doc = "Generated from 'VK_KHR_variable_pointers'"] +#[doc = "Provided by VK_KHR_variable_pointers"] impl StructureType { pub const PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES; pub const PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR; } -#[doc = "Generated from 'VK_KHR_get_display_properties2'"] +#[doc = "Provided by VK_KHR_get_display_properties2"] impl StructureType { pub const DISPLAY_PROPERTIES_2_KHR: Self = Self(1_000_121_000); pub const DISPLAY_PLANE_PROPERTIES_2_KHR: Self = Self(1_000_121_001); @@ -911,28 +911,28 @@ impl StructureType { pub const DISPLAY_PLANE_INFO_2_KHR: Self = Self(1_000_121_003); pub const DISPLAY_PLANE_CAPABILITIES_2_KHR: Self = Self(1_000_121_004); } -#[doc = "Generated from 'VK_MVK_ios_surface'"] +#[doc = "Provided by VK_MVK_ios_surface"] impl StructureType { pub const IOS_SURFACE_CREATE_INFO_MVK: Self = Self(1_000_122_000); } -#[doc = "Generated from 'VK_MVK_macos_surface'"] +#[doc = "Provided by VK_MVK_macos_surface"] impl StructureType { pub const MACOS_SURFACE_CREATE_INFO_MVK: Self = Self(1_000_123_000); } -#[doc = "Generated from 'VK_EXT_external_memory_dma_buf'"] +#[doc = "Provided by VK_EXT_external_memory_dma_buf"] impl ExternalMemoryHandleTypeFlags { pub const DMA_BUF_EXT: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_KHR_dedicated_allocation'"] +#[doc = "Provided by VK_KHR_dedicated_allocation"] impl StructureType { pub const MEMORY_DEDICATED_REQUIREMENTS_KHR: Self = Self::MEMORY_DEDICATED_REQUIREMENTS; pub const MEMORY_DEDICATED_ALLOCATE_INFO_KHR: Self = Self::MEMORY_DEDICATED_ALLOCATE_INFO; } -#[doc = "Generated from 'VK_EXT_debug_utils'"] +#[doc = "Provided by VK_EXT_debug_utils"] impl ObjectType { pub const DEBUG_UTILS_MESSENGER_EXT: Self = Self(1_000_128_000); } -#[doc = "Generated from 'VK_EXT_debug_utils'"] +#[doc = "Provided by VK_EXT_debug_utils"] impl StructureType { pub const DEBUG_UTILS_OBJECT_NAME_INFO_EXT: Self = Self(1_000_128_000); pub const DEBUG_UTILS_OBJECT_TAG_INFO_EXT: Self = Self(1_000_128_001); @@ -940,11 +940,11 @@ impl StructureType { pub const DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT: Self = Self(1_000_128_003); pub const DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: Self = Self(1_000_128_004); } -#[doc = "Generated from 'VK_ANDROID_external_memory_android_hardware_buffer'"] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] impl ExternalMemoryHandleTypeFlags { pub const ANDROID_HARDWARE_BUFFER_ANDROID: Self = Self(0b100_0000_0000); } -#[doc = "Generated from 'VK_ANDROID_external_memory_android_hardware_buffer'"] +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] impl StructureType { pub const ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: Self = Self(1_000_129_000); pub const ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID: Self = Self(1_000_129_001); @@ -954,36 +954,40 @@ impl StructureType { pub const EXTERNAL_FORMAT_ANDROID: Self = Self(1_000_129_005); pub const ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID: Self = Self(1_000_129_006); } -#[doc = "Generated from 'VK_EXT_sampler_filter_minmax'"] +#[doc = "Provided by VK_EXT_sampler_filter_minmax"] impl FormatFeatureFlags { pub const SAMPLED_IMAGE_FILTER_MINMAX_EXT: Self = Self::SAMPLED_IMAGE_FILTER_MINMAX; } -#[doc = "Generated from 'VK_EXT_sampler_filter_minmax'"] +#[doc = "Provided by VK_EXT_sampler_filter_minmax"] impl SamplerReductionMode { pub const WEIGHTED_AVERAGE_EXT: Self = Self::WEIGHTED_AVERAGE; pub const MIN_EXT: Self = Self::MIN; pub const MAX_EXT: Self = Self::MAX; } -#[doc = "Generated from 'VK_EXT_sampler_filter_minmax'"] +#[doc = "Provided by VK_EXT_sampler_filter_minmax"] impl StructureType { pub const PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT: Self = Self::PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES; pub const SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT: Self = Self::SAMPLER_REDUCTION_MODE_CREATE_INFO; } -#[doc = "Generated from 'VK_AMDX_shader_enqueue'"] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] impl BufferUsageFlags { pub const EXECUTION_GRAPH_SCRATCH_AMDX: Self = Self(0b10_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_AMDX_shader_enqueue'"] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] impl BufferUsageFlags2KHR { pub const EXECUTION_GRAPH_SCRATCH_AMDX: Self = Self(0b10_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_AMDX_shader_enqueue'"] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] impl PipelineBindPoint { pub const EXECUTION_GRAPH_AMDX: Self = Self(1_000_134_000); } -#[doc = "Generated from 'VK_AMDX_shader_enqueue'"] +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX: Self = Self(1_000_134_000); pub const PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX: Self = Self(1_000_134_001); @@ -991,11 +995,11 @@ impl StructureType { pub const EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX: Self = Self(1_000_134_003); pub const PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX: Self = Self(1_000_134_004); } -#[doc = "Generated from 'VK_EXT_inline_uniform_block'"] +#[doc = "Provided by VK_EXT_inline_uniform_block"] impl DescriptorType { pub const INLINE_UNIFORM_BLOCK_EXT: Self = Self::INLINE_UNIFORM_BLOCK; } -#[doc = "Generated from 'VK_EXT_inline_uniform_block'"] +#[doc = "Provided by VK_EXT_inline_uniform_block"] impl StructureType { pub const PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES; @@ -1006,15 +1010,15 @@ impl StructureType { pub const DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT: Self = Self::DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO; } -#[doc = "Generated from 'VK_EXT_sample_locations'"] +#[doc = "Provided by VK_EXT_sample_locations"] impl DynamicState { pub const SAMPLE_LOCATIONS_EXT: Self = Self(1_000_143_000); } -#[doc = "Generated from 'VK_EXT_sample_locations'"] +#[doc = "Provided by VK_EXT_sample_locations"] impl ImageCreateFlags { pub const SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT: Self = Self(0b1_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_sample_locations'"] +#[doc = "Provided by VK_EXT_sample_locations"] impl StructureType { pub const SAMPLE_LOCATIONS_INFO_EXT: Self = Self(1_000_143_000); pub const RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: Self = Self(1_000_143_001); @@ -1022,7 +1026,7 @@ impl StructureType { pub const PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: Self = Self(1_000_143_003); pub const MULTISAMPLE_PROPERTIES_EXT: Self = Self(1_000_143_004); } -#[doc = "Generated from 'VK_KHR_get_memory_requirements2'"] +#[doc = "Provided by VK_KHR_get_memory_requirements2"] impl StructureType { pub const BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR: Self = Self::BUFFER_MEMORY_REQUIREMENTS_INFO_2; pub const IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR: Self = Self::IMAGE_MEMORY_REQUIREMENTS_INFO_2; @@ -1032,15 +1036,15 @@ impl StructureType { pub const SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR: Self = Self::SPARSE_IMAGE_MEMORY_REQUIREMENTS_2; } -#[doc = "Generated from 'VK_KHR_image_format_list'"] +#[doc = "Provided by VK_KHR_image_format_list"] impl StructureType { pub const IMAGE_FORMAT_LIST_CREATE_INFO_KHR: Self = Self::IMAGE_FORMAT_LIST_CREATE_INFO; } -#[doc = "Generated from 'VK_EXT_blend_operation_advanced'"] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] impl AccessFlags { pub const COLOR_ATTACHMENT_READ_NONCOHERENT_EXT: Self = Self(0b1000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_blend_operation_advanced'"] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] impl BlendOp { pub const ZERO_EXT: Self = Self(1_000_148_000); pub const SRC_EXT: Self = Self(1_000_148_001); @@ -1089,63 +1093,63 @@ impl BlendOp { pub const GREEN_EXT: Self = Self(1_000_148_044); pub const BLUE_EXT: Self = Self(1_000_148_045); } -#[doc = "Generated from 'VK_EXT_blend_operation_advanced'"] +#[doc = "Provided by VK_EXT_blend_operation_advanced"] impl StructureType { pub const PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: Self = Self(1_000_148_000); pub const PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: Self = Self(1_000_148_001); pub const PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: Self = Self(1_000_148_002); } -#[doc = "Generated from 'VK_NV_fragment_coverage_to_color'"] +#[doc = "Provided by VK_NV_fragment_coverage_to_color"] impl StructureType { pub const PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: Self = Self(1_000_149_000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl AccessFlags { pub const ACCELERATION_STRUCTURE_READ_KHR: Self = Self(0b10_0000_0000_0000_0000_0000); pub const ACCELERATION_STRUCTURE_WRITE_KHR: Self = Self(0b100_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl BufferUsageFlags { pub const ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR: Self = Self(0b1000_0000_0000_0000_0000); pub const ACCELERATION_STRUCTURE_STORAGE_KHR: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl DebugReportObjectTypeEXT { pub const ACCELERATION_STRUCTURE_KHR: Self = Self(1_000_150_000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl DescriptorType { pub const ACCELERATION_STRUCTURE_KHR: Self = Self(1_000_150_000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl FormatFeatureFlags { pub const ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl FormatFeatureFlags2 { pub const ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl IndexType { pub const NONE_KHR: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl ObjectType { pub const ACCELERATION_STRUCTURE_KHR: Self = Self(1_000_150_000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl PipelineStageFlags { pub const ACCELERATION_STRUCTURE_BUILD_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl QueryType { pub const ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR: Self = Self(1_000_150_000); pub const ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR: Self = Self(1_000_150_001); } -#[doc = "Generated from 'VK_KHR_acceleration_structure'"] +#[doc = "Provided by VK_KHR_acceleration_structure"] impl StructureType { pub const WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: Self = Self(1_000_150_007); pub const ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR: Self = Self(1_000_150_000); @@ -1163,19 +1167,19 @@ impl StructureType { pub const ACCELERATION_STRUCTURE_CREATE_INFO_KHR: Self = Self(1_000_150_017); pub const ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR: Self = Self(1_000_150_020); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl BufferUsageFlags { pub const SHADER_BINDING_TABLE_KHR: Self = Self(0b100_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl DynamicState { pub const RAY_TRACING_PIPELINE_STACK_SIZE_KHR: Self = Self(1_000_347_000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl PipelineBindPoint { pub const RAY_TRACING_KHR: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl PipelineCreateFlags { pub const RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_KHR: Self = Self(0b100_0000_0000_0000); pub const RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_KHR: Self = Self(0b1000_0000_0000_0000); @@ -1186,11 +1190,11 @@ impl PipelineCreateFlags { pub const RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_KHR: Self = Self(0b1000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl PipelineStageFlags { pub const RAY_TRACING_SHADER_KHR: Self = Self(0b10_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl ShaderStageFlags { pub const RAYGEN_KHR: Self = Self(0b1_0000_0000); pub const ANY_HIT_KHR: Self = Self(0b10_0000_0000); @@ -1199,7 +1203,7 @@ impl ShaderStageFlags { pub const INTERSECTION_KHR: Self = Self(0b1_0000_0000_0000); pub const CALLABLE_KHR: Self = Self(0b10_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_pipeline'"] +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR: Self = Self(1_000_347_000); pub const PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR: Self = Self(1_000_347_001); @@ -1207,33 +1211,33 @@ impl StructureType { pub const RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR: Self = Self(1_000_150_016); pub const RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR: Self = Self(1_000_150_018); } -#[doc = "Generated from 'VK_KHR_ray_query'"] +#[doc = "Provided by VK_KHR_ray_query"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR: Self = Self(1_000_348_013); } -#[doc = "Generated from 'VK_NV_framebuffer_mixed_samples'"] +#[doc = "Provided by VK_NV_framebuffer_mixed_samples"] impl StructureType { pub const PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: Self = Self(1_000_152_000); } -#[doc = "Generated from 'VK_NV_fill_rectangle'"] +#[doc = "Provided by VK_NV_fill_rectangle"] impl PolygonMode { pub const FILL_RECTANGLE_NV: Self = Self(1_000_153_000); } -#[doc = "Generated from 'VK_NV_shader_sm_builtins'"] +#[doc = "Provided by VK_NV_shader_sm_builtins"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: Self = Self(1_000_154_000); pub const PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: Self = Self(1_000_154_001); } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl ChromaLocation { pub const COSITED_EVEN_KHR: Self = Self::COSITED_EVEN; pub const MIDPOINT_KHR: Self = Self::MIDPOINT; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl DebugReportObjectTypeEXT { pub const SAMPLER_YCBCR_CONVERSION_KHR: Self = Self::SAMPLER_YCBCR_CONVERSION; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl Format { pub const G8B8G8R8_422_UNORM_KHR: Self = Self::G8B8G8R8_422_UNORM; pub const B8G8R8G8_422_UNORM_KHR: Self = Self::B8G8R8G8_422_UNORM; @@ -1286,7 +1290,7 @@ impl Format { pub const G16_B16R16_2PLANE_422_UNORM_KHR: Self = Self::G16_B16R16_2PLANE_422_UNORM; pub const G16_B16_R16_3PLANE_444_UNORM_KHR: Self = Self::G16_B16_R16_3PLANE_444_UNORM; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl FormatFeatureFlags { pub const MIDPOINT_CHROMA_SAMPLES_KHR: Self = Self::MIDPOINT_CHROMA_SAMPLES; pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: Self = @@ -1300,21 +1304,21 @@ impl FormatFeatureFlags { pub const DISJOINT_KHR: Self = Self::DISJOINT; pub const COSITED_CHROMA_SAMPLES_KHR: Self = Self::COSITED_CHROMA_SAMPLES; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl ImageAspectFlags { pub const PLANE_0_KHR: Self = Self::PLANE_0; pub const PLANE_1_KHR: Self = Self::PLANE_1; pub const PLANE_2_KHR: Self = Self::PLANE_2; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl ImageCreateFlags { pub const DISJOINT_KHR: Self = Self::DISJOINT; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl ObjectType { pub const SAMPLER_YCBCR_CONVERSION_KHR: Self = Self::SAMPLER_YCBCR_CONVERSION; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl SamplerYcbcrModelConversion { pub const RGB_IDENTITY_KHR: Self = Self::RGB_IDENTITY; pub const YCBCR_IDENTITY_KHR: Self = Self::YCBCR_IDENTITY; @@ -1322,12 +1326,12 @@ impl SamplerYcbcrModelConversion { pub const YCBCR_601_KHR: Self = Self::YCBCR_601; pub const YCBCR_2020_KHR: Self = Self::YCBCR_2020; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl SamplerYcbcrRange { pub const ITU_FULL_KHR: Self = Self::ITU_FULL; pub const ITU_NARROW_KHR: Self = Self::ITU_NARROW; } -#[doc = "Generated from 'VK_KHR_sampler_ycbcr_conversion'"] +#[doc = "Provided by VK_KHR_sampler_ycbcr_conversion"] impl StructureType { pub const SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR: Self = Self::SAMPLER_YCBCR_CONVERSION_CREATE_INFO; @@ -1340,31 +1344,31 @@ impl StructureType { pub const SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR: Self = Self::SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES; } -#[doc = "Generated from 'VK_KHR_bind_memory2'"] +#[doc = "Provided by VK_KHR_bind_memory2"] impl ImageCreateFlags { pub const ALIAS_KHR: Self = Self::ALIAS; } -#[doc = "Generated from 'VK_KHR_bind_memory2'"] +#[doc = "Provided by VK_KHR_bind_memory2"] impl StructureType { pub const BIND_BUFFER_MEMORY_INFO_KHR: Self = Self::BIND_BUFFER_MEMORY_INFO; pub const BIND_IMAGE_MEMORY_INFO_KHR: Self = Self::BIND_IMAGE_MEMORY_INFO; } -#[doc = "Generated from 'VK_EXT_image_drm_format_modifier'"] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] impl ImageAspectFlags { pub const MEMORY_PLANE_0_EXT: Self = Self(0b1000_0000); pub const MEMORY_PLANE_1_EXT: Self = Self(0b1_0000_0000); pub const MEMORY_PLANE_2_EXT: Self = Self(0b10_0000_0000); pub const MEMORY_PLANE_3_EXT: Self = Self(0b100_0000_0000); } -#[doc = "Generated from 'VK_EXT_image_drm_format_modifier'"] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] impl ImageTiling { pub const DRM_FORMAT_MODIFIER_EXT: Self = Self(1_000_158_000); } -#[doc = "Generated from 'VK_EXT_image_drm_format_modifier'"] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] impl Result { pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self = Self(-1_000_158_000); } -#[doc = "Generated from 'VK_EXT_image_drm_format_modifier'"] +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] impl StructureType { pub const DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: Self = Self(1_000_158_000); pub const PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: Self = Self(1_000_158_002); @@ -1373,35 +1377,35 @@ impl StructureType { pub const IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT: Self = Self(1_000_158_005); pub const DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT: Self = Self(1_000_158_006); } -#[doc = "Generated from 'VK_EXT_validation_cache'"] +#[doc = "Provided by VK_EXT_validation_cache"] impl ObjectType { pub const VALIDATION_CACHE_EXT: Self = Self(1_000_160_000); } -#[doc = "Generated from 'VK_EXT_validation_cache'"] +#[doc = "Provided by VK_EXT_validation_cache"] impl StructureType { pub const VALIDATION_CACHE_CREATE_INFO_EXT: Self = Self(1_000_160_000); pub const SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: Self = Self(1_000_160_001); } -#[doc = "Generated from 'VK_EXT_descriptor_indexing'"] +#[doc = "Provided by VK_EXT_descriptor_indexing"] impl DescriptorBindingFlags { pub const UPDATE_AFTER_BIND_EXT: Self = Self::UPDATE_AFTER_BIND; pub const UPDATE_UNUSED_WHILE_PENDING_EXT: Self = Self::UPDATE_UNUSED_WHILE_PENDING; pub const PARTIALLY_BOUND_EXT: Self = Self::PARTIALLY_BOUND; pub const VARIABLE_DESCRIPTOR_COUNT_EXT: Self = Self::VARIABLE_DESCRIPTOR_COUNT; } -#[doc = "Generated from 'VK_EXT_descriptor_indexing'"] +#[doc = "Provided by VK_EXT_descriptor_indexing"] impl DescriptorPoolCreateFlags { pub const UPDATE_AFTER_BIND_EXT: Self = Self::UPDATE_AFTER_BIND; } -#[doc = "Generated from 'VK_EXT_descriptor_indexing'"] +#[doc = "Provided by VK_EXT_descriptor_indexing"] impl DescriptorSetLayoutCreateFlags { pub const UPDATE_AFTER_BIND_POOL_EXT: Self = Self::UPDATE_AFTER_BIND_POOL; } -#[doc = "Generated from 'VK_EXT_descriptor_indexing'"] +#[doc = "Provided by VK_EXT_descriptor_indexing"] impl Result { pub const ERROR_FRAGMENTATION_EXT: Self = Self::ERROR_FRAGMENTATION; } -#[doc = "Generated from 'VK_EXT_descriptor_indexing'"] +#[doc = "Provided by VK_EXT_descriptor_indexing"] impl StructureType { pub const DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT: Self = Self::DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO; @@ -1414,33 +1418,34 @@ impl StructureType { pub const DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT: Self = Self::DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT; } -#[doc = "Generated from 'VK_KHR_portability_subset'"] +#[doc = "Provided by VK_KHR_portability_subset"] +#[cfg(feature = "provisional")] impl StructureType { pub const PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR: Self = Self(1_000_163_000); pub const PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR: Self = Self(1_000_163_001); } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl AccessFlags { pub const SHADING_RATE_IMAGE_READ_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR; } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl DynamicState { pub const VIEWPORT_SHADING_RATE_PALETTE_NV: Self = Self(1_000_164_004); pub const VIEWPORT_COARSE_SAMPLE_ORDER_NV: Self = Self(1_000_164_006); } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl ImageLayout { pub const SHADING_RATE_OPTIMAL_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR; } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl ImageUsageFlags { pub const SHADING_RATE_IMAGE_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR; } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl PipelineStageFlags { pub const SHADING_RATE_IMAGE_NV: Self = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR; } -#[doc = "Generated from 'VK_NV_shading_rate_image'"] +#[doc = "Provided by VK_NV_shading_rate_image"] impl StructureType { pub const PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: Self = Self(1_000_164_000); pub const PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: Self = Self(1_000_164_001); @@ -1448,21 +1453,21 @@ impl StructureType { pub const PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: Self = Self(1_000_164_005); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl AccelerationStructureTypeKHR { pub const TOP_LEVEL_NV: Self = Self::TOP_LEVEL; pub const BOTTOM_LEVEL_NV: Self = Self::BOTTOM_LEVEL; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl AccessFlags { pub const ACCELERATION_STRUCTURE_READ_NV: Self = Self::ACCELERATION_STRUCTURE_READ_KHR; pub const ACCELERATION_STRUCTURE_WRITE_NV: Self = Self::ACCELERATION_STRUCTURE_WRITE_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl BufferUsageFlags { pub const RAY_TRACING_NV: Self = Self::SHADER_BINDING_TABLE_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl BuildAccelerationStructureFlagsKHR { pub const ALLOW_UPDATE_NV: Self = Self::ALLOW_UPDATE; pub const ALLOW_COMPACTION_NV: Self = Self::ALLOW_COMPACTION; @@ -1470,68 +1475,68 @@ impl BuildAccelerationStructureFlagsKHR { pub const PREFER_FAST_BUILD_NV: Self = Self::PREFER_FAST_BUILD; pub const LOW_MEMORY_NV: Self = Self::LOW_MEMORY; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl CopyAccelerationStructureModeKHR { pub const CLONE_NV: Self = Self::CLONE; pub const COMPACT_NV: Self = Self::COMPACT; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl DebugReportObjectTypeEXT { pub const ACCELERATION_STRUCTURE_NV: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl DescriptorType { pub const ACCELERATION_STRUCTURE_NV: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl GeometryFlagsKHR { pub const OPAQUE_NV: Self = Self::OPAQUE; pub const NO_DUPLICATE_ANY_HIT_INVOCATION_NV: Self = Self::NO_DUPLICATE_ANY_HIT_INVOCATION; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl GeometryInstanceFlagsKHR { pub const TRIANGLE_CULL_DISABLE_NV: Self = Self::TRIANGLE_FACING_CULL_DISABLE; pub const TRIANGLE_FRONT_COUNTERCLOCKWISE_NV: Self = Self::TRIANGLE_FRONT_COUNTERCLOCKWISE; pub const FORCE_OPAQUE_NV: Self = Self::FORCE_OPAQUE; pub const FORCE_NO_OPAQUE_NV: Self = Self::FORCE_NO_OPAQUE; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl GeometryTypeKHR { pub const TRIANGLES_NV: Self = Self::TRIANGLES; pub const AABBS_NV: Self = Self::AABBS; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl IndexType { pub const NONE_NV: Self = Self::NONE_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl ObjectType { pub const ACCELERATION_STRUCTURE_NV: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl PipelineBindPoint { pub const RAY_TRACING_NV: Self = Self::RAY_TRACING_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl PipelineCreateFlags { pub const DEFER_COMPILE_NV: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl PipelineStageFlags { pub const RAY_TRACING_SHADER_NV: Self = Self::RAY_TRACING_SHADER_KHR; pub const ACCELERATION_STRUCTURE_BUILD_NV: Self = Self::ACCELERATION_STRUCTURE_BUILD_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl QueryType { pub const ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV: Self = Self(1_000_165_000); } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl RayTracingShaderGroupTypeKHR { pub const GENERAL_NV: Self = Self::GENERAL; pub const TRIANGLES_HIT_GROUP_NV: Self = Self::TRIANGLES_HIT_GROUP; pub const PROCEDURAL_HIT_GROUP_NV: Self = Self::PROCEDURAL_HIT_GROUP; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl ShaderStageFlags { pub const RAYGEN_NV: Self = Self::RAYGEN_KHR; pub const ANY_HIT_NV: Self = Self::ANY_HIT_KHR; @@ -1540,7 +1545,7 @@ impl ShaderStageFlags { pub const INTERSECTION_NV: Self = Self::INTERSECTION_KHR; pub const CALLABLE_NV: Self = Self::CALLABLE_KHR; } -#[doc = "Generated from 'VK_NV_ray_tracing'"] +#[doc = "Provided by VK_NV_ray_tracing"] impl StructureType { pub const RAY_TRACING_PIPELINE_CREATE_INFO_NV: Self = Self(1_000_165_000); pub const ACCELERATION_STRUCTURE_CREATE_INFO_NV: Self = Self(1_000_165_001); @@ -1554,95 +1559,95 @@ impl StructureType { pub const RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV: Self = Self(1_000_165_011); pub const ACCELERATION_STRUCTURE_INFO_NV: Self = Self(1_000_165_012); } -#[doc = "Generated from 'VK_NV_representative_fragment_test'"] +#[doc = "Provided by VK_NV_representative_fragment_test"] impl StructureType { pub const PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: Self = Self(1_000_166_000); pub const PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: Self = Self(1_000_166_001); } -#[doc = "Generated from 'VK_KHR_maintenance3'"] +#[doc = "Provided by VK_KHR_maintenance3"] impl StructureType { pub const PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES; pub const DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR: Self = Self::DESCRIPTOR_SET_LAYOUT_SUPPORT; } -#[doc = "Generated from 'VK_EXT_filter_cubic'"] +#[doc = "Provided by VK_EXT_filter_cubic"] impl Filter { pub const CUBIC_EXT: Self = Self(1_000_015_000); } -#[doc = "Generated from 'VK_EXT_filter_cubic'"] +#[doc = "Provided by VK_EXT_filter_cubic"] impl FormatFeatureFlags { pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: Self = Self(0b10_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_filter_cubic'"] +#[doc = "Provided by VK_EXT_filter_cubic"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: Self = Self(1_000_170_000); pub const FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: Self = Self(1_000_170_001); } -#[doc = "Generated from 'VK_QCOM_render_pass_shader_resolve'"] +#[doc = "Provided by VK_QCOM_render_pass_shader_resolve"] impl SubpassDescriptionFlags { pub const FRAGMENT_REGION_QCOM: Self = Self(0b100); pub const SHADER_RESOLVE_QCOM: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_global_priority'"] +#[doc = "Provided by VK_EXT_global_priority"] impl Result { pub const ERROR_NOT_PERMITTED_EXT: Self = Self::ERROR_NOT_PERMITTED_KHR; } -#[doc = "Generated from 'VK_EXT_global_priority'"] +#[doc = "Provided by VK_EXT_global_priority"] impl StructureType { pub const DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT: Self = Self::DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR; } -#[doc = "Generated from 'VK_KHR_shader_subgroup_extended_types'"] +#[doc = "Provided by VK_KHR_shader_subgroup_extended_types"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES; } -#[doc = "Generated from 'VK_KHR_8bit_storage'"] +#[doc = "Provided by VK_KHR_8bit_storage"] impl StructureType { pub const PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES; } -#[doc = "Generated from 'VK_EXT_external_memory_host'"] +#[doc = "Provided by VK_EXT_external_memory_host"] impl ExternalMemoryHandleTypeFlags { pub const HOST_ALLOCATION_EXT: Self = Self(0b1000_0000); pub const HOST_MAPPED_FOREIGN_MEMORY_EXT: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_EXT_external_memory_host'"] +#[doc = "Provided by VK_EXT_external_memory_host"] impl StructureType { pub const IMPORT_MEMORY_HOST_POINTER_INFO_EXT: Self = Self(1_000_178_000); pub const MEMORY_HOST_POINTER_PROPERTIES_EXT: Self = Self(1_000_178_001); pub const PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: Self = Self(1_000_178_002); } -#[doc = "Generated from 'VK_KHR_shader_atomic_int64'"] +#[doc = "Provided by VK_KHR_shader_atomic_int64"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES; } -#[doc = "Generated from 'VK_KHR_shader_clock'"] +#[doc = "Provided by VK_KHR_shader_clock"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR: Self = Self(1_000_181_000); } -#[doc = "Generated from 'VK_AMD_pipeline_compiler_control'"] +#[doc = "Provided by VK_AMD_pipeline_compiler_control"] impl StructureType { pub const PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD: Self = Self(1_000_183_000); } -#[doc = "Generated from 'VK_EXT_calibrated_timestamps'"] +#[doc = "Provided by VK_EXT_calibrated_timestamps"] impl StructureType { pub const CALIBRATED_TIMESTAMP_INFO_EXT: Self = Self::CALIBRATED_TIMESTAMP_INFO_KHR; } -#[doc = "Generated from 'VK_EXT_calibrated_timestamps'"] +#[doc = "Provided by VK_EXT_calibrated_timestamps"] impl TimeDomainKHR { pub const DEVICE_EXT: Self = Self::DEVICE; pub const CLOCK_MONOTONIC_EXT: Self = Self::CLOCK_MONOTONIC; pub const CLOCK_MONOTONIC_RAW_EXT: Self = Self::CLOCK_MONOTONIC_RAW; pub const QUERY_PERFORMANCE_COUNTER_EXT: Self = Self::QUERY_PERFORMANCE_COUNTER; } -#[doc = "Generated from 'VK_AMD_shader_core_properties'"] +#[doc = "Provided by VK_AMD_shader_core_properties"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: Self = Self(1_000_185_000); } -#[doc = "Generated from 'VK_KHR_video_decode_h265'"] +#[doc = "Provided by VK_KHR_video_decode_h265"] impl StructureType { pub const VIDEO_DECODE_H265_CAPABILITIES_KHR: Self = Self(1_000_187_000); pub const VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR: Self = Self(1_000_187_001); @@ -1651,25 +1656,25 @@ impl StructureType { pub const VIDEO_DECODE_H265_PICTURE_INFO_KHR: Self = Self(1_000_187_004); pub const VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR: Self = Self(1_000_187_005); } -#[doc = "Generated from 'VK_KHR_video_decode_h265'"] +#[doc = "Provided by VK_KHR_video_decode_h265"] impl VideoCodecOperationFlagsKHR { pub const DECODE_H265: Self = Self(0b10); } -#[doc = "Generated from 'VK_KHR_global_priority'"] +#[doc = "Provided by VK_KHR_global_priority"] impl Result { pub const ERROR_NOT_PERMITTED_KHR: Self = Self(-1_000_174_001); } -#[doc = "Generated from 'VK_KHR_global_priority'"] +#[doc = "Provided by VK_KHR_global_priority"] impl StructureType { pub const DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR: Self = Self(1_000_174_000); pub const PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR: Self = Self(1_000_388_000); pub const QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR: Self = Self(1_000_388_001); } -#[doc = "Generated from 'VK_AMD_memory_overallocation_behavior'"] +#[doc = "Provided by VK_AMD_memory_overallocation_behavior"] impl StructureType { pub const DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: Self = Self(1_000_189_000); } -#[doc = "Generated from 'VK_EXT_vertex_attribute_divisor'"] +#[doc = "Provided by VK_EXT_vertex_attribute_divisor"] impl StructureType { pub const PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: Self = Self(1_000_190_000); pub const PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT: Self = @@ -1677,16 +1682,16 @@ impl StructureType { pub const PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR; } -#[doc = "Generated from 'VK_GGP_frame_token'"] +#[doc = "Provided by VK_GGP_frame_token"] impl StructureType { pub const PRESENT_FRAME_TOKEN_GGP: Self = Self(1_000_191_000); } -#[doc = "Generated from 'VK_EXT_pipeline_creation_feedback'"] +#[doc = "Provided by VK_EXT_pipeline_creation_feedback"] impl StructureType { pub const PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT: Self = Self::PIPELINE_CREATION_FEEDBACK_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_driver_properties'"] +#[doc = "Provided by VK_KHR_driver_properties"] impl DriverId { pub const AMD_PROPRIETARY_KHR: Self = Self::AMD_PROPRIETARY; pub const AMD_OPEN_SOURCE_KHR: Self = Self::AMD_OPEN_SOURCE; @@ -1701,26 +1706,26 @@ impl DriverId { pub const GGP_PROPRIETARY_KHR: Self = Self::GGP_PROPRIETARY; pub const BROADCOM_PROPRIETARY_KHR: Self = Self::BROADCOM_PROPRIETARY; } -#[doc = "Generated from 'VK_KHR_driver_properties'"] +#[doc = "Provided by VK_KHR_driver_properties"] impl StructureType { pub const PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_DRIVER_PROPERTIES; } -#[doc = "Generated from 'VK_KHR_shader_float_controls'"] +#[doc = "Provided by VK_KHR_shader_float_controls"] impl ShaderFloatControlsIndependence { pub const TYPE_32_ONLY_KHR: Self = Self::TYPE_32_ONLY; pub const ALL_KHR: Self = Self::ALL; pub const NONE_KHR: Self = Self::NONE; } -#[doc = "Generated from 'VK_KHR_shader_float_controls'"] +#[doc = "Provided by VK_KHR_shader_float_controls"] impl StructureType { pub const PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES; } -#[doc = "Generated from 'VK_NV_shader_subgroup_partitioned'"] +#[doc = "Provided by VK_NV_shader_subgroup_partitioned"] impl SubgroupFeatureFlags { pub const PARTITIONED_NV: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_KHR_depth_stencil_resolve'"] +#[doc = "Provided by VK_KHR_depth_stencil_resolve"] impl ResolveModeFlags { pub const NONE_KHR: Self = Self::NONE; pub const SAMPLE_ZERO_KHR: Self = Self::SAMPLE_ZERO; @@ -1728,76 +1733,76 @@ impl ResolveModeFlags { pub const MIN_KHR: Self = Self::MIN; pub const MAX_KHR: Self = Self::MAX; } -#[doc = "Generated from 'VK_KHR_depth_stencil_resolve'"] +#[doc = "Provided by VK_KHR_depth_stencil_resolve"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES; pub const SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR: Self = Self::SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE; } -#[doc = "Generated from 'VK_KHR_swapchain_mutable_format'"] +#[doc = "Provided by VK_KHR_swapchain_mutable_format"] impl SwapchainCreateFlagsKHR { pub const MUTABLE_FORMAT: Self = Self(0b100); } -#[doc = "Generated from 'VK_NV_compute_shader_derivatives'"] +#[doc = "Provided by VK_NV_compute_shader_derivatives"] impl StructureType { pub const PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV: Self = Self::PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR; } -#[doc = "Generated from 'VK_NV_mesh_shader'"] +#[doc = "Provided by VK_NV_mesh_shader"] impl IndirectCommandsTokenTypeEXT { pub const DRAW_MESH_TASKS_NV: Self = Self(1_000_202_002); pub const DRAW_MESH_TASKS_COUNT_NV: Self = Self(1_000_202_003); } -#[doc = "Generated from 'VK_NV_mesh_shader'"] +#[doc = "Provided by VK_NV_mesh_shader"] impl PipelineStageFlags { pub const TASK_SHADER_NV: Self = Self::TASK_SHADER_EXT; pub const MESH_SHADER_NV: Self = Self::MESH_SHADER_EXT; } -#[doc = "Generated from 'VK_NV_mesh_shader'"] +#[doc = "Provided by VK_NV_mesh_shader"] impl ShaderStageFlags { pub const TASK_NV: Self = Self::TASK_EXT; pub const MESH_NV: Self = Self::MESH_EXT; } -#[doc = "Generated from 'VK_NV_mesh_shader'"] +#[doc = "Provided by VK_NV_mesh_shader"] impl StructureType { pub const PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: Self = Self(1_000_202_000); pub const PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: Self = Self(1_000_202_001); } -#[doc = "Generated from 'VK_NV_fragment_shader_barycentric'"] +#[doc = "Provided by VK_NV_fragment_shader_barycentric"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV: Self = Self::PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR; } -#[doc = "Generated from 'VK_NV_shader_image_footprint'"] +#[doc = "Provided by VK_NV_shader_image_footprint"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: Self = Self(1_000_204_000); } -#[doc = "Generated from 'VK_NV_scissor_exclusive'"] +#[doc = "Provided by VK_NV_scissor_exclusive"] impl DynamicState { pub const EXCLUSIVE_SCISSOR_ENABLE_NV: Self = Self(1_000_205_000); pub const EXCLUSIVE_SCISSOR_NV: Self = Self(1_000_205_001); } -#[doc = "Generated from 'VK_NV_scissor_exclusive'"] +#[doc = "Provided by VK_NV_scissor_exclusive"] impl StructureType { pub const PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: Self = Self(1_000_205_000); pub const PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: Self = Self(1_000_205_002); } -#[doc = "Generated from 'VK_NV_device_diagnostic_checkpoints'"] +#[doc = "Provided by VK_NV_device_diagnostic_checkpoints"] impl StructureType { pub const CHECKPOINT_DATA_NV: Self = Self(1_000_206_000); pub const QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: Self = Self(1_000_206_001); } -#[doc = "Generated from 'VK_KHR_timeline_semaphore'"] +#[doc = "Provided by VK_KHR_timeline_semaphore"] impl SemaphoreType { pub const BINARY_KHR: Self = Self::BINARY; pub const TIMELINE_KHR: Self = Self::TIMELINE; } -#[doc = "Generated from 'VK_KHR_timeline_semaphore'"] +#[doc = "Provided by VK_KHR_timeline_semaphore"] impl SemaphoreWaitFlags { pub const ANY_KHR: Self = Self::ANY; } -#[doc = "Generated from 'VK_KHR_timeline_semaphore'"] +#[doc = "Provided by VK_KHR_timeline_semaphore"] impl StructureType { pub const PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES; @@ -1808,19 +1813,19 @@ impl StructureType { pub const SEMAPHORE_WAIT_INFO_KHR: Self = Self::SEMAPHORE_WAIT_INFO; pub const SEMAPHORE_SIGNAL_INFO_KHR: Self = Self::SEMAPHORE_SIGNAL_INFO; } -#[doc = "Generated from 'VK_INTEL_shader_integer_functions2'"] +#[doc = "Provided by VK_INTEL_shader_integer_functions2"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: Self = Self(1_000_209_000); } -#[doc = "Generated from 'VK_INTEL_performance_query'"] +#[doc = "Provided by VK_INTEL_performance_query"] impl ObjectType { pub const PERFORMANCE_CONFIGURATION_INTEL: Self = Self(1_000_210_000); } -#[doc = "Generated from 'VK_INTEL_performance_query'"] +#[doc = "Provided by VK_INTEL_performance_query"] impl QueryType { pub const PERFORMANCE_QUERY_INTEL: Self = Self(1_000_210_000); } -#[doc = "Generated from 'VK_INTEL_performance_query'"] +#[doc = "Provided by VK_INTEL_performance_query"] impl StructureType { pub const QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL: Self = Self(1_000_210_000); pub const INITIALIZE_PERFORMANCE_API_INFO_INTEL: Self = Self(1_000_210_001); @@ -1829,91 +1834,91 @@ impl StructureType { pub const PERFORMANCE_OVERRIDE_INFO_INTEL: Self = Self(1_000_210_004); pub const PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL: Self = Self(1_000_210_005); } -#[doc = "Generated from 'VK_KHR_vulkan_memory_model'"] +#[doc = "Provided by VK_KHR_vulkan_memory_model"] impl StructureType { pub const PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES; } -#[doc = "Generated from 'VK_EXT_pci_bus_info'"] +#[doc = "Provided by VK_EXT_pci_bus_info"] impl StructureType { pub const PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: Self = Self(1_000_212_000); } -#[doc = "Generated from 'VK_AMD_display_native_hdr'"] +#[doc = "Provided by VK_AMD_display_native_hdr"] impl ColorSpaceKHR { pub const DISPLAY_NATIVE_AMD: Self = Self(1_000_213_000); } -#[doc = "Generated from 'VK_AMD_display_native_hdr'"] +#[doc = "Provided by VK_AMD_display_native_hdr"] impl StructureType { pub const DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: Self = Self(1_000_213_000); pub const SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: Self = Self(1_000_213_001); } -#[doc = "Generated from 'VK_FUCHSIA_imagepipe_surface'"] +#[doc = "Provided by VK_FUCHSIA_imagepipe_surface"] impl StructureType { pub const IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA: Self = Self(1_000_214_000); } -#[doc = "Generated from 'VK_KHR_shader_terminate_invocation'"] +#[doc = "Provided by VK_KHR_shader_terminate_invocation"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES; } -#[doc = "Generated from 'VK_EXT_metal_surface'"] +#[doc = "Provided by VK_EXT_metal_surface"] impl StructureType { pub const METAL_SURFACE_CREATE_INFO_EXT: Self = Self(1_000_217_000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl AccessFlags { pub const FRAGMENT_DENSITY_MAP_READ_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl FormatFeatureFlags { pub const FRAGMENT_DENSITY_MAP_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl FormatFeatureFlags2 { pub const FRAGMENT_DENSITY_MAP_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl ImageCreateFlags { pub const SUBSAMPLED_EXT: Self = Self(0b100_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl ImageLayout { pub const FRAGMENT_DENSITY_MAP_OPTIMAL_EXT: Self = Self(1_000_218_000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl ImageUsageFlags { pub const FRAGMENT_DENSITY_MAP_EXT: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl ImageViewCreateFlags { pub const FRAGMENT_DENSITY_MAP_DYNAMIC_EXT: Self = Self(0b1); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl PipelineStageFlags { pub const FRAGMENT_DENSITY_PROCESS_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl SamplerCreateFlags { pub const SUBSAMPLED_EXT: Self = Self(0b1); pub const SUBSAMPLED_COARSE_RECONSTRUCTION_EXT: Self = Self(0b10); } -#[doc = "Generated from 'VK_EXT_fragment_density_map'"] +#[doc = "Provided by VK_EXT_fragment_density_map"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: Self = Self(1_000_218_000); pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: Self = Self(1_000_218_001); pub const RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: Self = Self(1_000_218_002); } -#[doc = "Generated from 'VK_EXT_scalar_block_layout'"] +#[doc = "Provided by VK_EXT_scalar_block_layout"] impl StructureType { pub const PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES; } -#[doc = "Generated from 'VK_EXT_subgroup_size_control'"] +#[doc = "Provided by VK_EXT_subgroup_size_control"] impl PipelineShaderStageCreateFlags { pub const ALLOW_VARYING_SUBGROUP_SIZE_EXT: Self = Self::ALLOW_VARYING_SUBGROUP_SIZE; pub const REQUIRE_FULL_SUBGROUPS_EXT: Self = Self::REQUIRE_FULL_SUBGROUPS; } -#[doc = "Generated from 'VK_EXT_subgroup_size_control'"] +#[doc = "Provided by VK_EXT_subgroup_size_control"] impl StructureType { pub const PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT: Self = Self::PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES; @@ -1922,38 +1927,38 @@ impl StructureType { pub const PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES; } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl AccessFlags { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR: Self = Self(0b1000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl DynamicState { pub const FRAGMENT_SHADING_RATE_KHR: Self = Self(1_000_226_000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl FormatFeatureFlags { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl FormatFeatureFlags2 { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl ImageLayout { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR: Self = Self(1_000_164_003); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl ImageUsageFlags { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl PipelineStageFlags { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: Self = Self(0b100_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_fragment_shading_rate'"] +#[doc = "Provided by VK_KHR_fragment_shading_rate"] impl StructureType { pub const FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: Self = Self(1_000_226_000); pub const PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR: Self = Self(1_000_226_001); @@ -1961,63 +1966,63 @@ impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR: Self = Self(1_000_226_003); pub const PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR: Self = Self(1_000_226_004); } -#[doc = "Generated from 'VK_AMD_shader_core_properties2'"] +#[doc = "Provided by VK_AMD_shader_core_properties2"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: Self = Self(1_000_227_000); } -#[doc = "Generated from 'VK_AMD_device_coherent_memory'"] +#[doc = "Provided by VK_AMD_device_coherent_memory"] impl MemoryPropertyFlags { pub const DEVICE_COHERENT_AMD: Self = Self(0b100_0000); pub const DEVICE_UNCACHED_AMD: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_AMD_device_coherent_memory'"] +#[doc = "Provided by VK_AMD_device_coherent_memory"] impl StructureType { pub const PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: Self = Self(1_000_229_000); } -#[doc = "Generated from 'VK_KHR_dynamic_rendering_local_read'"] +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] impl ImageLayout { pub const RENDERING_LOCAL_READ_KHR: Self = Self(1_000_232_000); } -#[doc = "Generated from 'VK_KHR_dynamic_rendering_local_read'"] +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] impl StructureType { pub const PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR: Self = Self(1_000_232_000); pub const RENDERING_ATTACHMENT_LOCATION_INFO_KHR: Self = Self(1_000_232_001); pub const RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR: Self = Self(1_000_232_002); } -#[doc = "Generated from 'VK_EXT_shader_image_atomic_int64'"] +#[doc = "Provided by VK_EXT_shader_image_atomic_int64"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT: Self = Self(1_000_234_000); } -#[doc = "Generated from 'VK_KHR_shader_quad_control'"] +#[doc = "Provided by VK_KHR_shader_quad_control"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR: Self = Self(1_000_235_000); } -#[doc = "Generated from 'VK_EXT_memory_budget'"] +#[doc = "Provided by VK_EXT_memory_budget"] impl StructureType { pub const PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: Self = Self(1_000_237_000); } -#[doc = "Generated from 'VK_EXT_memory_priority'"] +#[doc = "Provided by VK_EXT_memory_priority"] impl StructureType { pub const PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: Self = Self(1_000_238_000); pub const MEMORY_PRIORITY_ALLOCATE_INFO_EXT: Self = Self(1_000_238_001); } -#[doc = "Generated from 'VK_KHR_surface_protected_capabilities'"] +#[doc = "Provided by VK_KHR_surface_protected_capabilities"] impl StructureType { pub const SURFACE_PROTECTED_CAPABILITIES_KHR: Self = Self(1_000_239_000); } -#[doc = "Generated from 'VK_NV_dedicated_allocation_image_aliasing'"] +#[doc = "Provided by VK_NV_dedicated_allocation_image_aliasing"] impl StructureType { pub const PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: Self = Self(1_000_240_000); } -#[doc = "Generated from 'VK_KHR_separate_depth_stencil_layouts'"] +#[doc = "Provided by VK_KHR_separate_depth_stencil_layouts"] impl ImageLayout { pub const DEPTH_ATTACHMENT_OPTIMAL_KHR: Self = Self::DEPTH_ATTACHMENT_OPTIMAL; pub const DEPTH_READ_ONLY_OPTIMAL_KHR: Self = Self::DEPTH_READ_ONLY_OPTIMAL; pub const STENCIL_ATTACHMENT_OPTIMAL_KHR: Self = Self::STENCIL_ATTACHMENT_OPTIMAL; pub const STENCIL_READ_ONLY_OPTIMAL_KHR: Self = Self::STENCIL_READ_ONLY_OPTIMAL; } -#[doc = "Generated from 'VK_KHR_separate_depth_stencil_layouts'"] +#[doc = "Provided by VK_KHR_separate_depth_stencil_layouts"] impl StructureType { pub const PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES; @@ -2026,19 +2031,19 @@ impl StructureType { pub const ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT_KHR: Self = Self::ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT; } -#[doc = "Generated from 'VK_EXT_buffer_device_address'"] +#[doc = "Provided by VK_EXT_buffer_device_address"] impl BufferCreateFlags { pub const DEVICE_ADDRESS_CAPTURE_REPLAY_EXT: Self = Self::DEVICE_ADDRESS_CAPTURE_REPLAY; } -#[doc = "Generated from 'VK_EXT_buffer_device_address'"] +#[doc = "Provided by VK_EXT_buffer_device_address"] impl BufferUsageFlags { pub const SHADER_DEVICE_ADDRESS_EXT: Self = Self::SHADER_DEVICE_ADDRESS; } -#[doc = "Generated from 'VK_EXT_buffer_device_address'"] +#[doc = "Provided by VK_EXT_buffer_device_address"] impl Result { pub const ERROR_INVALID_DEVICE_ADDRESS_EXT: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS; } -#[doc = "Generated from 'VK_EXT_buffer_device_address'"] +#[doc = "Provided by VK_EXT_buffer_device_address"] impl StructureType { pub const PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: Self = Self(1_000_244_000); pub const PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT: Self = @@ -2046,28 +2051,28 @@ impl StructureType { pub const BUFFER_DEVICE_ADDRESS_INFO_EXT: Self = Self::BUFFER_DEVICE_ADDRESS_INFO; pub const BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: Self = Self(1_000_244_002); } -#[doc = "Generated from 'VK_EXT_tooling_info'"] +#[doc = "Provided by VK_EXT_tooling_info"] impl StructureType { pub const PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT: Self = Self::PHYSICAL_DEVICE_TOOL_PROPERTIES; } -#[doc = "Generated from 'VK_EXT_tooling_info'"] +#[doc = "Provided by VK_EXT_tooling_info"] impl ToolPurposeFlags { pub const DEBUG_REPORTING_EXT: Self = Self(0b10_0000); pub const DEBUG_MARKERS_EXT: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_EXT_separate_stencil_usage'"] +#[doc = "Provided by VK_EXT_separate_stencil_usage"] impl StructureType { pub const IMAGE_STENCIL_USAGE_CREATE_INFO_EXT: Self = Self::IMAGE_STENCIL_USAGE_CREATE_INFO; } -#[doc = "Generated from 'VK_EXT_validation_features'"] +#[doc = "Provided by VK_EXT_validation_features"] impl StructureType { pub const VALIDATION_FEATURES_EXT: Self = Self(1_000_247_000); } -#[doc = "Generated from 'VK_KHR_present_wait'"] +#[doc = "Provided by VK_KHR_present_wait"] impl StructureType { pub const PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR: Self = Self(1_000_248_000); } -#[doc = "Generated from 'VK_NV_cooperative_matrix'"] +#[doc = "Provided by VK_NV_cooperative_matrix"] impl ComponentTypeKHR { pub const FLOAT16_NV: Self = Self::FLOAT16; pub const FLOAT32_NV: Self = Self::FLOAT32; @@ -2081,78 +2086,78 @@ impl ComponentTypeKHR { pub const UINT32_NV: Self = Self::UINT32; pub const UINT64_NV: Self = Self::UINT64; } -#[doc = "Generated from 'VK_NV_cooperative_matrix'"] +#[doc = "Provided by VK_NV_cooperative_matrix"] impl ScopeKHR { pub const DEVICE_NV: Self = Self::DEVICE; pub const WORKGROUP_NV: Self = Self::WORKGROUP; pub const SUBGROUP_NV: Self = Self::SUBGROUP; pub const QUEUE_FAMILY_NV: Self = Self::QUEUE_FAMILY; } -#[doc = "Generated from 'VK_NV_cooperative_matrix'"] +#[doc = "Provided by VK_NV_cooperative_matrix"] impl StructureType { pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: Self = Self(1_000_249_000); pub const COOPERATIVE_MATRIX_PROPERTIES_NV: Self = Self(1_000_249_001); pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: Self = Self(1_000_249_002); } -#[doc = "Generated from 'VK_NV_coverage_reduction_mode'"] +#[doc = "Provided by VK_NV_coverage_reduction_mode"] impl StructureType { pub const PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: Self = Self(1_000_250_000); pub const PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: Self = Self(1_000_250_001); pub const FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV: Self = Self(1_000_250_002); } -#[doc = "Generated from 'VK_EXT_fragment_shader_interlock'"] +#[doc = "Provided by VK_EXT_fragment_shader_interlock"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: Self = Self(1_000_251_000); } -#[doc = "Generated from 'VK_EXT_ycbcr_image_arrays'"] +#[doc = "Provided by VK_EXT_ycbcr_image_arrays"] impl StructureType { pub const PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: Self = Self(1_000_252_000); } -#[doc = "Generated from 'VK_KHR_uniform_buffer_standard_layout'"] +#[doc = "Provided by VK_KHR_uniform_buffer_standard_layout"] impl StructureType { pub const PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES; } -#[doc = "Generated from 'VK_EXT_provoking_vertex'"] +#[doc = "Provided by VK_EXT_provoking_vertex"] impl StructureType { pub const PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: Self = Self(1_000_254_000); pub const PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT: Self = Self(1_000_254_001); pub const PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: Self = Self(1_000_254_002); } -#[doc = "Generated from 'VK_EXT_full_screen_exclusive'"] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] impl Result { pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self = Self(-1_000_255_000); } -#[doc = "Generated from 'VK_EXT_full_screen_exclusive'"] +#[doc = "Provided by VK_EXT_full_screen_exclusive"] impl StructureType { pub const SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: Self = Self(1_000_255_000); pub const SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: Self = Self(1_000_255_002); pub const SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: Self = Self(1_000_255_001); } -#[doc = "Generated from 'VK_EXT_headless_surface'"] +#[doc = "Provided by VK_EXT_headless_surface"] impl StructureType { pub const HEADLESS_SURFACE_CREATE_INFO_EXT: Self = Self(1_000_256_000); } -#[doc = "Generated from 'VK_KHR_buffer_device_address'"] +#[doc = "Provided by VK_KHR_buffer_device_address"] impl BufferCreateFlags { pub const DEVICE_ADDRESS_CAPTURE_REPLAY_KHR: Self = Self::DEVICE_ADDRESS_CAPTURE_REPLAY; } -#[doc = "Generated from 'VK_KHR_buffer_device_address'"] +#[doc = "Provided by VK_KHR_buffer_device_address"] impl BufferUsageFlags { pub const SHADER_DEVICE_ADDRESS_KHR: Self = Self::SHADER_DEVICE_ADDRESS; } -#[doc = "Generated from 'VK_KHR_buffer_device_address'"] +#[doc = "Provided by VK_KHR_buffer_device_address"] impl MemoryAllocateFlags { pub const DEVICE_ADDRESS_KHR: Self = Self::DEVICE_ADDRESS; pub const DEVICE_ADDRESS_CAPTURE_REPLAY_KHR: Self = Self::DEVICE_ADDRESS_CAPTURE_REPLAY; } -#[doc = "Generated from 'VK_KHR_buffer_device_address'"] +#[doc = "Provided by VK_KHR_buffer_device_address"] impl Result { pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS; } -#[doc = "Generated from 'VK_KHR_buffer_device_address'"] +#[doc = "Provided by VK_KHR_buffer_device_address"] impl StructureType { pub const PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES; @@ -2164,11 +2169,11 @@ impl StructureType { pub const DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR: Self = Self::DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO; } -#[doc = "Generated from 'VK_EXT_line_rasterization'"] +#[doc = "Provided by VK_EXT_line_rasterization"] impl DynamicState { pub const LINE_STIPPLE_EXT: Self = Self::LINE_STIPPLE_KHR; } -#[doc = "Generated from 'VK_EXT_line_rasterization'"] +#[doc = "Provided by VK_EXT_line_rasterization"] impl StructureType { pub const PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR; @@ -2177,25 +2182,25 @@ impl StructureType { pub const PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT: Self = Self::PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR; } -#[doc = "Generated from 'VK_EXT_shader_atomic_float'"] +#[doc = "Provided by VK_EXT_shader_atomic_float"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT: Self = Self(1_000_260_000); } -#[doc = "Generated from 'VK_EXT_host_query_reset'"] +#[doc = "Provided by VK_EXT_host_query_reset"] impl StructureType { pub const PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES; } -#[doc = "Generated from 'VK_EXT_index_type_uint8'"] +#[doc = "Provided by VK_EXT_index_type_uint8"] impl IndexType { pub const UINT8_EXT: Self = Self::UINT8_KHR; } -#[doc = "Generated from 'VK_EXT_index_type_uint8'"] +#[doc = "Provided by VK_EXT_index_type_uint8"] impl StructureType { pub const PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR; } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state"] impl DynamicState { pub const CULL_MODE_EXT: Self = Self::CULL_MODE; pub const FRONT_FACE_EXT: Self = Self::FRONT_FACE; @@ -2210,28 +2215,28 @@ impl DynamicState { pub const STENCIL_TEST_ENABLE_EXT: Self = Self::STENCIL_TEST_ENABLE; pub const STENCIL_OP_EXT: Self = Self::STENCIL_OP; } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state"] impl StructureType { #[doc = "Not promoted to 1.3"] pub const PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: Self = Self(1_000_267_000); } -#[doc = "Generated from 'VK_KHR_deferred_host_operations'"] +#[doc = "Provided by VK_KHR_deferred_host_operations"] impl ObjectType { pub const DEFERRED_OPERATION_KHR: Self = Self(1_000_268_000); } -#[doc = "Generated from 'VK_KHR_deferred_host_operations'"] +#[doc = "Provided by VK_KHR_deferred_host_operations"] impl Result { pub const THREAD_IDLE_KHR: Self = Self(1_000_268_000); pub const THREAD_DONE_KHR: Self = Self(1_000_268_001); pub const OPERATION_DEFERRED_KHR: Self = Self(1_000_268_002); pub const OPERATION_NOT_DEFERRED_KHR: Self = Self(1_000_268_003); } -#[doc = "Generated from 'VK_KHR_pipeline_executable_properties'"] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] impl PipelineCreateFlags { pub const CAPTURE_STATISTICS_KHR: Self = Self(0b100_0000); pub const CAPTURE_INTERNAL_REPRESENTATIONS_KHR: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_KHR_pipeline_executable_properties'"] +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] impl StructureType { pub const PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: Self = Self(1_000_269_000); @@ -2241,18 +2246,18 @@ impl StructureType { pub const PIPELINE_EXECUTABLE_STATISTIC_KHR: Self = Self(1_000_269_004); pub const PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR: Self = Self(1_000_269_005); } -#[doc = "Generated from 'VK_EXT_host_image_copy'"] +#[doc = "Provided by VK_EXT_host_image_copy"] impl FormatFeatureFlags2 { #[doc = "Host image copies are supported"] pub const HOST_IMAGE_TRANSFER_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_host_image_copy'"] +#[doc = "Provided by VK_EXT_host_image_copy"] impl ImageUsageFlags { #[doc = "Can be used with host image copies"] pub const HOST_TRANSFER_EXT: Self = Self(0b100_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_host_image_copy'"] +#[doc = "Provided by VK_EXT_host_image_copy"] impl StructureType { pub const PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES_EXT: Self = Self(1_000_270_000); pub const PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT: Self = Self(1_000_270_001); @@ -2265,36 +2270,36 @@ impl StructureType { pub const SUBRESOURCE_HOST_MEMCPY_SIZE_EXT: Self = Self(1_000_270_008); pub const HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT: Self = Self(1_000_270_009); } -#[doc = "Generated from 'VK_KHR_map_memory2'"] +#[doc = "Provided by VK_KHR_map_memory2"] impl StructureType { pub const MEMORY_MAP_INFO_KHR: Self = Self(1_000_271_000); pub const MEMORY_UNMAP_INFO_KHR: Self = Self(1_000_271_001); } -#[doc = "Generated from 'VK_EXT_map_memory_placed'"] +#[doc = "Provided by VK_EXT_map_memory_placed"] impl MemoryMapFlags { pub const PLACED_EXT: Self = Self(0b1); } -#[doc = "Generated from 'VK_EXT_map_memory_placed'"] +#[doc = "Provided by VK_EXT_map_memory_placed"] impl MemoryUnmapFlagsKHR { pub const RESERVE_EXT: Self = Self(0b1); } -#[doc = "Generated from 'VK_EXT_map_memory_placed'"] +#[doc = "Provided by VK_EXT_map_memory_placed"] impl StructureType { pub const PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT: Self = Self(1_000_272_000); pub const PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT: Self = Self(1_000_272_001); pub const MEMORY_MAP_PLACED_INFO_EXT: Self = Self(1_000_272_002); } -#[doc = "Generated from 'VK_EXT_shader_atomic_float2'"] +#[doc = "Provided by VK_EXT_shader_atomic_float2"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT: Self = Self(1_000_273_000); } -#[doc = "Generated from 'VK_EXT_surface_maintenance1'"] +#[doc = "Provided by VK_EXT_surface_maintenance1"] impl StructureType { pub const SURFACE_PRESENT_MODE_EXT: Self = Self(1_000_274_000); pub const SURFACE_PRESENT_SCALING_CAPABILITIES_EXT: Self = Self(1_000_274_001); pub const SURFACE_PRESENT_MODE_COMPATIBILITY_EXT: Self = Self(1_000_274_002); } -#[doc = "Generated from 'VK_EXT_swapchain_maintenance1'"] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] impl StructureType { pub const PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT: Self = Self(1_000_275_000); pub const SWAPCHAIN_PRESENT_FENCE_INFO_EXT: Self = Self(1_000_275_001); @@ -2303,33 +2308,33 @@ impl StructureType { pub const SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT: Self = Self(1_000_275_004); pub const RELEASE_SWAPCHAIN_IMAGES_INFO_EXT: Self = Self(1_000_275_005); } -#[doc = "Generated from 'VK_EXT_swapchain_maintenance1'"] +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] impl SwapchainCreateFlagsKHR { pub const DEFERRED_MEMORY_ALLOCATION_EXT: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_shader_demote_to_helper_invocation'"] +#[doc = "Provided by VK_EXT_shader_demote_to_helper_invocation"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES; } -#[doc = "Generated from 'VK_NV_device_generated_commands'"] +#[doc = "Provided by VK_NV_device_generated_commands"] impl AccessFlags { pub const COMMAND_PREPROCESS_READ_NV: Self = Self(0b10_0000_0000_0000_0000); pub const COMMAND_PREPROCESS_WRITE_NV: Self = Self(0b100_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_device_generated_commands'"] +#[doc = "Provided by VK_NV_device_generated_commands"] impl ObjectType { pub const INDIRECT_COMMANDS_LAYOUT_NV: Self = Self(1_000_277_000); } -#[doc = "Generated from 'VK_NV_device_generated_commands'"] +#[doc = "Provided by VK_NV_device_generated_commands"] impl PipelineCreateFlags { pub const INDIRECT_BINDABLE_NV: Self = Self(0b100_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_device_generated_commands'"] +#[doc = "Provided by VK_NV_device_generated_commands"] impl PipelineStageFlags { pub const COMMAND_PREPROCESS_NV: Self = Self(0b10_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_device_generated_commands'"] +#[doc = "Provided by VK_NV_device_generated_commands"] impl StructureType { pub const PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV: Self = Self(1_000_277_000); pub const GRAPHICS_SHADER_GROUP_CREATE_INFO_NV: Self = Self(1_000_277_001); @@ -2340,166 +2345,166 @@ impl StructureType { pub const GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV: Self = Self(1_000_277_006); pub const PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV: Self = Self(1_000_277_007); } -#[doc = "Generated from 'VK_NV_inherited_viewport_scissor'"] +#[doc = "Provided by VK_NV_inherited_viewport_scissor"] impl StructureType { pub const PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV: Self = Self(1_000_278_000); pub const COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV: Self = Self(1_000_278_001); } -#[doc = "Generated from 'VK_KHR_shader_integer_dot_product'"] +#[doc = "Provided by VK_KHR_shader_integer_dot_product"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES; pub const PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES_KHR: Self = Self::PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES; } -#[doc = "Generated from 'VK_EXT_texel_buffer_alignment'"] +#[doc = "Provided by VK_EXT_texel_buffer_alignment"] impl StructureType { #[doc = "Not promoted to 1.3"] pub const PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: Self = Self(1_000_281_000); pub const PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT: Self = Self::PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES; } -#[doc = "Generated from 'VK_QCOM_render_pass_transform'"] +#[doc = "Provided by VK_QCOM_render_pass_transform"] impl RenderPassCreateFlags { pub const TRANSFORM_QCOM: Self = Self(0b10); } -#[doc = "Generated from 'VK_QCOM_render_pass_transform'"] +#[doc = "Provided by VK_QCOM_render_pass_transform"] impl StructureType { pub const COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM: Self = Self(1_000_282_000); pub const RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM: Self = Self(1_000_282_001); } -#[doc = "Generated from 'VK_EXT_depth_bias_control'"] +#[doc = "Provided by VK_EXT_depth_bias_control"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT: Self = Self(1_000_283_000); pub const DEPTH_BIAS_INFO_EXT: Self = Self(1_000_283_001); pub const DEPTH_BIAS_REPRESENTATION_INFO_EXT: Self = Self(1_000_283_002); } -#[doc = "Generated from 'VK_EXT_device_memory_report'"] +#[doc = "Provided by VK_EXT_device_memory_report"] impl StructureType { pub const PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: Self = Self(1_000_284_000); pub const DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: Self = Self(1_000_284_001); pub const DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT: Self = Self(1_000_284_002); } -#[doc = "Generated from 'VK_EXT_robustness2'"] +#[doc = "Provided by VK_EXT_robustness2"] impl StructureType { pub const PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT: Self = Self(1_000_286_000); pub const PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT: Self = Self(1_000_286_001); } -#[doc = "Generated from 'VK_EXT_custom_border_color'"] +#[doc = "Provided by VK_EXT_custom_border_color"] impl BorderColor { pub const FLOAT_CUSTOM_EXT: Self = Self(1_000_287_003); pub const INT_CUSTOM_EXT: Self = Self(1_000_287_004); } -#[doc = "Generated from 'VK_EXT_custom_border_color'"] +#[doc = "Provided by VK_EXT_custom_border_color"] impl StructureType { pub const SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: Self = Self(1_000_287_000); pub const PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: Self = Self(1_000_287_001); pub const PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: Self = Self(1_000_287_002); } -#[doc = "Generated from 'VK_KHR_pipeline_library'"] +#[doc = "Provided by VK_KHR_pipeline_library"] impl PipelineCreateFlags { pub const LIBRARY_KHR: Self = Self(0b1000_0000_0000); } -#[doc = "Generated from 'VK_KHR_pipeline_library'"] +#[doc = "Provided by VK_KHR_pipeline_library"] impl StructureType { pub const PIPELINE_LIBRARY_CREATE_INFO_KHR: Self = Self(1_000_290_000); } -#[doc = "Generated from 'VK_NV_present_barrier'"] +#[doc = "Provided by VK_NV_present_barrier"] impl StructureType { pub const PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV: Self = Self(1_000_292_000); pub const SURFACE_CAPABILITIES_PRESENT_BARRIER_NV: Self = Self(1_000_292_001); pub const SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV: Self = Self(1_000_292_002); } -#[doc = "Generated from 'VK_KHR_present_id'"] +#[doc = "Provided by VK_KHR_present_id"] impl StructureType { pub const PRESENT_ID_KHR: Self = Self(1_000_294_000); pub const PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR: Self = Self(1_000_294_001); } -#[doc = "Generated from 'VK_EXT_private_data'"] +#[doc = "Provided by VK_EXT_private_data"] impl ObjectType { pub const PRIVATE_DATA_SLOT_EXT: Self = Self::PRIVATE_DATA_SLOT; } -#[doc = "Generated from 'VK_EXT_private_data'"] +#[doc = "Provided by VK_EXT_private_data"] impl StructureType { pub const PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES; pub const DEVICE_PRIVATE_DATA_CREATE_INFO_EXT: Self = Self::DEVICE_PRIVATE_DATA_CREATE_INFO; pub const PRIVATE_DATA_SLOT_CREATE_INFO_EXT: Self = Self::PRIVATE_DATA_SLOT_CREATE_INFO; } -#[doc = "Generated from 'VK_EXT_pipeline_creation_cache_control'"] +#[doc = "Provided by VK_EXT_pipeline_creation_cache_control"] impl PipelineCacheCreateFlags { pub const EXTERNALLY_SYNCHRONIZED_EXT: Self = Self::EXTERNALLY_SYNCHRONIZED; } -#[doc = "Generated from 'VK_EXT_pipeline_creation_cache_control'"] +#[doc = "Provided by VK_EXT_pipeline_creation_cache_control"] impl PipelineCreateFlags { pub const FAIL_ON_PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::FAIL_ON_PIPELINE_COMPILE_REQUIRED; pub const EARLY_RETURN_ON_FAILURE_EXT: Self = Self::EARLY_RETURN_ON_FAILURE; } -#[doc = "Generated from 'VK_EXT_pipeline_creation_cache_control'"] +#[doc = "Provided by VK_EXT_pipeline_creation_cache_control"] impl Result { pub const PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED; pub const ERROR_PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED; } -#[doc = "Generated from 'VK_EXT_pipeline_creation_cache_control'"] +#[doc = "Provided by VK_EXT_pipeline_creation_cache_control"] impl StructureType { pub const PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES; } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl AccessFlags2 { pub const VIDEO_ENCODE_READ_KHR: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000); pub const VIDEO_ENCODE_WRITE_KHR: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl BufferUsageFlags { pub const VIDEO_ENCODE_DST_KHR: Self = Self(0b1000_0000_0000_0000); pub const VIDEO_ENCODE_SRC_KHR: Self = Self(0b1_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl FormatFeatureFlags { pub const VIDEO_ENCODE_INPUT_KHR: Self = Self(0b1000_0000_0000_0000_0000_0000_0000); pub const VIDEO_ENCODE_DPB_KHR: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl FormatFeatureFlags2 { pub const VIDEO_ENCODE_INPUT_KHR: Self = Self(0b1000_0000_0000_0000_0000_0000_0000); pub const VIDEO_ENCODE_DPB_KHR: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl ImageLayout { pub const VIDEO_ENCODE_DST_KHR: Self = Self(1_000_299_000); pub const VIDEO_ENCODE_SRC_KHR: Self = Self(1_000_299_001); pub const VIDEO_ENCODE_DPB_KHR: Self = Self(1_000_299_002); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl ImageUsageFlags { pub const VIDEO_ENCODE_DST_KHR: Self = Self(0b10_0000_0000_0000); pub const VIDEO_ENCODE_SRC_KHR: Self = Self(0b100_0000_0000_0000); pub const VIDEO_ENCODE_DPB_KHR: Self = Self(0b1000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl PipelineStageFlags2 { pub const VIDEO_ENCODE_KHR: Self = Self(0b1000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl QueryResultStatusKHR { pub const INSUFFICIENTSTREAM_BUFFER_RANGE: Self = Self(-1_000_299_000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl QueryType { pub const VIDEO_ENCODE_FEEDBACK_KHR: Self = Self(1_000_299_000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl QueueFlags { pub const VIDEO_ENCODE_KHR: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl Result { pub const ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: Self = Self(-1_000_299_000); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl StructureType { pub const VIDEO_ENCODE_INFO_KHR: Self = Self(1_000_299_000); pub const VIDEO_ENCODE_RATE_CONTROL_INFO_KHR: Self = Self(1_000_299_001); @@ -2513,35 +2518,38 @@ impl StructureType { pub const VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR: Self = Self(1_000_299_009); pub const VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR: Self = Self(1_000_299_010); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl VideoCodingControlFlagsKHR { pub const ENCODE_RATE_CONTROL: Self = Self(0b10); pub const ENCODE_QUALITY_LEVEL: Self = Self(0b100); } -#[doc = "Generated from 'VK_KHR_video_encode_queue'"] +#[doc = "Provided by VK_KHR_video_encode_queue"] impl VideoSessionCreateFlagsKHR { pub const ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS: Self = Self(0b10); } -#[doc = "Generated from 'VK_NV_device_diagnostics_config'"] +#[doc = "Provided by VK_NV_device_diagnostics_config"] impl StructureType { pub const PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV: Self = Self(1_000_300_000); pub const DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV: Self = Self(1_000_300_001); } -#[doc = "Generated from 'VK_QCOM_render_pass_store_ops'"] +#[doc = "Provided by VK_QCOM_render_pass_store_ops"] impl AttachmentStoreOp { pub const NONE_QCOM: Self = Self::NONE; } -#[doc = "Generated from 'VK_NV_cuda_kernel_launch'"] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] impl DebugReportObjectTypeEXT { pub const CUDA_MODULE_NV: Self = Self(1_000_307_000); pub const CUDA_FUNCTION_NV: Self = Self(1_000_307_001); } -#[doc = "Generated from 'VK_NV_cuda_kernel_launch'"] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] impl ObjectType { pub const CUDA_MODULE_NV: Self = Self(1_000_307_000); pub const CUDA_FUNCTION_NV: Self = Self(1_000_307_001); } -#[doc = "Generated from 'VK_NV_cuda_kernel_launch'"] +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] impl StructureType { pub const CUDA_MODULE_CREATE_INFO_NV: Self = Self(1_000_307_000); pub const CUDA_FUNCTION_CREATE_INFO_NV: Self = Self(1_000_307_001); @@ -2549,11 +2557,11 @@ impl StructureType { pub const PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV: Self = Self(1_000_307_003); pub const PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV: Self = Self(1_000_307_004); } -#[doc = "Generated from 'VK_NV_low_latency'"] +#[doc = "Provided by VK_NV_low_latency"] impl StructureType { pub const QUERY_LOW_LATENCY_SUPPORT_NV: Self = Self(1_000_310_000); } -#[doc = "Generated from 'VK_EXT_metal_objects'"] +#[doc = "Provided by VK_EXT_metal_objects"] impl StructureType { pub const EXPORT_METAL_OBJECT_CREATE_INFO_EXT: Self = Self(1_000_311_000); pub const EXPORT_METAL_OBJECTS_INFO_EXT: Self = Self(1_000_311_001); @@ -2568,11 +2576,11 @@ impl StructureType { pub const EXPORT_METAL_SHARED_EVENT_INFO_EXT: Self = Self(1_000_311_010); pub const IMPORT_METAL_SHARED_EVENT_INFO_EXT: Self = Self(1_000_311_011); } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl AccessFlags { pub const NONE_KHR: Self = Self::NONE; } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl AccessFlags2 { pub const TRANSFORM_FEEDBACK_WRITE_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000); pub const TRANSFORM_FEEDBACK_COUNTER_READ_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000); @@ -2594,20 +2602,20 @@ impl AccessFlags2 { pub const FRAGMENT_DENSITY_MAP_READ_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); pub const COLOR_ATTACHMENT_READ_NONCOHERENT_EXT: Self = Self(0b1000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl EventCreateFlags { pub const DEVICE_ONLY_KHR: Self = Self::DEVICE_ONLY; } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl ImageLayout { pub const READ_ONLY_OPTIMAL_KHR: Self = Self::READ_ONLY_OPTIMAL; pub const ATTACHMENT_OPTIMAL_KHR: Self = Self::ATTACHMENT_OPTIMAL; } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl PipelineStageFlags { pub const NONE_KHR: Self = Self::NONE; } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl PipelineStageFlags2 { pub const TRANSFORM_FEEDBACK_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); #[doc = "A pipeline stage for conditional rendering predicate fetch"] @@ -2626,7 +2634,7 @@ impl PipelineStageFlags2 { pub const TASK_SHADER_EXT: Self = Self(0b1000_0000_0000_0000_0000); pub const MESH_SHADER_EXT: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_synchronization2'"] +#[doc = "Provided by VK_KHR_synchronization2"] impl StructureType { pub const MEMORY_BARRIER_2_KHR: Self = Self::MEMORY_BARRIER_2; pub const BUFFER_MEMORY_BARRIER_2_KHR: Self = Self::BUFFER_MEMORY_BARRIER_2; @@ -2640,48 +2648,48 @@ impl StructureType { pub const QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: Self = Self(1_000_314_008); pub const CHECKPOINT_DATA_2_NV: Self = Self(1_000_314_009); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl AccelerationStructureCreateFlagsKHR { pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl AccessFlags2 { pub const DESCRIPTOR_BUFFER_READ_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl BufferCreateFlags { pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl BufferUsageFlags { pub const SAMPLER_DESCRIPTOR_BUFFER_EXT: Self = Self(0b10_0000_0000_0000_0000_0000); pub const RESOURCE_DESCRIPTOR_BUFFER_EXT: Self = Self(0b100_0000_0000_0000_0000_0000); pub const PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl DescriptorSetLayoutCreateFlags { pub const DESCRIPTOR_BUFFER_EXT: Self = Self(0b1_0000); pub const EMBEDDED_IMMUTABLE_SAMPLERS_EXT: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl ImageCreateFlags { pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: Self = Self(0b1_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl ImageViewCreateFlags { pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: Self = Self(0b100); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl PipelineCreateFlags { pub const DESCRIPTOR_BUFFER_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl SamplerCreateFlags { pub const DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_descriptor_buffer'"] +#[doc = "Provided by VK_EXT_descriptor_buffer"] impl StructureType { pub const PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT: Self = Self(1_000_316_000); pub const PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT: Self = @@ -2699,100 +2707,100 @@ impl StructureType { Self(1_000_316_012); pub const ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT: Self = Self(1_000_316_009); } -#[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] impl PipelineCreateFlags { pub const RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000); pub const LINK_TIME_OPTIMIZATION_EXT: Self = Self(0b100_0000_0000); } -#[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] impl PipelineLayoutCreateFlags { pub const INDEPENDENT_SETS_EXT: Self = Self(0b10); } -#[doc = "Generated from 'VK_EXT_graphics_pipeline_library'"] +#[doc = "Provided by VK_EXT_graphics_pipeline_library"] impl StructureType { pub const PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: Self = Self(1_000_320_000); pub const PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: Self = Self(1_000_320_001); pub const GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: Self = Self(1_000_320_002); } -#[doc = "Generated from 'VK_AMD_shader_early_and_late_fragment_tests'"] +#[doc = "Provided by VK_AMD_shader_early_and_late_fragment_tests"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD: Self = Self(1_000_321_000); } -#[doc = "Generated from 'VK_KHR_fragment_shader_barycentric'"] +#[doc = "Provided by VK_KHR_fragment_shader_barycentric"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: Self = Self(1_000_203_000); pub const PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR: Self = Self(1_000_322_000); } -#[doc = "Generated from 'VK_KHR_shader_subgroup_uniform_control_flow'"] +#[doc = "Provided by VK_KHR_shader_subgroup_uniform_control_flow"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR: Self = Self(1_000_323_000); } -#[doc = "Generated from 'VK_KHR_zero_initialize_workgroup_memory'"] +#[doc = "Provided by VK_KHR_zero_initialize_workgroup_memory"] impl StructureType { pub const PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES; } -#[doc = "Generated from 'VK_NV_fragment_shading_rate_enums'"] +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV: Self = Self(1_000_326_000); pub const PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV: Self = Self(1_000_326_001); pub const PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV: Self = Self(1_000_326_002); } -#[doc = "Generated from 'VK_NV_ray_tracing_motion_blur'"] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] impl AccelerationStructureCreateFlagsKHR { pub const MOTION_NV: Self = Self(0b100); } -#[doc = "Generated from 'VK_NV_ray_tracing_motion_blur'"] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] impl BuildAccelerationStructureFlagsKHR { pub const MOTION_NV: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_NV_ray_tracing_motion_blur'"] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] impl PipelineCreateFlags { pub const RAY_TRACING_ALLOW_MOTION_NV: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_ray_tracing_motion_blur'"] +#[doc = "Provided by VK_NV_ray_tracing_motion_blur"] impl StructureType { pub const ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV: Self = Self(1_000_327_000); pub const PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV: Self = Self(1_000_327_001); pub const ACCELERATION_STRUCTURE_MOTION_INFO_NV: Self = Self(1_000_327_002); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl IndirectCommandsTokenTypeEXT { pub const DRAW_MESH_TASKS: Self = Self(1_000_328_000); pub const DRAW_MESH_TASKS_COUNT: Self = Self(1_000_328_001); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl IndirectCommandsTokenTypeNV { pub const DRAW_MESH_TASKS: Self = Self(1_000_328_000); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl PipelineStageFlags { pub const TASK_SHADER_EXT: Self = Self(0b1000_0000_0000_0000_0000); pub const MESH_SHADER_EXT: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl QueryPipelineStatisticFlags { pub const TASK_SHADER_INVOCATIONS_EXT: Self = Self(0b1000_0000_0000); pub const MESH_SHADER_INVOCATIONS_EXT: Self = Self(0b1_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl QueryType { pub const MESH_PRIMITIVES_GENERATED_EXT: Self = Self(1_000_328_000); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl ShaderStageFlags { pub const TASK_EXT: Self = Self(0b100_0000); pub const MESH_EXT: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_EXT_mesh_shader'"] +#[doc = "Provided by VK_EXT_mesh_shader"] impl StructureType { pub const PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT: Self = Self(1_000_328_000); pub const PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT: Self = Self(1_000_328_001); } -#[doc = "Generated from 'VK_EXT_ycbcr_2plane_444_formats'"] +#[doc = "Provided by VK_EXT_ycbcr_2plane_444_formats"] impl Format { pub const G8_B8R8_2PLANE_444_UNORM_EXT: Self = Self::G8_B8R8_2PLANE_444_UNORM; pub const G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT: Self = @@ -2801,34 +2809,34 @@ impl Format { Self::G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16; pub const G16_B16R16_2PLANE_444_UNORM_EXT: Self = Self::G16_B16R16_2PLANE_444_UNORM; } -#[doc = "Generated from 'VK_EXT_ycbcr_2plane_444_formats'"] +#[doc = "Provided by VK_EXT_ycbcr_2plane_444_formats"] impl StructureType { pub const PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: Self = Self(1_000_330_000); } -#[doc = "Generated from 'VK_EXT_fragment_density_map2'"] +#[doc = "Provided by VK_EXT_fragment_density_map2"] impl ImageViewCreateFlags { pub const FRAGMENT_DENSITY_MAP_DEFERRED_EXT: Self = Self(0b10); } -#[doc = "Generated from 'VK_EXT_fragment_density_map2'"] +#[doc = "Provided by VK_EXT_fragment_density_map2"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT: Self = Self(1_000_332_000); pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT: Self = Self(1_000_332_001); } -#[doc = "Generated from 'VK_QCOM_rotated_copy_commands'"] +#[doc = "Provided by VK_QCOM_rotated_copy_commands"] impl StructureType { pub const COPY_COMMAND_TRANSFORM_INFO_QCOM: Self = Self(1_000_333_000); } -#[doc = "Generated from 'VK_EXT_image_robustness'"] +#[doc = "Provided by VK_EXT_image_robustness"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES; } -#[doc = "Generated from 'VK_KHR_workgroup_memory_explicit_layout'"] +#[doc = "Provided by VK_KHR_workgroup_memory_explicit_layout"] impl StructureType { pub const PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR: Self = Self(1_000_336_000); } -#[doc = "Generated from 'VK_KHR_copy_commands2'"] +#[doc = "Provided by VK_KHR_copy_commands2"] impl StructureType { pub const COPY_BUFFER_INFO_2_KHR: Self = Self::COPY_BUFFER_INFO_2; pub const COPY_IMAGE_INFO_2_KHR: Self = Self::COPY_IMAGE_INFO_2; @@ -2842,11 +2850,11 @@ impl StructureType { pub const BUFFER_IMAGE_COPY_2_KHR: Self = Self::BUFFER_IMAGE_COPY_2; pub const IMAGE_RESOLVE_2_KHR: Self = Self::IMAGE_RESOLVE_2; } -#[doc = "Generated from 'VK_EXT_image_compression_control'"] +#[doc = "Provided by VK_EXT_image_compression_control"] impl Result { pub const ERROR_COMPRESSION_EXHAUSTED_EXT: Self = Self(-1_000_338_000); } -#[doc = "Generated from 'VK_EXT_image_compression_control'"] +#[doc = "Provided by VK_EXT_image_compression_control"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: Self = Self(1_000_338_000); pub const IMAGE_COMPRESSION_CONTROL_EXT: Self = Self(1_000_338_001); @@ -2854,63 +2862,63 @@ impl StructureType { pub const IMAGE_SUBRESOURCE_2_EXT: Self = Self::IMAGE_SUBRESOURCE_2_KHR; pub const IMAGE_COMPRESSION_PROPERTIES_EXT: Self = Self(1_000_338_004); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_layout'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] impl DependencyFlags { #[doc = "Dependency may be a feedback loop"] pub const FEEDBACK_LOOP_EXT: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_layout'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] impl ImageLayout { pub const ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: Self = Self(1_000_339_000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_layout'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] impl ImageUsageFlags { pub const ATTACHMENT_FEEDBACK_LOOP_EXT: Self = Self(0b1000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_layout'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] impl PipelineCreateFlags { pub const COLOR_ATTACHMENT_FEEDBACK_LOOP_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000); pub const DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_layout'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_layout"] impl StructureType { pub const PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT: Self = Self(1_000_339_000); } -#[doc = "Generated from 'VK_EXT_4444_formats'"] +#[doc = "Provided by VK_EXT_4444_formats"] impl Format { pub const A4R4G4B4_UNORM_PACK16_EXT: Self = Self::A4R4G4B4_UNORM_PACK16; pub const A4B4G4R4_UNORM_PACK16_EXT: Self = Self::A4B4G4R4_UNORM_PACK16; } -#[doc = "Generated from 'VK_EXT_4444_formats'"] +#[doc = "Provided by VK_EXT_4444_formats"] impl StructureType { pub const PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: Self = Self(1_000_340_000); } -#[doc = "Generated from 'VK_EXT_device_fault'"] +#[doc = "Provided by VK_EXT_device_fault"] impl StructureType { pub const PHYSICAL_DEVICE_FAULT_FEATURES_EXT: Self = Self(1_000_341_000); pub const DEVICE_FAULT_COUNTS_EXT: Self = Self(1_000_341_001); pub const DEVICE_FAULT_INFO_EXT: Self = Self(1_000_341_002); } -#[doc = "Generated from 'VK_ARM_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_ARM_rasterization_order_attachment_access"] impl PipelineColorBlendStateCreateFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_ACCESS_ARM: Self = Self::RASTERIZATION_ORDER_ATTACHMENT_ACCESS_EXT; } -#[doc = "Generated from 'VK_ARM_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_ARM_rasterization_order_attachment_access"] impl PipelineDepthStencilStateCreateFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_ARM: Self = Self::RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT; pub const RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_ARM: Self = Self::RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT; } -#[doc = "Generated from 'VK_ARM_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_ARM_rasterization_order_attachment_access"] impl StructureType { pub const PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_ARM: Self = Self::PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT; } -#[doc = "Generated from 'VK_ARM_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_ARM_rasterization_order_attachment_access"] impl SubpassDescriptionFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_ARM: Self = Self::RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_EXT; @@ -2919,99 +2927,99 @@ impl SubpassDescriptionFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_ARM: Self = Self::RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT; } -#[doc = "Generated from 'VK_EXT_rgba10x6_formats'"] +#[doc = "Provided by VK_EXT_rgba10x6_formats"] impl StructureType { pub const PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT: Self = Self(1_000_344_000); } -#[doc = "Generated from 'VK_EXT_directfb_surface'"] +#[doc = "Provided by VK_EXT_directfb_surface"] impl StructureType { pub const DIRECTFB_SURFACE_CREATE_INFO_EXT: Self = Self(1_000_346_000); } -#[doc = "Generated from 'VK_VALVE_mutable_descriptor_type'"] +#[doc = "Provided by VK_VALVE_mutable_descriptor_type"] impl DescriptorPoolCreateFlags { pub const HOST_ONLY_VALVE: Self = Self::HOST_ONLY_EXT; } -#[doc = "Generated from 'VK_VALVE_mutable_descriptor_type'"] +#[doc = "Provided by VK_VALVE_mutable_descriptor_type"] impl DescriptorSetLayoutCreateFlags { pub const HOST_ONLY_POOL_VALVE: Self = Self::HOST_ONLY_POOL_EXT; } -#[doc = "Generated from 'VK_VALVE_mutable_descriptor_type'"] +#[doc = "Provided by VK_VALVE_mutable_descriptor_type"] impl DescriptorType { pub const MUTABLE_VALVE: Self = Self::MUTABLE_EXT; } -#[doc = "Generated from 'VK_VALVE_mutable_descriptor_type'"] +#[doc = "Provided by VK_VALVE_mutable_descriptor_type"] impl StructureType { pub const PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_VALVE: Self = Self::PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT; pub const MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVE: Self = Self::MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT; } -#[doc = "Generated from 'VK_EXT_vertex_input_dynamic_state'"] +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state"] impl DynamicState { pub const VERTEX_INPUT_EXT: Self = Self(1_000_352_000); } -#[doc = "Generated from 'VK_EXT_vertex_input_dynamic_state'"] +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state"] impl StructureType { pub const PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT: Self = Self(1_000_352_000); pub const VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT: Self = Self(1_000_352_001); pub const VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT: Self = Self(1_000_352_002); } -#[doc = "Generated from 'VK_EXT_physical_device_drm'"] +#[doc = "Provided by VK_EXT_physical_device_drm"] impl StructureType { pub const PHYSICAL_DEVICE_DRM_PROPERTIES_EXT: Self = Self(1_000_353_000); } -#[doc = "Generated from 'VK_EXT_device_address_binding_report'"] +#[doc = "Provided by VK_EXT_device_address_binding_report"] impl DebugUtilsMessageTypeFlagsEXT { pub const DEVICE_ADDRESS_BINDING: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_device_address_binding_report'"] +#[doc = "Provided by VK_EXT_device_address_binding_report"] impl StructureType { pub const PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT: Self = Self(1_000_354_000); pub const DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT: Self = Self(1_000_354_001); } -#[doc = "Generated from 'VK_EXT_depth_clip_control'"] +#[doc = "Provided by VK_EXT_depth_clip_control"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: Self = Self(1_000_355_000); pub const PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT: Self = Self(1_000_355_001); } -#[doc = "Generated from 'VK_EXT_primitive_topology_list_restart'"] +#[doc = "Provided by VK_EXT_primitive_topology_list_restart"] impl StructureType { pub const PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: Self = Self(1_000_356_000); } -#[doc = "Generated from 'VK_KHR_format_feature_flags2'"] +#[doc = "Provided by VK_KHR_format_feature_flags2"] impl StructureType { pub const FORMAT_PROPERTIES_3_KHR: Self = Self::FORMAT_PROPERTIES_3; } -#[doc = "Generated from 'VK_FUCHSIA_external_memory'"] +#[doc = "Provided by VK_FUCHSIA_external_memory"] impl ExternalMemoryHandleTypeFlags { pub const ZIRCON_VMO_FUCHSIA: Self = Self(0b1000_0000_0000); } -#[doc = "Generated from 'VK_FUCHSIA_external_memory'"] +#[doc = "Provided by VK_FUCHSIA_external_memory"] impl StructureType { pub const IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA: Self = Self(1_000_364_000); pub const MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA: Self = Self(1_000_364_001); pub const MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA: Self = Self(1_000_364_002); } -#[doc = "Generated from 'VK_FUCHSIA_external_semaphore'"] +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] impl ExternalSemaphoreHandleTypeFlags { pub const ZIRCON_EVENT_FUCHSIA: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_FUCHSIA_external_semaphore'"] +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] impl StructureType { pub const IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA: Self = Self(1_000_365_000); pub const SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA: Self = Self(1_000_365_001); } -#[doc = "Generated from 'VK_FUCHSIA_buffer_collection'"] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] impl DebugReportObjectTypeEXT { pub const BUFFER_COLLECTION_FUCHSIA: Self = Self(1_000_366_000); } -#[doc = "Generated from 'VK_FUCHSIA_buffer_collection'"] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] impl ObjectType { #[doc = "VkBufferCollectionFUCHSIA"] pub const BUFFER_COLLECTION_FUCHSIA: Self = Self(1_000_366_000); } -#[doc = "Generated from 'VK_FUCHSIA_buffer_collection'"] +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] impl StructureType { pub const BUFFER_COLLECTION_CREATE_INFO_FUCHSIA: Self = Self(1_000_366_000); pub const IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA: Self = Self(1_000_366_001); @@ -3024,79 +3032,79 @@ impl StructureType { pub const SYSMEM_COLOR_SPACE_FUCHSIA: Self = Self(1_000_366_008); pub const BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA: Self = Self(1_000_366_009); } -#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] impl PipelineBindPoint { pub const SUBPASS_SHADING_HUAWEI: Self = Self(1_000_369_003); } -#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] impl PipelineStageFlags2 { pub const SUBPASS_SHADER_HUAWEI: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] impl ShaderStageFlags { pub const SUBPASS_SHADING_HUAWEI: Self = Self(0b100_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"] +#[doc = "Provided by VK_HUAWEI_subpass_shading"] impl StructureType { pub const SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI: Self = Self(1_000_369_000); pub const PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI: Self = Self(1_000_369_001); pub const PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI: Self = Self(1_000_369_002); } -#[doc = "Generated from 'VK_HUAWEI_invocation_mask'"] +#[doc = "Provided by VK_HUAWEI_invocation_mask"] impl AccessFlags2 { pub const INVOCATION_MASK_READ_HUAWEI: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_invocation_mask'"] +#[doc = "Provided by VK_HUAWEI_invocation_mask"] impl ImageUsageFlags { pub const INVOCATION_MASK_HUAWEI: Self = Self(0b100_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_invocation_mask'"] +#[doc = "Provided by VK_HUAWEI_invocation_mask"] impl PipelineStageFlags2 { pub const INVOCATION_MASK_HUAWEI: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_invocation_mask'"] +#[doc = "Provided by VK_HUAWEI_invocation_mask"] impl StructureType { pub const PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI: Self = Self(1_000_370_000); } -#[doc = "Generated from 'VK_NV_external_memory_rdma'"] +#[doc = "Provided by VK_NV_external_memory_rdma"] impl ExternalMemoryHandleTypeFlags { pub const RDMA_ADDRESS_NV: Self = Self(0b1_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_external_memory_rdma'"] +#[doc = "Provided by VK_NV_external_memory_rdma"] impl MemoryPropertyFlags { pub const RDMA_CAPABLE_NV: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_NV_external_memory_rdma'"] +#[doc = "Provided by VK_NV_external_memory_rdma"] impl StructureType { pub const MEMORY_GET_REMOTE_ADDRESS_INFO_NV: Self = Self(1_000_371_000); pub const PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV: Self = Self(1_000_371_001); } -#[doc = "Generated from 'VK_EXT_pipeline_properties'"] +#[doc = "Provided by VK_EXT_pipeline_properties"] impl StructureType { pub const PIPELINE_PROPERTIES_IDENTIFIER_EXT: Self = Self(1_000_372_000); pub const PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT: Self = Self(1_000_372_001); pub const PIPELINE_INFO_EXT: Self = Self::PIPELINE_INFO_KHR; } -#[doc = "Generated from 'VK_EXT_frame_boundary'"] +#[doc = "Provided by VK_EXT_frame_boundary"] impl StructureType { pub const PHYSICAL_DEVICE_FRAME_BOUNDARY_FEATURES_EXT: Self = Self(1_000_375_000); pub const FRAME_BOUNDARY_EXT: Self = Self(1_000_375_001); } -#[doc = "Generated from 'VK_EXT_multisampled_render_to_single_sampled'"] +#[doc = "Provided by VK_EXT_multisampled_render_to_single_sampled"] impl ImageCreateFlags { pub const MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_EXT: Self = Self(0b100_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_multisampled_render_to_single_sampled'"] +#[doc = "Provided by VK_EXT_multisampled_render_to_single_sampled"] impl StructureType { pub const PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT: Self = Self(1_000_376_000); pub const SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT: Self = Self(1_000_376_001); pub const MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT: Self = Self(1_000_376_002); } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state2'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state2"] impl DynamicState { #[doc = "Not promoted to 1.3"] pub const PATCH_CONTROL_POINTS_EXT: Self = Self(1_000_377_000); @@ -3106,131 +3114,131 @@ impl DynamicState { pub const LOGIC_OP_EXT: Self = Self(1_000_377_003); pub const PRIMITIVE_RESTART_ENABLE_EXT: Self = Self::PRIMITIVE_RESTART_ENABLE; } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state2'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state2"] impl StructureType { #[doc = "Not promoted to 1.3"] pub const PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: Self = Self(1_000_377_000); } -#[doc = "Generated from 'VK_QNX_screen_surface'"] +#[doc = "Provided by VK_QNX_screen_surface"] impl StructureType { pub const SCREEN_SURFACE_CREATE_INFO_QNX: Self = Self(1_000_378_000); } -#[doc = "Generated from 'VK_EXT_color_write_enable'"] +#[doc = "Provided by VK_EXT_color_write_enable"] impl DynamicState { pub const COLOR_WRITE_ENABLE_EXT: Self = Self(1_000_381_000); } -#[doc = "Generated from 'VK_EXT_color_write_enable'"] +#[doc = "Provided by VK_EXT_color_write_enable"] impl StructureType { pub const PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: Self = Self(1_000_381_000); pub const PIPELINE_COLOR_WRITE_CREATE_INFO_EXT: Self = Self(1_000_381_001); } -#[doc = "Generated from 'VK_EXT_primitives_generated_query'"] +#[doc = "Provided by VK_EXT_primitives_generated_query"] impl QueryType { pub const PRIMITIVES_GENERATED_EXT: Self = Self(1_000_382_000); } -#[doc = "Generated from 'VK_EXT_primitives_generated_query'"] +#[doc = "Provided by VK_EXT_primitives_generated_query"] impl StructureType { pub const PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT: Self = Self(1_000_382_000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_maintenance1'"] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] impl AccessFlags2 { pub const SHADER_BINDING_TABLE_READ_KHR: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_maintenance1'"] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] impl IndirectCommandsTokenTypeEXT { pub const TRACE_RAYS2: Self = Self(1_000_386_004); } -#[doc = "Generated from 'VK_KHR_ray_tracing_maintenance1'"] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] impl PipelineStageFlags2 { pub const ACCELERATION_STRUCTURE_COPY_KHR: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_maintenance1'"] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] impl QueryType { pub const ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR: Self = Self(1_000_386_000); pub const ACCELERATION_STRUCTURE_SIZE_KHR: Self = Self(1_000_386_001); } -#[doc = "Generated from 'VK_KHR_ray_tracing_maintenance1'"] +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR: Self = Self(1_000_386_000); } -#[doc = "Generated from 'VK_EXT_global_priority_query'"] +#[doc = "Provided by VK_EXT_global_priority_query"] impl StructureType { pub const PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_EXT: Self = Self::PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR; pub const QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_EXT: Self = Self::QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR; } -#[doc = "Generated from 'VK_EXT_image_view_min_lod'"] +#[doc = "Provided by VK_EXT_image_view_min_lod"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT: Self = Self(1_000_391_000); pub const IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT: Self = Self(1_000_391_001); } -#[doc = "Generated from 'VK_EXT_multi_draw'"] +#[doc = "Provided by VK_EXT_multi_draw"] impl StructureType { pub const PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT: Self = Self(1_000_392_000); pub const PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT: Self = Self(1_000_392_001); } -#[doc = "Generated from 'VK_EXT_image_2d_view_of_3d'"] +#[doc = "Provided by VK_EXT_image_2d_view_of_3d"] impl ImageCreateFlags { #[doc = "Image is created with a layout where individual slices are capable of being used as 2D images"] pub const TYPE_2D_VIEW_COMPATIBLE_EXT: Self = Self(0b10_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_image_2d_view_of_3d'"] +#[doc = "Provided by VK_EXT_image_2d_view_of_3d"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT: Self = Self(1_000_393_000); } -#[doc = "Generated from 'VK_KHR_portability_enumeration'"] +#[doc = "Provided by VK_KHR_portability_enumeration"] impl InstanceCreateFlags { pub const ENUMERATE_PORTABILITY_KHR: Self = Self(0b1); } -#[doc = "Generated from 'VK_EXT_shader_tile_image'"] +#[doc = "Provided by VK_EXT_shader_tile_image"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT: Self = Self(1_000_395_000); pub const PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_EXT: Self = Self(1_000_395_001); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl AccessFlags2 { pub const MICROMAP_READ_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); pub const MICROMAP_WRITE_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl BufferUsageFlags { pub const MICROMAP_BUILD_INPUT_READ_ONLY_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000); pub const MICROMAP_STORAGE_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl BuildAccelerationStructureFlagsKHR { pub const ALLOW_OPACITY_MICROMAP_UPDATE_EXT: Self = Self(0b100_0000); pub const ALLOW_DISABLE_OPACITY_MICROMAPS_EXT: Self = Self(0b1000_0000); pub const ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl GeometryInstanceFlagsKHR { pub const FORCE_OPACITY_MICROMAP_2_STATE_EXT: Self = Self(0b1_0000); pub const DISABLE_OPACITY_MICROMAPS_EXT: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl ObjectType { pub const MICROMAP_EXT: Self = Self(1_000_396_000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl PipelineCreateFlags { pub const RAY_TRACING_OPACITY_MICROMAP_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl PipelineStageFlags2 { pub const MICROMAP_BUILD_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl QueryType { pub const MICROMAP_SERIALIZATION_SIZE_EXT: Self = Self(1_000_396_000); pub const MICROMAP_COMPACTED_SIZE_EXT: Self = Self(1_000_396_001); } -#[doc = "Generated from 'VK_EXT_opacity_micromap'"] +#[doc = "Provided by VK_EXT_opacity_micromap"] impl StructureType { pub const MICROMAP_BUILD_INFO_EXT: Self = Self(1_000_396_000); pub const MICROMAP_VERSION_INFO_EXT: Self = Self(1_000_396_001); @@ -3243,67 +3251,71 @@ impl StructureType { pub const MICROMAP_BUILD_SIZES_INFO_EXT: Self = Self(1_000_396_008); pub const ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT: Self = Self(1_000_396_009); } -#[doc = "Generated from 'VK_NV_displacement_micromap'"] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] impl BuildAccelerationStructureFlagsKHR { pub const ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_NV_displacement_micromap'"] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] impl MicromapTypeEXT { pub const DISPLACEMENT_MICROMAP_NV: Self = Self(1_000_397_000); } -#[doc = "Generated from 'VK_NV_displacement_micromap'"] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] impl PipelineCreateFlags { pub const RAY_TRACING_DISPLACEMENT_MICROMAP_NV: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_displacement_micromap'"] +#[doc = "Provided by VK_NV_displacement_micromap"] +#[cfg(feature = "provisional")] impl StructureType { pub const PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV: Self = Self(1_000_397_000); pub const PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV: Self = Self(1_000_397_001); pub const ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV: Self = Self(1_000_397_002); } -#[doc = "Generated from 'VK_EXT_load_store_op_none'"] +#[doc = "Provided by VK_EXT_load_store_op_none"] impl AttachmentLoadOp { pub const NONE_EXT: Self = Self::NONE_KHR; } -#[doc = "Generated from 'VK_EXT_load_store_op_none'"] +#[doc = "Provided by VK_EXT_load_store_op_none"] impl AttachmentStoreOp { pub const NONE_EXT: Self = Self::NONE; } -#[doc = "Generated from 'VK_HUAWEI_cluster_culling_shader'"] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] impl PipelineStageFlags2 { pub const CLUSTER_CULLING_SHADER_HUAWEI: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_cluster_culling_shader'"] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] impl QueryPipelineStatisticFlags { pub const CLUSTER_CULLING_SHADER_INVOCATIONS_HUAWEI: Self = Self(0b10_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_cluster_culling_shader'"] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] impl ShaderStageFlags { pub const CLUSTER_CULLING_HUAWEI: Self = Self(0b1000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_HUAWEI_cluster_culling_shader'"] +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] impl StructureType { pub const PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI: Self = Self(1_000_404_000); pub const PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI: Self = Self(1_000_404_001); pub const PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI: Self = Self(1_000_404_002); } -#[doc = "Generated from 'VK_EXT_border_color_swizzle'"] +#[doc = "Provided by VK_EXT_border_color_swizzle"] impl StructureType { pub const PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT: Self = Self(1_000_411_000); pub const SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT: Self = Self(1_000_411_001); } -#[doc = "Generated from 'VK_EXT_pageable_device_local_memory'"] +#[doc = "Provided by VK_EXT_pageable_device_local_memory"] impl StructureType { pub const PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT: Self = Self(1_000_412_000); } -#[doc = "Generated from 'VK_KHR_maintenance4'"] +#[doc = "Provided by VK_KHR_maintenance4"] impl ImageAspectFlags { pub const NONE_KHR: Self = Self::NONE; } -#[doc = "Generated from 'VK_KHR_maintenance4'"] +#[doc = "Provided by VK_KHR_maintenance4"] impl StructureType { pub const PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES_KHR: Self = Self::PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES; @@ -3312,50 +3324,50 @@ impl StructureType { pub const DEVICE_BUFFER_MEMORY_REQUIREMENTS_KHR: Self = Self::DEVICE_BUFFER_MEMORY_REQUIREMENTS; pub const DEVICE_IMAGE_MEMORY_REQUIREMENTS_KHR: Self = Self::DEVICE_IMAGE_MEMORY_REQUIREMENTS; } -#[doc = "Generated from 'VK_ARM_shader_core_properties'"] +#[doc = "Provided by VK_ARM_shader_core_properties"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM: Self = Self(1_000_415_000); } -#[doc = "Generated from 'VK_KHR_shader_subgroup_rotate'"] +#[doc = "Provided by VK_KHR_shader_subgroup_rotate"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR: Self = Self(1_000_416_000); } -#[doc = "Generated from 'VK_KHR_shader_subgroup_rotate'"] +#[doc = "Provided by VK_KHR_shader_subgroup_rotate"] impl SubgroupFeatureFlags { pub const ROTATE_KHR: Self = Self(0b10_0000_0000); pub const ROTATE_CLUSTERED_KHR: Self = Self(0b100_0000_0000); } -#[doc = "Generated from 'VK_ARM_scheduling_controls'"] +#[doc = "Provided by VK_ARM_scheduling_controls"] impl StructureType { pub const DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM: Self = Self(1_000_417_000); pub const PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM: Self = Self(1_000_417_001); pub const PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM: Self = Self(1_000_417_002); } -#[doc = "Generated from 'VK_EXT_image_sliced_view_of_3d'"] +#[doc = "Provided by VK_EXT_image_sliced_view_of_3d"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT: Self = Self(1_000_418_000); pub const IMAGE_VIEW_SLICED_CREATE_INFO_EXT: Self = Self(1_000_418_001); } -#[doc = "Generated from 'VK_VALVE_descriptor_set_host_mapping'"] +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] impl StructureType { pub const PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE: Self = Self(1_000_420_000); pub const DESCRIPTOR_SET_BINDING_REFERENCE_VALVE: Self = Self(1_000_420_001); pub const DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE: Self = Self(1_000_420_002); } -#[doc = "Generated from 'VK_EXT_depth_clamp_zero_one'"] +#[doc = "Provided by VK_EXT_depth_clamp_zero_one"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT: Self = Self(1_000_421_000); } -#[doc = "Generated from 'VK_EXT_non_seamless_cube_map'"] +#[doc = "Provided by VK_EXT_non_seamless_cube_map"] impl SamplerCreateFlags { pub const NON_SEAMLESS_CUBE_MAP_EXT: Self = Self(0b100); } -#[doc = "Generated from 'VK_EXT_non_seamless_cube_map'"] +#[doc = "Provided by VK_EXT_non_seamless_cube_map"] impl StructureType { pub const PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT: Self = Self(1_000_422_000); } -#[doc = "Generated from 'VK_ARM_render_pass_striped'"] +#[doc = "Provided by VK_ARM_render_pass_striped"] impl StructureType { pub const PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM: Self = Self(1_000_424_000); pub const PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM: Self = Self(1_000_424_001); @@ -3363,68 +3375,68 @@ impl StructureType { pub const RENDER_PASS_STRIPE_INFO_ARM: Self = Self(1_000_424_003); pub const RENDER_PASS_STRIPE_SUBMIT_INFO_ARM: Self = Self(1_000_424_004); } -#[doc = "Generated from 'VK_QCOM_fragment_density_map_offset'"] +#[doc = "Provided by VK_QCOM_fragment_density_map_offset"] impl ImageCreateFlags { pub const FRAGMENT_DENSITY_MAP_OFFSET_QCOM: Self = Self(0b1000_0000_0000_0000); } -#[doc = "Generated from 'VK_QCOM_fragment_density_map_offset'"] +#[doc = "Provided by VK_QCOM_fragment_density_map_offset"] impl StructureType { pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM: Self = Self(1_000_425_000); pub const PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM: Self = Self(1_000_425_001); pub const SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM: Self = Self(1_000_425_002); } -#[doc = "Generated from 'VK_NV_copy_memory_indirect'"] +#[doc = "Provided by VK_NV_copy_memory_indirect"] impl StructureType { pub const PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV: Self = Self(1_000_426_000); pub const PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV: Self = Self(1_000_426_001); } -#[doc = "Generated from 'VK_NV_memory_decompression'"] +#[doc = "Provided by VK_NV_memory_decompression"] impl StructureType { pub const PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_NV: Self = Self(1_000_427_000); pub const PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_NV: Self = Self(1_000_427_001); } -#[doc = "Generated from 'VK_NV_device_generated_commands_compute'"] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] impl DescriptorSetLayoutCreateFlags { pub const INDIRECT_BINDABLE_NV: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_NV_device_generated_commands_compute'"] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] impl IndirectCommandsTokenTypeNV { pub const PIPELINE: Self = Self(1_000_428_003); pub const DISPATCH: Self = Self(1_000_428_004); } -#[doc = "Generated from 'VK_NV_device_generated_commands_compute'"] +#[doc = "Provided by VK_NV_device_generated_commands_compute"] impl StructureType { pub const PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV: Self = Self(1_000_428_000); pub const COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV: Self = Self(1_000_428_001); pub const PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV: Self = Self(1_000_428_002); } -#[doc = "Generated from 'VK_NV_linear_color_attachment'"] +#[doc = "Provided by VK_NV_linear_color_attachment"] impl FormatFeatureFlags2 { #[doc = "Format support linear image as render target, it cannot be mixed with non linear attachment"] pub const LINEAR_COLOR_ATTACHMENT_NV: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_linear_color_attachment'"] +#[doc = "Provided by VK_NV_linear_color_attachment"] impl StructureType { pub const PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV: Self = Self(1_000_430_000); } -#[doc = "Generated from 'VK_KHR_shader_maximal_reconvergence'"] +#[doc = "Provided by VK_KHR_shader_maximal_reconvergence"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR: Self = Self(1_000_434_000); } -#[doc = "Generated from 'VK_EXT_image_compression_control_swapchain'"] +#[doc = "Provided by VK_EXT_image_compression_control_swapchain"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: Self = Self(1_000_437_000); } -#[doc = "Generated from 'VK_QCOM_image_processing'"] +#[doc = "Provided by VK_QCOM_image_processing"] impl DescriptorType { pub const SAMPLE_WEIGHT_IMAGE_QCOM: Self = Self(1_000_440_000); pub const BLOCK_MATCH_IMAGE_QCOM: Self = Self(1_000_440_001); } -#[doc = "Generated from 'VK_QCOM_image_processing'"] +#[doc = "Provided by VK_QCOM_image_processing"] impl FormatFeatureFlags2 { pub const WEIGHT_IMAGE_QCOM: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000); pub const WEIGHT_SAMPLED_IMAGE_QCOM: Self = @@ -3433,40 +3445,40 @@ impl FormatFeatureFlags2 { pub const BOX_FILTER_SAMPLED_QCOM: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_QCOM_image_processing'"] +#[doc = "Provided by VK_QCOM_image_processing"] impl ImageUsageFlags { pub const SAMPLE_WEIGHT_QCOM: Self = Self(0b1_0000_0000_0000_0000_0000); pub const SAMPLE_BLOCK_MATCH_QCOM: Self = Self(0b10_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_QCOM_image_processing'"] +#[doc = "Provided by VK_QCOM_image_processing"] impl SamplerCreateFlags { pub const IMAGE_PROCESSING_QCOM: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_QCOM_image_processing'"] +#[doc = "Provided by VK_QCOM_image_processing"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM: Self = Self(1_000_440_000); pub const PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM: Self = Self(1_000_440_001); pub const IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM: Self = Self(1_000_440_002); } -#[doc = "Generated from 'VK_EXT_nested_command_buffer'"] +#[doc = "Provided by VK_EXT_nested_command_buffer"] impl RenderingFlags { pub const CONTENTS_INLINE_EXT: Self = Self::CONTENTS_INLINE_KHR; } -#[doc = "Generated from 'VK_EXT_nested_command_buffer'"] +#[doc = "Provided by VK_EXT_nested_command_buffer"] impl StructureType { pub const PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT: Self = Self(1_000_451_000); pub const PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_PROPERTIES_EXT: Self = Self(1_000_451_001); } -#[doc = "Generated from 'VK_EXT_nested_command_buffer'"] +#[doc = "Provided by VK_EXT_nested_command_buffer"] impl SubpassContents { pub const INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT: Self = Self::INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR; } -#[doc = "Generated from 'VK_EXT_external_memory_acquire_unmodified'"] +#[doc = "Provided by VK_EXT_external_memory_acquire_unmodified"] impl StructureType { pub const EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXT: Self = Self(1_000_453_000); } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state3'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state3"] impl DynamicState { pub const DEPTH_CLAMP_ENABLE_EXT: Self = Self(1_000_455_003); pub const POLYGON_MODE_EXT: Self = Self(1_000_455_004); @@ -3500,62 +3512,62 @@ impl DynamicState { pub const REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV: Self = Self(1_000_455_031); pub const COVERAGE_REDUCTION_MODE_NV: Self = Self(1_000_455_032); } -#[doc = "Generated from 'VK_EXT_extended_dynamic_state3'"] +#[doc = "Provided by VK_EXT_extended_dynamic_state3"] impl StructureType { pub const PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT: Self = Self(1_000_455_000); pub const PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT: Self = Self(1_000_455_001); } -#[doc = "Generated from 'VK_EXT_subpass_merge_feedback'"] +#[doc = "Provided by VK_EXT_subpass_merge_feedback"] impl StructureType { pub const PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT: Self = Self(1_000_458_000); pub const RENDER_PASS_CREATION_CONTROL_EXT: Self = Self(1_000_458_001); pub const RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT: Self = Self(1_000_458_002); pub const RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT: Self = Self(1_000_458_003); } -#[doc = "Generated from 'VK_LUNARG_direct_driver_loading'"] +#[doc = "Provided by VK_LUNARG_direct_driver_loading"] impl StructureType { pub const DIRECT_DRIVER_LOADING_INFO_LUNARG: Self = Self(1_000_459_000); pub const DIRECT_DRIVER_LOADING_LIST_LUNARG: Self = Self(1_000_459_001); } -#[doc = "Generated from 'VK_EXT_shader_module_identifier'"] +#[doc = "Provided by VK_EXT_shader_module_identifier"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT: Self = Self(1_000_462_000); pub const PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT: Self = Self(1_000_462_001); pub const PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT: Self = Self(1_000_462_002); pub const SHADER_MODULE_IDENTIFIER_EXT: Self = Self(1_000_462_003); } -#[doc = "Generated from 'VK_EXT_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_EXT_rasterization_order_attachment_access"] impl PipelineColorBlendStateCreateFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_ACCESS_EXT: Self = Self(0b1); } -#[doc = "Generated from 'VK_EXT_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_EXT_rasterization_order_attachment_access"] impl PipelineDepthStencilStateCreateFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT: Self = Self(0b1); pub const RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT: Self = Self(0b10); } -#[doc = "Generated from 'VK_EXT_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_EXT_rasterization_order_attachment_access"] impl StructureType { pub const PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT: Self = Self(1_000_342_000); } -#[doc = "Generated from 'VK_EXT_rasterization_order_attachment_access'"] +#[doc = "Provided by VK_EXT_rasterization_order_attachment_access"] impl SubpassDescriptionFlags { pub const RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_EXT: Self = Self(0b1_0000); pub const RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT: Self = Self(0b10_0000); pub const RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl AccessFlags2 { pub const OPTICAL_FLOW_READ_NV: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); pub const OPTICAL_FLOW_WRITE_NV: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl Format { pub const R16G16_SFIXED5_NV: Self = Self(1_000_464_000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl FormatFeatureFlags2 { pub const OPTICAL_FLOW_IMAGE_NV: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); @@ -3564,19 +3576,19 @@ impl FormatFeatureFlags2 { pub const OPTICAL_FLOW_COST_NV: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl ObjectType { pub const OPTICAL_FLOW_SESSION_NV: Self = Self(1_000_464_000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl PipelineStageFlags2 { pub const OPTICAL_FLOW_NV: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl QueueFlags { pub const OPTICAL_FLOW_NV: Self = Self(0b1_0000_0000); } -#[doc = "Generated from 'VK_NV_optical_flow'"] +#[doc = "Provided by VK_NV_optical_flow"] impl StructureType { pub const PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV: Self = Self(1_000_464_000); pub const PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV: Self = Self(1_000_464_001); @@ -3586,44 +3598,44 @@ impl StructureType { pub const OPTICAL_FLOW_EXECUTE_INFO_NV: Self = Self(1_000_464_005); pub const OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV: Self = Self(1_000_464_010); } -#[doc = "Generated from 'VK_EXT_legacy_dithering'"] +#[doc = "Provided by VK_EXT_legacy_dithering"] impl PipelineCreateFlags2KHR { pub const ENABLE_LEGACY_DITHERING_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_legacy_dithering'"] +#[doc = "Provided by VK_EXT_legacy_dithering"] impl RenderingFlags { pub const ENABLE_LEGACY_DITHERING_EXT: Self = Self(0b1000); } -#[doc = "Generated from 'VK_EXT_legacy_dithering'"] +#[doc = "Provided by VK_EXT_legacy_dithering"] impl StructureType { pub const PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT: Self = Self(1_000_465_000); } -#[doc = "Generated from 'VK_EXT_legacy_dithering'"] +#[doc = "Provided by VK_EXT_legacy_dithering"] impl SubpassDescriptionFlags { pub const ENABLE_LEGACY_DITHERING_EXT: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_EXT_pipeline_protected_access'"] +#[doc = "Provided by VK_EXT_pipeline_protected_access"] impl PipelineCreateFlags { pub const NO_PROTECTED_ACCESS_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000_0000); pub const PROTECTED_ACCESS_ONLY_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_pipeline_protected_access'"] +#[doc = "Provided by VK_EXT_pipeline_protected_access"] impl StructureType { pub const PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT: Self = Self(1_000_466_000); } -#[doc = "Generated from 'VK_ANDROID_external_format_resolve'"] +#[doc = "Provided by VK_ANDROID_external_format_resolve"] impl ResolveModeFlags { pub const EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_ANDROID_external_format_resolve'"] +#[doc = "Provided by VK_ANDROID_external_format_resolve"] impl StructureType { pub const PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID: Self = Self(1_000_468_000); pub const PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_PROPERTIES_ANDROID: Self = Self(1_000_468_001); pub const ANDROID_HARDWARE_BUFFER_FORMAT_RESOLVE_PROPERTIES_ANDROID: Self = Self(1_000_468_002); } -#[doc = "Generated from 'VK_KHR_maintenance5'"] +#[doc = "Provided by VK_KHR_maintenance5"] impl BufferUsageFlags2KHR { pub const CONDITIONAL_RENDERING_EXT: Self = Self(0b10_0000_0000); pub const SHADER_BINDING_TABLE: Self = Self(0b100_0000_0000); @@ -3644,12 +3656,12 @@ impl BufferUsageFlags2KHR { pub const MICROMAP_BUILD_INPUT_READ_ONLY_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000); pub const MICROMAP_STORAGE_EXT: Self = Self(0b1_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_maintenance5'"] +#[doc = "Provided by VK_KHR_maintenance5"] impl Format { pub const A1B5G5R5_UNORM_PACK16_KHR: Self = Self(1_000_470_000); pub const A8_UNORM_KHR: Self = Self(1_000_470_001); } -#[doc = "Generated from 'VK_KHR_maintenance5'"] +#[doc = "Provided by VK_KHR_maintenance5"] impl PipelineCreateFlags2KHR { pub const VIEW_INDEX_FROM_DEVICE_INDEX: Self = Self(0b1000); pub const DISPATCH_BASE: Self = Self(0b1_0000); @@ -3685,7 +3697,7 @@ impl PipelineCreateFlags2KHR { Self(0b1_0000_0000_0000_0000_0000_0000_0000); pub const DESCRIPTOR_BUFFER_EXT: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_maintenance5'"] +#[doc = "Provided by VK_KHR_maintenance5"] impl StructureType { pub const PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR: Self = Self(1_000_470_000); pub const PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR: Self = Self(1_000_470_001); @@ -3696,29 +3708,29 @@ impl StructureType { pub const PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR: Self = Self(1_000_470_005); pub const BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR: Self = Self(1_000_470_006); } -#[doc = "Generated from 'VK_AMD_anti_lag'"] +#[doc = "Provided by VK_AMD_anti_lag"] impl StructureType { pub const PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD: Self = Self(1_000_476_000); pub const ANTI_LAG_DATA_AMD: Self = Self(1_000_476_001); pub const ANTI_LAG_PRESENTATION_INFO_AMD: Self = Self(1_000_476_002); } -#[doc = "Generated from 'VK_KHR_ray_tracing_position_fetch'"] +#[doc = "Provided by VK_KHR_ray_tracing_position_fetch"] impl BuildAccelerationStructureFlagsKHR { pub const ALLOW_DATA_ACCESS: Self = Self(0b1000_0000_0000); } -#[doc = "Generated from 'VK_KHR_ray_tracing_position_fetch'"] +#[doc = "Provided by VK_KHR_ray_tracing_position_fetch"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR: Self = Self(1_000_481_000); } -#[doc = "Generated from 'VK_EXT_shader_object'"] +#[doc = "Provided by VK_EXT_shader_object"] impl ObjectType { pub const SHADER_EXT: Self = Self(1_000_482_000); } -#[doc = "Generated from 'VK_EXT_shader_object'"] +#[doc = "Provided by VK_EXT_shader_object"] impl Result { pub const INCOMPATIBLE_SHADER_BINARY_EXT: Self = Self(1_000_482_000); } -#[doc = "Generated from 'VK_EXT_shader_object'"] +#[doc = "Provided by VK_EXT_shader_object"] impl ShaderCreateFlagsEXT { pub const ALLOW_VARYING_SUBGROUP_SIZE: Self = Self(0b10); pub const REQUIRE_FULL_SUBGROUPS: Self = Self(0b100); @@ -3727,7 +3739,7 @@ impl ShaderCreateFlagsEXT { pub const FRAGMENT_SHADING_RATE_ATTACHMENT: Self = Self(0b10_0000); pub const FRAGMENT_DENSITY_MAP_ATTACHMENT: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_EXT_shader_object'"] +#[doc = "Provided by VK_EXT_shader_object"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT: Self = Self(1_000_482_000); pub const PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT: Self = Self(1_000_482_001); @@ -3735,20 +3747,20 @@ impl StructureType { pub const SHADER_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT: Self = Self::PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO; } -#[doc = "Generated from 'VK_KHR_pipeline_binary'"] +#[doc = "Provided by VK_KHR_pipeline_binary"] impl ObjectType { pub const PIPELINE_BINARY_KHR: Self = Self(1_000_483_000); } -#[doc = "Generated from 'VK_KHR_pipeline_binary'"] +#[doc = "Provided by VK_KHR_pipeline_binary"] impl PipelineCreateFlags2KHR { pub const CAPTURE_DATA: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_pipeline_binary'"] +#[doc = "Provided by VK_KHR_pipeline_binary"] impl Result { pub const PIPELINE_BINARY_MISSING_KHR: Self = Self(1_000_483_000); pub const ERROR_NOT_ENOUGH_SPACE_KHR: Self = Self(-1_000_483_000); } -#[doc = "Generated from 'VK_KHR_pipeline_binary'"] +#[doc = "Provided by VK_KHR_pipeline_binary"] impl StructureType { pub const PHYSICAL_DEVICE_PIPELINE_BINARY_FEATURES_KHR: Self = Self(1_000_483_000); pub const PIPELINE_BINARY_CREATE_INFO_KHR: Self = Self(1_000_483_001); @@ -3761,76 +3773,76 @@ impl StructureType { pub const DEVICE_PIPELINE_BINARY_INTERNAL_CACHE_CONTROL_KHR: Self = Self(1_000_483_008); pub const PIPELINE_BINARY_HANDLES_INFO_KHR: Self = Self(1_000_483_009); } -#[doc = "Generated from 'VK_QCOM_tile_properties'"] +#[doc = "Provided by VK_QCOM_tile_properties"] impl StructureType { pub const PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM: Self = Self(1_000_484_000); pub const TILE_PROPERTIES_QCOM: Self = Self(1_000_484_001); } -#[doc = "Generated from 'VK_SEC_amigo_profiling'"] +#[doc = "Provided by VK_SEC_amigo_profiling"] impl StructureType { pub const PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC: Self = Self(1_000_485_000); pub const AMIGO_PROFILING_SUBMIT_INFO_SEC: Self = Self(1_000_485_001); } -#[doc = "Generated from 'VK_QCOM_multiview_per_view_viewports'"] +#[doc = "Provided by VK_QCOM_multiview_per_view_viewports"] impl StructureType { pub const PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM: Self = Self(1_000_488_000); } -#[doc = "Generated from 'VK_NV_ray_tracing_invocation_reorder'"] +#[doc = "Provided by VK_NV_ray_tracing_invocation_reorder"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV: Self = Self(1_000_490_000); pub const PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV: Self = Self(1_000_490_001); } -#[doc = "Generated from 'VK_NV_extended_sparse_address_space'"] +#[doc = "Provided by VK_NV_extended_sparse_address_space"] impl StructureType { pub const PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV: Self = Self(1_000_492_000); pub const PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: Self = Self(1_000_492_001); } -#[doc = "Generated from 'VK_EXT_mutable_descriptor_type'"] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] impl DescriptorPoolCreateFlags { pub const HOST_ONLY_EXT: Self = Self(0b100); } -#[doc = "Generated from 'VK_EXT_mutable_descriptor_type'"] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] impl DescriptorSetLayoutCreateFlags { pub const HOST_ONLY_POOL_EXT: Self = Self(0b100); } -#[doc = "Generated from 'VK_EXT_mutable_descriptor_type'"] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] impl DescriptorType { pub const MUTABLE_EXT: Self = Self(1_000_351_000); } -#[doc = "Generated from 'VK_EXT_mutable_descriptor_type'"] +#[doc = "Provided by VK_EXT_mutable_descriptor_type"] impl StructureType { pub const PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: Self = Self(1_000_351_000); pub const MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: Self = Self(1_000_351_002); } -#[doc = "Generated from 'VK_EXT_legacy_vertex_attributes'"] +#[doc = "Provided by VK_EXT_legacy_vertex_attributes"] impl StructureType { pub const PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: Self = Self(1_000_495_000); pub const PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: Self = Self(1_000_495_001); } -#[doc = "Generated from 'VK_EXT_layer_settings'"] +#[doc = "Provided by VK_EXT_layer_settings"] impl StructureType { pub const LAYER_SETTINGS_CREATE_INFO_EXT: Self = Self(1_000_496_000); } -#[doc = "Generated from 'VK_ARM_shader_core_builtins'"] +#[doc = "Provided by VK_ARM_shader_core_builtins"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: Self = Self(1_000_497_000); pub const PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM: Self = Self(1_000_497_001); } -#[doc = "Generated from 'VK_EXT_pipeline_library_group_handles'"] +#[doc = "Provided by VK_EXT_pipeline_library_group_handles"] impl StructureType { pub const PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT: Self = Self(1_000_498_000); } -#[doc = "Generated from 'VK_EXT_dynamic_rendering_unused_attachments'"] +#[doc = "Provided by VK_EXT_dynamic_rendering_unused_attachments"] impl StructureType { pub const PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT: Self = Self(1_000_499_000); } -#[doc = "Generated from 'VK_NV_low_latency2'"] +#[doc = "Provided by VK_NV_low_latency2"] impl StructureType { pub const LATENCY_SLEEP_MODE_INFO_NV: Self = Self(1_000_505_000); pub const LATENCY_SLEEP_INFO_NV: Self = Self(1_000_505_001); @@ -3842,25 +3854,25 @@ impl StructureType { pub const SWAPCHAIN_LATENCY_CREATE_INFO_NV: Self = Self(1_000_505_007); pub const LATENCY_SURFACE_CAPABILITIES_NV: Self = Self(1_000_505_008); } -#[doc = "Generated from 'VK_KHR_cooperative_matrix'"] +#[doc = "Provided by VK_KHR_cooperative_matrix"] impl StructureType { pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR: Self = Self(1_000_506_000); pub const COOPERATIVE_MATRIX_PROPERTIES_KHR: Self = Self(1_000_506_001); pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR: Self = Self(1_000_506_002); } -#[doc = "Generated from 'VK_QCOM_multiview_per_view_render_areas'"] +#[doc = "Provided by VK_QCOM_multiview_per_view_render_areas"] impl StructureType { pub const PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM: Self = Self(1_000_510_000); pub const MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM: Self = Self(1_000_510_001); } -#[doc = "Generated from 'VK_KHR_compute_shader_derivatives'"] +#[doc = "Provided by VK_KHR_compute_shader_derivatives"] impl StructureType { pub const PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR: Self = Self(1_000_201_000); pub const PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_PROPERTIES_KHR: Self = Self(1_000_511_000); } -#[doc = "Generated from 'VK_KHR_video_decode_av1'"] +#[doc = "Provided by VK_KHR_video_decode_av1"] impl StructureType { pub const VIDEO_DECODE_AV1_CAPABILITIES_KHR: Self = Self(1_000_512_000); pub const VIDEO_DECODE_AV1_PICTURE_INFO_KHR: Self = Self(1_000_512_001); @@ -3868,88 +3880,88 @@ impl StructureType { pub const VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR: Self = Self(1_000_512_004); pub const VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR: Self = Self(1_000_512_005); } -#[doc = "Generated from 'VK_KHR_video_decode_av1'"] +#[doc = "Provided by VK_KHR_video_decode_av1"] impl VideoCodecOperationFlagsKHR { pub const DECODE_AV1: Self = Self(0b100); } -#[doc = "Generated from 'VK_KHR_video_maintenance1'"] +#[doc = "Provided by VK_KHR_video_maintenance1"] impl BufferCreateFlags { pub const VIDEO_PROFILE_INDEPENDENT_KHR: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_KHR_video_maintenance1'"] +#[doc = "Provided by VK_KHR_video_maintenance1"] impl ImageCreateFlags { pub const VIDEO_PROFILE_INDEPENDENT_KHR: Self = Self(0b1_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_KHR_video_maintenance1'"] +#[doc = "Provided by VK_KHR_video_maintenance1"] impl StructureType { pub const PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR: Self = Self(1_000_515_000); pub const VIDEO_INLINE_QUERY_INFO_KHR: Self = Self(1_000_515_001); } -#[doc = "Generated from 'VK_KHR_video_maintenance1'"] +#[doc = "Provided by VK_KHR_video_maintenance1"] impl VideoSessionCreateFlagsKHR { pub const INLINE_QUERIES: Self = Self(0b100); } -#[doc = "Generated from 'VK_NV_per_stage_descriptor_set'"] +#[doc = "Provided by VK_NV_per_stage_descriptor_set"] impl DescriptorSetLayoutCreateFlags { pub const PER_STAGE_NV: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_NV_per_stage_descriptor_set'"] +#[doc = "Provided by VK_NV_per_stage_descriptor_set"] impl StructureType { pub const PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV: Self = Self(1_000_516_000); } -#[doc = "Generated from 'VK_QCOM_image_processing2'"] +#[doc = "Provided by VK_QCOM_image_processing2"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM: Self = Self(1_000_518_000); pub const PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM: Self = Self(1_000_518_001); pub const SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM: Self = Self(1_000_518_002); } -#[doc = "Generated from 'VK_QCOM_filter_cubic_weights'"] +#[doc = "Provided by VK_QCOM_filter_cubic_weights"] impl StructureType { pub const SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM: Self = Self(1_000_519_000); pub const PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM: Self = Self(1_000_519_001); pub const BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM: Self = Self(1_000_519_002); } -#[doc = "Generated from 'VK_QCOM_ycbcr_degamma'"] +#[doc = "Provided by VK_QCOM_ycbcr_degamma"] impl StructureType { pub const PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM: Self = Self(1_000_520_000); pub const SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM: Self = Self(1_000_520_001); } -#[doc = "Generated from 'VK_QCOM_filter_cubic_clamp'"] +#[doc = "Provided by VK_QCOM_filter_cubic_clamp"] impl SamplerReductionMode { pub const WEIGHTED_AVERAGE_RANGECLAMP_QCOM: Self = Self(1_000_521_000); } -#[doc = "Generated from 'VK_QCOM_filter_cubic_clamp'"] +#[doc = "Provided by VK_QCOM_filter_cubic_clamp"] impl StructureType { pub const PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM: Self = Self(1_000_521_000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_dynamic_state'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_dynamic_state"] impl DynamicState { pub const ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT: Self = Self(1_000_524_000); } -#[doc = "Generated from 'VK_EXT_attachment_feedback_loop_dynamic_state'"] +#[doc = "Provided by VK_EXT_attachment_feedback_loop_dynamic_state"] impl StructureType { pub const PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT: Self = Self(1_000_524_000); } -#[doc = "Generated from 'VK_KHR_vertex_attribute_divisor'"] +#[doc = "Provided by VK_KHR_vertex_attribute_divisor"] impl StructureType { pub const PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR: Self = Self(1_000_525_000); pub const PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR: Self = Self(1_000_190_001); pub const PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR: Self = Self(1_000_190_002); } -#[doc = "Generated from 'VK_KHR_load_store_op_none'"] +#[doc = "Provided by VK_KHR_load_store_op_none"] impl AttachmentLoadOp { pub const NONE_KHR: Self = Self(1_000_400_000); } -#[doc = "Generated from 'VK_KHR_shader_float_controls2'"] +#[doc = "Provided by VK_KHR_shader_float_controls2"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR: Self = Self(1_000_528_000); } -#[doc = "Generated from 'VK_QNX_external_memory_screen_buffer'"] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] impl ExternalMemoryHandleTypeFlags { pub const SCREEN_BUFFER_QNX: Self = Self(0b100_0000_0000_0000); } -#[doc = "Generated from 'VK_QNX_external_memory_screen_buffer'"] +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] impl StructureType { pub const SCREEN_BUFFER_PROPERTIES_QNX: Self = Self(1_000_529_000); pub const SCREEN_BUFFER_FORMAT_PROPERTIES_QNX: Self = Self(1_000_529_001); @@ -3958,37 +3970,37 @@ impl StructureType { pub const PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX: Self = Self(1_000_529_004); } -#[doc = "Generated from 'VK_MSFT_layered_driver'"] +#[doc = "Provided by VK_MSFT_layered_driver"] impl StructureType { pub const PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT: Self = Self(1_000_530_000); } -#[doc = "Generated from 'VK_KHR_index_type_uint8'"] +#[doc = "Provided by VK_KHR_index_type_uint8"] impl IndexType { pub const UINT8_KHR: Self = Self(1_000_265_000); } -#[doc = "Generated from 'VK_KHR_index_type_uint8'"] +#[doc = "Provided by VK_KHR_index_type_uint8"] impl StructureType { pub const PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR: Self = Self(1_000_265_000); } -#[doc = "Generated from 'VK_KHR_line_rasterization'"] +#[doc = "Provided by VK_KHR_line_rasterization"] impl DynamicState { pub const LINE_STIPPLE_KHR: Self = Self(1_000_259_000); } -#[doc = "Generated from 'VK_KHR_line_rasterization'"] +#[doc = "Provided by VK_KHR_line_rasterization"] impl StructureType { pub const PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR: Self = Self(1_000_259_000); pub const PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR: Self = Self(1_000_259_001); pub const PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR: Self = Self(1_000_259_002); } -#[doc = "Generated from 'VK_KHR_calibrated_timestamps'"] +#[doc = "Provided by VK_KHR_calibrated_timestamps"] impl StructureType { pub const CALIBRATED_TIMESTAMP_INFO_KHR: Self = Self(1_000_184_000); } -#[doc = "Generated from 'VK_KHR_shader_expect_assume'"] +#[doc = "Provided by VK_KHR_shader_expect_assume"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR: Self = Self(1_000_544_000); } -#[doc = "Generated from 'VK_KHR_maintenance6'"] +#[doc = "Provided by VK_KHR_maintenance6"] impl StructureType { pub const PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR: Self = Self(1_000_545_000); pub const PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR: Self = Self(1_000_545_001); @@ -4000,35 +4012,35 @@ impl StructureType { pub const SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT: Self = Self(1_000_545_007); pub const BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT: Self = Self(1_000_545_008); } -#[doc = "Generated from 'VK_NV_descriptor_pool_overallocation'"] +#[doc = "Provided by VK_NV_descriptor_pool_overallocation"] impl DescriptorPoolCreateFlags { pub const ALLOW_OVERALLOCATION_SETS_NV: Self = Self(0b1000); pub const ALLOW_OVERALLOCATION_POOLS_NV: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_NV_descriptor_pool_overallocation'"] +#[doc = "Provided by VK_NV_descriptor_pool_overallocation"] impl StructureType { pub const PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV: Self = Self(1_000_546_000); } -#[doc = "Generated from 'VK_NV_raw_access_chains'"] +#[doc = "Provided by VK_NV_raw_access_chains"] impl StructureType { pub const PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV: Self = Self(1_000_555_000); } -#[doc = "Generated from 'VK_KHR_shader_relaxed_extended_instruction'"] +#[doc = "Provided by VK_KHR_shader_relaxed_extended_instruction"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: Self = Self(1_000_558_000); } -#[doc = "Generated from 'VK_NV_command_buffer_inheritance'"] +#[doc = "Provided by VK_NV_command_buffer_inheritance"] impl StructureType { pub const PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV: Self = Self(1_000_559_000); } -#[doc = "Generated from 'VK_KHR_maintenance7'"] +#[doc = "Provided by VK_KHR_maintenance7"] impl RenderingFlags { #[doc = "Promoted from extension 452"] pub const CONTENTS_INLINE_KHR: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_KHR_maintenance7'"] +#[doc = "Provided by VK_KHR_maintenance7"] impl StructureType { pub const PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: Self = Self(1_000_562_000); pub const PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: Self = Self(1_000_562_001); @@ -4036,50 +4048,50 @@ impl StructureType { pub const PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR: Self = Self(1_000_562_003); pub const PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: Self = Self(1_000_562_004); } -#[doc = "Generated from 'VK_KHR_maintenance7'"] +#[doc = "Provided by VK_KHR_maintenance7"] impl SubpassContents { pub const INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR: Self = Self(1_000_451_000); } -#[doc = "Generated from 'VK_NV_shader_atomic_float16_vector'"] +#[doc = "Provided by VK_NV_shader_atomic_float16_vector"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: Self = Self(1_000_563_000); } -#[doc = "Generated from 'VK_EXT_shader_replicated_composites'"] +#[doc = "Provided by VK_EXT_shader_replicated_composites"] impl StructureType { pub const PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: Self = Self(1_000_564_000); } -#[doc = "Generated from 'VK_NV_ray_tracing_validation'"] +#[doc = "Provided by VK_NV_ray_tracing_validation"] impl StructureType { pub const PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: Self = Self(1_000_568_000); } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl AccessFlags { pub const COMMAND_PREPROCESS_READ_EXT: Self = Self::COMMAND_PREPROCESS_READ_NV; pub const COMMAND_PREPROCESS_WRITE_EXT: Self = Self::COMMAND_PREPROCESS_WRITE_NV; } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl BufferUsageFlags2KHR { pub const PREPROCESS_BUFFER_EXT: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl ObjectType { pub const INDIRECT_COMMANDS_LAYOUT_EXT: Self = Self(1_000_572_000); pub const INDIRECT_EXECUTION_SET_EXT: Self = Self(1_000_572_001); } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl PipelineCreateFlags2KHR { pub const INDIRECT_BINDABLE_EXT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl PipelineStageFlags { pub const COMMAND_PREPROCESS_EXT: Self = Self::COMMAND_PREPROCESS_NV; } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl ShaderCreateFlagsEXT { pub const INDIRECT_BINDABLE: Self = Self(0b1000_0000); } -#[doc = "Generated from 'VK_EXT_device_generated_commands'"] +#[doc = "Provided by VK_EXT_device_generated_commands"] impl StructureType { pub const PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_EXT: Self = Self(1_000_572_000); pub const PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT: Self = Self(1_000_572_001); @@ -4096,17 +4108,17 @@ impl StructureType { pub const GENERATED_COMMANDS_PIPELINE_INFO_EXT: Self = Self(1_000_572_013); pub const GENERATED_COMMANDS_SHADER_INFO_EXT: Self = Self(1_000_572_014); } -#[doc = "Generated from 'VK_MESA_image_alignment_control'"] +#[doc = "Provided by VK_MESA_image_alignment_control"] impl StructureType { pub const PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: Self = Self(1_000_575_000); pub const PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: Self = Self(1_000_575_001); pub const IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: Self = Self(1_000_575_002); } -#[doc = "Generated from 'VK_EXT_depth_clamp_control'"] +#[doc = "Provided by VK_EXT_depth_clamp_control"] impl DynamicState { pub const DEPTH_CLAMP_RANGE_EXT: Self = Self(1_000_582_000); } -#[doc = "Generated from 'VK_EXT_depth_clamp_control'"] +#[doc = "Provided by VK_EXT_depth_clamp_control"] impl StructureType { pub const PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT: Self = Self(1_000_582_000); pub const PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT: Self = Self(1_000_582_001); @@ -4114,12 +4126,14 @@ impl StructureType { pub const KHR_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_surface\0") }; pub const KHR_SURFACE_SPEC_VERSION: u32 = 25u32; +#[doc = "Provided by VK_KHR_surface"] #[allow(non_camel_case_types)] pub type PFN_vkDestroySurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4127,12 +4141,14 @@ pub type PFN_vkGetPhysicalDeviceSurfaceSupportKHR = unsafe extern "system" fn( surface: SurfaceKHR, p_supported: *mut Bool32, ) -> Result; +#[doc = "Provided by VK_KHR_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR, ) -> Result; +#[doc = "Provided by VK_KHR_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4140,6 +4156,7 @@ pub type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR = unsafe extern "system" fn( p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR, ) -> Result; +#[doc = "Provided by VK_KHR_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4150,6 +4167,7 @@ pub type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR = unsafe extern "system" pub const KHR_SWAPCHAIN_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_swapchain\0") }; pub const KHR_SWAPCHAIN_SPEC_VERSION: u32 = 70u32; +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDevicePresentRectanglesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4157,6 +4175,7 @@ pub type PFN_vkGetPhysicalDevicePresentRectanglesKHR = unsafe extern "system" fn p_rect_count: *mut u32, p_rects: *mut Rect2D, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkCreateSwapchainKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4164,12 +4183,14 @@ pub type PFN_vkCreateSwapchainKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkDestroySwapchainKHR = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkGetSwapchainImagesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4177,6 +4198,7 @@ pub type PFN_vkGetSwapchainImagesKHR = unsafe extern "system" fn( p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireNextImageKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4186,20 +4208,24 @@ pub type PFN_vkAcquireNextImageKHR = unsafe extern "system" fn( fence: Fence, p_image_index: *mut u32, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkQueuePresentKHR = unsafe extern "system" fn(queue: Queue, p_present_info: *const PresentInfoKHR<'_>) -> Result; +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceGroupPresentCapabilitiesKHR = unsafe extern "system" fn( device: crate::vk::Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceGroupSurfacePresentModesKHR = unsafe extern "system" fn( device: crate::vk::Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR, ) -> Result; +#[doc = "Provided by VK_KHR_swapchain, VK_KHR_device_group"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireNextImage2KHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4209,18 +4235,21 @@ pub type PFN_vkAcquireNextImage2KHR = unsafe extern "system" fn( pub const KHR_DISPLAY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_display\0") }; pub const KHR_DISPLAY_SPEC_VERSION: u32 = 23u32; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceDisplayPropertiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPropertiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlanePropertiesKHR, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4228,6 +4257,7 @@ pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = unsafe extern "system" fn( p_display_count: *mut u32, p_displays: *mut DisplayKHR, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetDisplayModePropertiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4235,6 +4265,7 @@ pub type PFN_vkGetDisplayModePropertiesKHR = unsafe extern "system" fn( p_property_count: *mut u32, p_properties: *mut DisplayModePropertiesKHR, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDisplayModeKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4243,6 +4274,7 @@ pub type PFN_vkCreateDisplayModeKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_mode: *mut DisplayModeKHR, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4250,6 +4282,7 @@ pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = unsafe extern "system" fn( plane_index: u32, p_capabilities: *mut DisplayPlaneCapabilitiesKHR, ) -> Result; +#[doc = "Provided by VK_KHR_display"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDisplayPlaneSurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4260,6 +4293,7 @@ pub type PFN_vkCreateDisplayPlaneSurfaceKHR = unsafe extern "system" fn( pub const KHR_DISPLAY_SWAPCHAIN_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_display_swapchain\0") }; pub const KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION: u32 = 10u32; +#[doc = "Provided by VK_KHR_display_swapchain"] #[allow(non_camel_case_types)] pub type PFN_vkCreateSharedSwapchainsKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4271,6 +4305,7 @@ pub type PFN_vkCreateSharedSwapchainsKHR = unsafe extern "system" fn( pub const KHR_XLIB_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_xlib_surface\0") }; pub const KHR_XLIB_SURFACE_SPEC_VERSION: u32 = 6u32; +#[doc = "Provided by VK_KHR_xlib_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateXlibSurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4278,6 +4313,7 @@ pub type PFN_vkCreateXlibSurfaceKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_KHR_xlib_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4288,6 +4324,7 @@ pub type PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR = unsafe extern "syst pub const KHR_XCB_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_xcb_surface\0") }; pub const KHR_XCB_SURFACE_SPEC_VERSION: u32 = 6u32; +#[doc = "Provided by VK_KHR_xcb_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateXcbSurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4295,6 +4332,7 @@ pub type PFN_vkCreateXcbSurfaceKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_KHR_xcb_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4305,6 +4343,7 @@ pub type PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR = unsafe extern "syste pub const KHR_WAYLAND_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_wayland_surface\0") }; pub const KHR_WAYLAND_SURFACE_SPEC_VERSION: u32 = 6u32; +#[doc = "Provided by VK_KHR_wayland_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateWaylandSurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4312,6 +4351,7 @@ pub type PFN_vkCreateWaylandSurfaceKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_KHR_wayland_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4322,6 +4362,7 @@ pub type PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR = unsafe extern "s pub const KHR_ANDROID_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_android_surface\0") }; pub const KHR_ANDROID_SURFACE_SPEC_VERSION: u32 = 6u32; +#[doc = "Provided by VK_KHR_android_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateAndroidSurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4332,6 +4373,7 @@ pub type PFN_vkCreateAndroidSurfaceKHR = unsafe extern "system" fn( pub const KHR_WIN32_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_win32_surface\0") }; pub const KHR_WIN32_SURFACE_SPEC_VERSION: u32 = 6u32; +#[doc = "Provided by VK_KHR_win32_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateWin32SurfaceKHR = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4339,12 +4381,14 @@ pub type PFN_vkCreateWin32SurfaceKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_KHR_win32_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR = unsafe extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32) -> Bool32; pub const ANDROID_NATIVE_BUFFER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_ANDROID_native_buffer\0") }; pub const ANDROID_NATIVE_BUFFER_SPEC_VERSION: u32 = 8u32; +#[doc = "Provided by VK_ANDROID_native_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetSwapchainGrallocUsageANDROID = unsafe extern "system" fn( device: crate::vk::Device, @@ -4352,6 +4396,7 @@ pub type PFN_vkGetSwapchainGrallocUsageANDROID = unsafe extern "system" fn( image_usage: ImageUsageFlags, gralloc_usage: *mut c_int, ) -> Result; +#[doc = "Provided by VK_ANDROID_native_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireImageANDROID = unsafe extern "system" fn( device: crate::vk::Device, @@ -4360,6 +4405,7 @@ pub type PFN_vkAcquireImageANDROID = unsafe extern "system" fn( semaphore: Semaphore, fence: Fence, ) -> Result; +#[doc = "Provided by VK_ANDROID_native_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkQueueSignalReleaseImageANDROID = unsafe extern "system" fn( queue: Queue, @@ -4368,6 +4414,7 @@ pub type PFN_vkQueueSignalReleaseImageANDROID = unsafe extern "system" fn( image: Image, p_native_fence_fd: *mut c_int, ) -> Result; +#[doc = "Provided by VK_ANDROID_native_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetSwapchainGrallocUsage2ANDROID = unsafe extern "system" fn( device: crate::vk::Device, @@ -4380,6 +4427,7 @@ pub type PFN_vkGetSwapchainGrallocUsage2ANDROID = unsafe extern "system" fn( pub const EXT_DEBUG_REPORT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_debug_report\0") }; pub const EXT_DEBUG_REPORT_SPEC_VERSION: u32 = 10u32; +#[doc = "Provided by VK_EXT_debug_report"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDebugReportCallbackEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4387,12 +4435,14 @@ pub type PFN_vkCreateDebugReportCallbackEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_callback: *mut DebugReportCallbackEXT, ) -> Result; +#[doc = "Provided by VK_EXT_debug_report"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDebugReportCallbackEXT = unsafe extern "system" fn( instance: crate::vk::Instance, callback: DebugReportCallbackEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_debug_report"] #[allow(non_camel_case_types)] pub type PFN_vkDebugReportMessageEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4428,23 +4478,28 @@ pub const AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_SPEC_VERSION: u32 = 1u32; pub const EXT_DEBUG_MARKER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_debug_marker\0") }; pub const EXT_DEBUG_MARKER_SPEC_VERSION: u32 = 4u32; +#[doc = "Provided by VK_EXT_debug_marker"] #[allow(non_camel_case_types)] pub type PFN_vkDebugMarkerSetObjectTagEXT = unsafe extern "system" fn( device: crate::vk::Device, p_tag_info: *const DebugMarkerObjectTagInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_debug_marker"] #[allow(non_camel_case_types)] pub type PFN_vkDebugMarkerSetObjectNameEXT = unsafe extern "system" fn( device: crate::vk::Device, p_name_info: *const DebugMarkerObjectNameInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_debug_marker"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDebugMarkerBeginEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_marker_info: *const DebugMarkerMarkerInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_debug_marker"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDebugMarkerEndEXT = unsafe extern "system" fn(command_buffer: CommandBuffer); +#[doc = "Provided by VK_EXT_debug_marker"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDebugMarkerInsertEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4453,12 +4508,14 @@ pub type PFN_vkCmdDebugMarkerInsertEXT = unsafe extern "system" fn( pub const KHR_VIDEO_QUEUE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_video_queue\0") }; pub const KHR_VIDEO_QUEUE_SPEC_VERSION: u32 = 8u32; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_video_profile: *const VideoProfileInfoKHR<'_>, p_capabilities: *mut VideoCapabilitiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4466,6 +4523,7 @@ pub type PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR = unsafe extern "system p_video_format_property_count: *mut u32, p_video_format_properties: *mut VideoFormatPropertiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCreateVideoSessionKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4473,12 +4531,14 @@ pub type PFN_vkCreateVideoSessionKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_video_session: *mut VideoSessionKHR, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyVideoSessionKHR = unsafe extern "system" fn( device: crate::vk::Device, video_session: VideoSessionKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkGetVideoSessionMemoryRequirementsKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4486,6 +4546,7 @@ pub type PFN_vkGetVideoSessionMemoryRequirementsKHR = unsafe extern "system" fn( p_memory_requirements_count: *mut u32, p_memory_requirements: *mut VideoSessionMemoryRequirementsKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkBindVideoSessionMemoryKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4493,6 +4554,7 @@ pub type PFN_vkBindVideoSessionMemoryKHR = unsafe extern "system" fn( bind_session_memory_info_count: u32, p_bind_session_memory_infos: *const BindVideoSessionMemoryInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCreateVideoSessionParametersKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4500,28 +4562,33 @@ pub type PFN_vkCreateVideoSessionParametersKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_video_session_parameters: *mut VideoSessionParametersKHR, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkUpdateVideoSessionParametersKHR = unsafe extern "system" fn( device: crate::vk::Device, video_session_parameters: VideoSessionParametersKHR, p_update_info: *const VideoSessionParametersUpdateInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyVideoSessionParametersKHR = unsafe extern "system" fn( device: crate::vk::Device, video_session_parameters: VideoSessionParametersKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginVideoCodingKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_begin_info: *const VideoBeginCodingInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndVideoCodingKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_end_coding_info: *const VideoEndCodingInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_video_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCmdControlVideoCodingKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4530,6 +4597,7 @@ pub type PFN_vkCmdControlVideoCodingKHR = unsafe extern "system" fn( pub const KHR_VIDEO_DECODE_QUEUE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_video_decode_queue\0") }; pub const KHR_VIDEO_DECODE_QUEUE_SPEC_VERSION: u32 = 8u32; +#[doc = "Provided by VK_KHR_video_decode_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDecodeVideoKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4544,6 +4612,7 @@ pub const NV_DEDICATED_ALLOCATION_SPEC_VERSION: u32 = 1u32; pub const EXT_TRANSFORM_FEEDBACK_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_transform_feedback\0") }; pub const EXT_TRANSFORM_FEEDBACK_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindTransformFeedbackBuffersEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4553,6 +4622,7 @@ pub type PFN_vkCmdBindTransformFeedbackBuffersEXT = unsafe extern "system" fn( p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, ); +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginTransformFeedbackEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4561,6 +4631,7 @@ pub type PFN_vkCmdBeginTransformFeedbackEXT = unsafe extern "system" fn( p_counter_buffers: *const Buffer, p_counter_buffer_offsets: *const DeviceSize, ); +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndTransformFeedbackEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4569,6 +4640,7 @@ pub type PFN_vkCmdEndTransformFeedbackEXT = unsafe extern "system" fn( p_counter_buffers: *const Buffer, p_counter_buffer_offsets: *const DeviceSize, ); +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginQueryIndexedEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4577,6 +4649,7 @@ pub type PFN_vkCmdBeginQueryIndexedEXT = unsafe extern "system" fn( flags: QueryControlFlags, index: u32, ); +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndQueryIndexedEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4584,6 +4657,7 @@ pub type PFN_vkCmdEndQueryIndexedEXT = unsafe extern "system" fn( query: u32, index: u32, ); +#[doc = "Provided by VK_EXT_transform_feedback"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndirectByteCountEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4597,6 +4671,7 @@ pub type PFN_vkCmdDrawIndirectByteCountEXT = unsafe extern "system" fn( pub const NVX_BINARY_IMPORT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NVX_binary_import\0") }; pub const NVX_BINARY_IMPORT_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NVX_binary_import"] #[allow(non_camel_case_types)] pub type PFN_vkCreateCuModuleNVX = unsafe extern "system" fn( device: crate::vk::Device, @@ -4604,6 +4679,7 @@ pub type PFN_vkCreateCuModuleNVX = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_module: *mut CuModuleNVX, ) -> Result; +#[doc = "Provided by VK_NVX_binary_import"] #[allow(non_camel_case_types)] pub type PFN_vkCreateCuFunctionNVX = unsafe extern "system" fn( device: crate::vk::Device, @@ -4611,18 +4687,21 @@ pub type PFN_vkCreateCuFunctionNVX = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_function: *mut CuFunctionNVX, ) -> Result; +#[doc = "Provided by VK_NVX_binary_import"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyCuModuleNVX = unsafe extern "system" fn( device: crate::vk::Device, module: CuModuleNVX, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NVX_binary_import"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyCuFunctionNVX = unsafe extern "system" fn( device: crate::vk::Device, function: CuFunctionNVX, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NVX_binary_import"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCuLaunchKernelNVX = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4631,11 +4710,13 @@ pub type PFN_vkCmdCuLaunchKernelNVX = unsafe extern "system" fn( pub const NVX_IMAGE_VIEW_HANDLE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NVX_image_view_handle\0") }; pub const NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NVX_image_view_handle"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageViewHandleNVX = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const ImageViewHandleInfoNVX<'_>, ) -> u32; +#[doc = "Provided by VK_NVX_image_view_handle"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageViewAddressNVX = unsafe extern "system" fn( device: crate::vk::Device, @@ -4645,6 +4726,7 @@ pub type PFN_vkGetImageViewAddressNVX = unsafe extern "system" fn( pub const AMD_DRAW_INDIRECT_COUNT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMD_draw_indirect_count\0") }; pub const AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndirectCount = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4655,6 +4737,7 @@ pub type PFN_vkCmdDrawIndirectCount = unsafe extern "system" fn( max_draw_count: u32, stride: u32, ); +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndexedIndirectCount = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4689,6 +4772,7 @@ pub const AMD_TEXTURE_GATHER_BIAS_LOD_SPEC_VERSION: u32 = 1u32; pub const AMD_SHADER_INFO_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMD_shader_info\0") }; pub const AMD_SHADER_INFO_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_AMD_shader_info"] #[allow(non_camel_case_types)] pub type PFN_vkGetShaderInfoAMD = unsafe extern "system" fn( device: crate::vk::Device, @@ -4701,11 +4785,13 @@ pub type PFN_vkGetShaderInfoAMD = unsafe extern "system" fn( pub const KHR_DYNAMIC_RENDERING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_dynamic_rendering\0") }; pub const KHR_DYNAMIC_RENDERING_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginRendering = unsafe extern "system" fn( command_buffer: CommandBuffer, p_rendering_info: *const RenderingInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndRendering = unsafe extern "system" fn(command_buffer: CommandBuffer); pub const AMD_SHADER_IMAGE_LOAD_STORE_LOD_NAME: &CStr = @@ -4714,6 +4800,7 @@ pub const AMD_SHADER_IMAGE_LOAD_STORE_LOD_SPEC_VERSION: u32 = 1u32; pub const GGP_STREAM_DESCRIPTOR_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_GGP_stream_descriptor_surface\0") }; pub const GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_GGP_stream_descriptor_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateStreamDescriptorSurfaceGGP = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4733,6 +4820,7 @@ pub const IMG_FORMAT_PVRTC_SPEC_VERSION: u32 = 1u32; pub const NV_EXTERNAL_MEMORY_CAPABILITIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_external_memory_capabilities\0") }; pub const NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_external_memory_capabilities"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV = unsafe extern "system" fn( @@ -4751,6 +4839,7 @@ pub const NV_EXTERNAL_MEMORY_SPEC_VERSION: u32 = 1u32; pub const NV_EXTERNAL_MEMORY_WIN32_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_external_memory_win32\0") }; pub const NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_external_memory_win32"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryWin32HandleNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -4764,39 +4853,46 @@ pub const NV_WIN32_KEYED_MUTEX_SPEC_VERSION: u32 = 2u32; pub const KHR_GET_PHYSICAL_DEVICE_PROPERTIES2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_get_physical_device_properties2\0") }; pub const KHR_GET_PHYSICAL_DEVICE_PROPERTIES2_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceFeatures2 = unsafe extern "system" fn( physical_device: PhysicalDevice, p_features: *mut PhysicalDeviceFeatures2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, p_properties: *mut PhysicalDeviceProperties2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceFormatProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, format: Format, p_format_properties: *mut FormatProperties2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceImageFormatProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, p_image_format_info: *const PhysicalDeviceImageFormatInfo2<'_>, p_image_format_properties: *mut ImageFormatProperties2<'_>, ) -> Result; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, p_queue_family_property_count: *mut u32, p_queue_family_properties: *mut QueueFamilyProperties2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceMemoryProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, p_memory_properties: *mut PhysicalDeviceMemoryProperties2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4807,6 +4903,7 @@ pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 = unsafe extern "sy pub const KHR_DEVICE_GROUP_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_device_group\0") }; pub const KHR_DEVICE_GROUP_SPEC_VERSION: u32 = 4u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceGroupPeerMemoryFeatures = unsafe extern "system" fn( device: crate::vk::Device, @@ -4815,9 +4912,11 @@ pub type PFN_vkGetDeviceGroupPeerMemoryFeatures = unsafe extern "system" fn( remote_device_index: u32, p_peer_memory_features: *mut PeerMemoryFeatureFlags, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDeviceMask = unsafe extern "system" fn(command_buffer: CommandBuffer, device_mask: u32); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatchBase = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4834,6 +4933,7 @@ pub const EXT_VALIDATION_FLAGS_SPEC_VERSION: u32 = 3u32; pub const NN_VI_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NN_vi_surface\0") }; pub const NN_VI_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NN_vi_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateViSurfaceNN = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4862,6 +4962,7 @@ pub const EXT_PIPELINE_ROBUSTNESS_SPEC_VERSION: u32 = 1u32; pub const KHR_MAINTENANCE1_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance1\0") }; pub const KHR_MAINTENANCE1_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkTrimCommandPool = unsafe extern "system" fn( device: crate::vk::Device, @@ -4871,6 +4972,7 @@ pub type PFN_vkTrimCommandPool = unsafe extern "system" fn( pub const KHR_DEVICE_GROUP_CREATION_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_device_group_creation\0") }; pub const KHR_DEVICE_GROUP_CREATION_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkEnumeratePhysicalDeviceGroups = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -4880,6 +4982,7 @@ pub type PFN_vkEnumeratePhysicalDeviceGroups = unsafe extern "system" fn( pub const KHR_EXTERNAL_MEMORY_CAPABILITIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_memory_capabilities\0") }; pub const KHR_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceExternalBufferProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4892,12 +4995,14 @@ pub const KHR_EXTERNAL_MEMORY_SPEC_VERSION: u32 = 1u32; pub const KHR_EXTERNAL_MEMORY_WIN32_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_memory_win32\0") }; pub const KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_memory_win32"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryWin32HandleKHR = unsafe extern "system" fn( device: crate::vk::Device, p_get_win32_handle_info: *const MemoryGetWin32HandleInfoKHR<'_>, p_handle: *mut HANDLE, ) -> Result; +#[doc = "Provided by VK_KHR_external_memory_win32"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryWin32HandlePropertiesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4908,12 +5013,14 @@ pub type PFN_vkGetMemoryWin32HandlePropertiesKHR = unsafe extern "system" fn( pub const KHR_EXTERNAL_MEMORY_FD_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_memory_fd\0") }; pub const KHR_EXTERNAL_MEMORY_FD_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_memory_fd"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryFdKHR = unsafe extern "system" fn( device: crate::vk::Device, p_get_fd_info: *const MemoryGetFdInfoKHR<'_>, p_fd: *mut c_int, ) -> Result; +#[doc = "Provided by VK_KHR_external_memory_fd"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryFdPropertiesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4927,6 +5034,7 @@ pub const KHR_WIN32_KEYED_MUTEX_SPEC_VERSION: u32 = 1u32; pub const KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_semaphore_capabilities\0") }; pub const KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceExternalSemaphoreProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -4939,11 +5047,13 @@ pub const KHR_EXTERNAL_SEMAPHORE_SPEC_VERSION: u32 = 1u32; pub const KHR_EXTERNAL_SEMAPHORE_WIN32_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_semaphore_win32\0") }; pub const KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[allow(non_camel_case_types)] pub type PFN_vkImportSemaphoreWin32HandleKHR = unsafe extern "system" fn( device: crate::vk::Device, p_import_semaphore_win32_handle_info: *const ImportSemaphoreWin32HandleInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_external_semaphore_win32"] #[allow(non_camel_case_types)] pub type PFN_vkGetSemaphoreWin32HandleKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4953,11 +5063,13 @@ pub type PFN_vkGetSemaphoreWin32HandleKHR = unsafe extern "system" fn( pub const KHR_EXTERNAL_SEMAPHORE_FD_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_semaphore_fd\0") }; pub const KHR_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_semaphore_fd"] #[allow(non_camel_case_types)] pub type PFN_vkImportSemaphoreFdKHR = unsafe extern "system" fn( device: crate::vk::Device, p_import_semaphore_fd_info: *const ImportSemaphoreFdInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_external_semaphore_fd"] #[allow(non_camel_case_types)] pub type PFN_vkGetSemaphoreFdKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -4967,6 +5079,7 @@ pub type PFN_vkGetSemaphoreFdKHR = unsafe extern "system" fn( pub const KHR_PUSH_DESCRIPTOR_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_push_descriptor\0") }; pub const KHR_PUSH_DESCRIPTOR_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_KHR_push_descriptor"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushDescriptorSetKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4976,6 +5089,7 @@ pub type PFN_vkCmdPushDescriptorSetKHR = unsafe extern "system" fn( descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet<'_>, ); +#[doc = "Provided by VK_KHR_push_descriptor, VK_KHR_descriptor_update_template"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushDescriptorSetWithTemplateKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -4987,11 +5101,13 @@ pub type PFN_vkCmdPushDescriptorSetWithTemplateKHR = unsafe extern "system" fn( pub const EXT_CONDITIONAL_RENDERING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_conditional_rendering\0") }; pub const EXT_CONDITIONAL_RENDERING_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_conditional_rendering"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginConditionalRenderingEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_conditional_rendering_begin: *const ConditionalRenderingBeginInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_conditional_rendering"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndConditionalRenderingEXT = unsafe extern "system" fn(command_buffer: CommandBuffer); @@ -5007,6 +5123,7 @@ pub const KHR_INCREMENTAL_PRESENT_SPEC_VERSION: u32 = 2u32; pub const KHR_DESCRIPTOR_UPDATE_TEMPLATE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_descriptor_update_template\0") }; pub const KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDescriptorUpdateTemplate = unsafe extern "system" fn( device: crate::vk::Device, @@ -5014,12 +5131,14 @@ pub type PFN_vkCreateDescriptorUpdateTemplate = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_descriptor_update_template: *mut DescriptorUpdateTemplate, ) -> Result; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDescriptorUpdateTemplate = unsafe extern "system" fn( device: crate::vk::Device, descriptor_update_template: DescriptorUpdateTemplate, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkUpdateDescriptorSetWithTemplate = unsafe extern "system" fn( device: crate::vk::Device, @@ -5030,6 +5149,7 @@ pub type PFN_vkUpdateDescriptorSetWithTemplate = unsafe extern "system" fn( pub const NV_CLIP_SPACE_W_SCALING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_clip_space_w_scaling\0") }; pub const NV_CLIP_SPACE_W_SCALING_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_clip_space_w_scaling"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewportWScalingNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5040,18 +5160,21 @@ pub type PFN_vkCmdSetViewportWScalingNV = unsafe extern "system" fn( pub const EXT_DIRECT_MODE_DISPLAY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_direct_mode_display\0") }; pub const EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_direct_mode_display"] #[allow(non_camel_case_types)] pub type PFN_vkReleaseDisplayEXT = unsafe extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR) -> Result; pub const EXT_ACQUIRE_XLIB_DISPLAY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_acquire_xlib_display\0") }; pub const EXT_ACQUIRE_XLIB_DISPLAY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_acquire_xlib_display"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireXlibDisplayEXT = unsafe extern "system" fn( physical_device: PhysicalDevice, dpy: *mut Display, display: DisplayKHR, ) -> Result; +#[doc = "Provided by VK_EXT_acquire_xlib_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetRandROutputDisplayEXT = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5062,6 +5185,7 @@ pub type PFN_vkGetRandROutputDisplayEXT = unsafe extern "system" fn( pub const EXT_DISPLAY_SURFACE_COUNTER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_display_surface_counter\0") }; pub const EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_display_surface_counter"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5071,12 +5195,14 @@ pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT = unsafe extern "system" pub const EXT_DISPLAY_CONTROL_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_display_control\0") }; pub const EXT_DISPLAY_CONTROL_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_display_control"] #[allow(non_camel_case_types)] pub type PFN_vkDisplayPowerControlEXT = unsafe extern "system" fn( device: crate::vk::Device, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_display_control"] #[allow(non_camel_case_types)] pub type PFN_vkRegisterDeviceEventEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5084,6 +5210,7 @@ pub type PFN_vkRegisterDeviceEventEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result; +#[doc = "Provided by VK_EXT_display_control"] #[allow(non_camel_case_types)] pub type PFN_vkRegisterDisplayEventEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5092,6 +5219,7 @@ pub type PFN_vkRegisterDisplayEventEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result; +#[doc = "Provided by VK_EXT_display_control"] #[allow(non_camel_case_types)] pub type PFN_vkGetSwapchainCounterEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5102,12 +5230,14 @@ pub type PFN_vkGetSwapchainCounterEXT = unsafe extern "system" fn( pub const GOOGLE_DISPLAY_TIMING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_GOOGLE_display_timing\0") }; pub const GOOGLE_DISPLAY_TIMING_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_GOOGLE_display_timing"] #[allow(non_camel_case_types)] pub type PFN_vkGetRefreshCycleDurationGOOGLE = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_display_timing_properties: *mut RefreshCycleDurationGOOGLE, ) -> Result; +#[doc = "Provided by VK_GOOGLE_display_timing"] #[allow(non_camel_case_types)] pub type PFN_vkGetPastPresentationTimingGOOGLE = unsafe extern "system" fn( device: crate::vk::Device, @@ -5133,6 +5263,7 @@ pub const NV_VIEWPORT_SWIZZLE_SPEC_VERSION: u32 = 1u32; pub const EXT_DISCARD_RECTANGLES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_discard_rectangles\0") }; pub const EXT_DISCARD_RECTANGLES_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_discard_rectangles"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDiscardRectangleEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5140,9 +5271,11 @@ pub type PFN_vkCmdSetDiscardRectangleEXT = unsafe extern "system" fn( discard_rectangle_count: u32, p_discard_rectangles: *const Rect2D, ); +#[doc = "Provided by VK_EXT_discard_rectangles"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDiscardRectangleEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, discard_rectangle_enable: Bool32); +#[doc = "Provided by VK_EXT_discard_rectangles"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDiscardRectangleModeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5160,6 +5293,7 @@ pub const EXT_SWAPCHAIN_COLORSPACE_SPEC_VERSION: u32 = 5u32; pub const EXT_HDR_METADATA_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_hdr_metadata\0") }; pub const EXT_HDR_METADATA_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_EXT_hdr_metadata"] #[allow(non_camel_case_types)] pub type PFN_vkSetHdrMetadataEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5173,6 +5307,7 @@ pub const KHR_IMAGELESS_FRAMEBUFFER_SPEC_VERSION: u32 = 1u32; pub const KHR_CREATE_RENDERPASS2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_create_renderpass2\0") }; pub const KHR_CREATE_RENDERPASS2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCreateRenderPass2 = unsafe extern "system" fn( device: crate::vk::Device, @@ -5180,18 +5315,21 @@ pub type PFN_vkCreateRenderPass2 = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass, ) -> Result; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginRenderPass2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo<'_>, p_subpass_begin_info: *const SubpassBeginInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdNextSubpass2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_subpass_begin_info: *const SubpassBeginInfo<'_>, p_subpass_end_info: *const SubpassEndInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndRenderPass2 = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5203,12 +5341,14 @@ pub const IMG_RELAXED_LINE_RASTERIZATION_SPEC_VERSION: u32 = 1u32; pub const KHR_SHARED_PRESENTABLE_IMAGE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_shared_presentable_image\0") }; pub const KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_shared_presentable_image"] #[allow(non_camel_case_types)] pub type PFN_vkGetSwapchainStatusKHR = unsafe extern "system" fn(device: crate::vk::Device, swapchain: SwapchainKHR) -> Result; pub const KHR_EXTERNAL_FENCE_CAPABILITIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_fence_capabilities\0") }; pub const KHR_EXTERNAL_FENCE_CAPABILITIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceExternalFenceProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5221,11 +5361,13 @@ pub const KHR_EXTERNAL_FENCE_SPEC_VERSION: u32 = 1u32; pub const KHR_EXTERNAL_FENCE_WIN32_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_fence_win32\0") }; pub const KHR_EXTERNAL_FENCE_WIN32_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_fence_win32"] #[allow(non_camel_case_types)] pub type PFN_vkImportFenceWin32HandleKHR = unsafe extern "system" fn( device: crate::vk::Device, p_import_fence_win32_handle_info: *const ImportFenceWin32HandleInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_external_fence_win32"] #[allow(non_camel_case_types)] pub type PFN_vkGetFenceWin32HandleKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5235,11 +5377,13 @@ pub type PFN_vkGetFenceWin32HandleKHR = unsafe extern "system" fn( pub const KHR_EXTERNAL_FENCE_FD_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_external_fence_fd\0") }; pub const KHR_EXTERNAL_FENCE_FD_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_external_fence_fd"] #[allow(non_camel_case_types)] pub type PFN_vkImportFenceFdKHR = unsafe extern "system" fn( device: crate::vk::Device, p_import_fence_fd_info: *const ImportFenceFdInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_external_fence_fd"] #[allow(non_camel_case_types)] pub type PFN_vkGetFenceFdKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5249,6 +5393,7 @@ pub type PFN_vkGetFenceFdKHR = unsafe extern "system" fn( pub const KHR_PERFORMANCE_QUERY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_performance_query\0") }; pub const KHR_PERFORMANCE_QUERY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = unsafe extern "system" fn( @@ -5258,6 +5403,7 @@ pub type PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = p_counters: *mut PerformanceCounterKHR<'_>, p_counter_descriptions: *mut PerformanceCounterDescriptionKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = unsafe extern "system" fn( @@ -5265,11 +5411,13 @@ pub type PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR<'_>, p_num_passes: *mut u32, ); +#[doc = "Provided by VK_KHR_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireProfilingLockKHR = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const AcquireProfilingLockInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkReleaseProfilingLockKHR = unsafe extern "system" fn(device: crate::vk::Device); pub const KHR_MAINTENANCE2_NAME: &CStr = @@ -5278,12 +5426,14 @@ pub const KHR_MAINTENANCE2_SPEC_VERSION: u32 = 1u32; pub const KHR_GET_SURFACE_CAPABILITIES2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_get_surface_capabilities2\0") }; pub const KHR_GET_SURFACE_CAPABILITIES2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR<'_>, p_surface_capabilities: *mut SurfaceCapabilities2KHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_get_surface_capabilities2"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5297,18 +5447,21 @@ pub const KHR_VARIABLE_POINTERS_SPEC_VERSION: u32 = 1u32; pub const KHR_GET_DISPLAY_PROPERTIES2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_get_display_properties2\0") }; pub const KHR_GET_DISPLAY_PROPERTIES2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_get_display_properties2"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceDisplayProperties2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayProperties2KHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_get_display_properties2"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlaneProperties2KHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_get_display_properties2"] #[allow(non_camel_case_types)] pub type PFN_vkGetDisplayModeProperties2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5316,6 +5469,7 @@ pub type PFN_vkGetDisplayModeProperties2KHR = unsafe extern "system" fn( p_property_count: *mut u32, p_properties: *mut DisplayModeProperties2KHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_get_display_properties2"] #[allow(non_camel_case_types)] pub type PFN_vkGetDisplayPlaneCapabilities2KHR = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -5325,6 +5479,7 @@ pub type PFN_vkGetDisplayPlaneCapabilities2KHR = unsafe extern "system" fn( pub const MVK_IOS_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_MVK_ios_surface\0") }; pub const MVK_IOS_SURFACE_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_MVK_ios_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateIOSSurfaceMVK = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -5335,6 +5490,7 @@ pub type PFN_vkCreateIOSSurfaceMVK = unsafe extern "system" fn( pub const MVK_MACOS_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_MVK_macos_surface\0") }; pub const MVK_MACOS_SURFACE_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_MVK_macos_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateMacOSSurfaceMVK = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -5354,6 +5510,7 @@ pub const KHR_DEDICATED_ALLOCATION_SPEC_VERSION: u32 = 3u32; pub const EXT_DEBUG_UTILS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_debug_utils\0") }; pub const EXT_DEBUG_UTILS_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDebugUtilsMessengerEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -5361,12 +5518,14 @@ pub type PFN_vkCreateDebugUtilsMessengerEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_messenger: *mut DebugUtilsMessengerEXT, ) -> Result; +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDebugUtilsMessengerEXT = unsafe extern "system" fn( instance: crate::vk::Instance, messenger: DebugUtilsMessengerEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkSubmitDebugUtilsMessageEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -5374,31 +5533,39 @@ pub type PFN_vkSubmitDebugUtilsMessageEXT = unsafe extern "system" fn( message_types: DebugUtilsMessageTypeFlagsEXT, p_callback_data: *const DebugUtilsMessengerCallbackDataEXT<'_>, ); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkSetDebugUtilsObjectNameEXT = unsafe extern "system" fn( device: crate::vk::Device, p_name_info: *const DebugUtilsObjectNameInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkSetDebugUtilsObjectTagEXT = unsafe extern "system" fn( device: crate::vk::Device, p_tag_info: *const DebugUtilsObjectTagInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkQueueBeginDebugUtilsLabelEXT = unsafe extern "system" fn(queue: Queue, p_label_info: *const DebugUtilsLabelEXT<'_>); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkQueueEndDebugUtilsLabelEXT = unsafe extern "system" fn(queue: Queue); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkQueueInsertDebugUtilsLabelEXT = unsafe extern "system" fn(queue: Queue, p_label_info: *const DebugUtilsLabelEXT<'_>); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginDebugUtilsLabelEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_label_info: *const DebugUtilsLabelEXT<'_>, ); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndDebugUtilsLabelEXT = unsafe extern "system" fn(command_buffer: CommandBuffer); +#[doc = "Provided by VK_EXT_debug_utils"] #[allow(non_camel_case_types)] pub type PFN_vkCmdInsertDebugUtilsLabelEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5408,12 +5575,14 @@ pub const ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_ANDROID_external_memory_android_hardware_buffer\0") }; pub const ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_SPEC_VERSION: u32 = 5u32; +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetAndroidHardwareBufferPropertiesANDROID = unsafe extern "system" fn( device: crate::vk::Device, buffer: *const AHardwareBuffer, p_properties: *mut AndroidHardwareBufferPropertiesANDROID<'_>, ) -> Result; +#[doc = "Provided by VK_ANDROID_external_memory_android_hardware_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryAndroidHardwareBufferANDROID = unsafe extern "system" fn( device: crate::vk::Device, @@ -5432,6 +5601,8 @@ pub const AMD_GPU_SHADER_INT16_SPEC_VERSION: u32 = 2u32; pub const AMDX_SHADER_ENQUEUE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMDX_shader_enqueue\0") }; pub const AMDX_SHADER_ENQUEUE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCreateExecutionGraphPipelinesAMDX = unsafe extern "system" fn( device: crate::vk::Device, @@ -5441,12 +5612,16 @@ pub type PFN_vkCreateExecutionGraphPipelinesAMDX = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result; +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkGetExecutionGraphPipelineScratchSizeAMDX = unsafe extern "system" fn( device: crate::vk::Device, execution_graph: Pipeline, p_size_info: *mut ExecutionGraphPipelineScratchSizeAMDX<'_>, ) -> Result; +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkGetExecutionGraphPipelineNodeIndexAMDX = unsafe extern "system" fn( device: crate::vk::Device, @@ -5454,21 +5629,29 @@ pub type PFN_vkGetExecutionGraphPipelineNodeIndexAMDX = unsafe extern "system" f p_node_info: *const PipelineShaderStageNodeCreateInfoAMDX<'_>, p_node_index: *mut u32, ) -> Result; +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCmdInitializeGraphScratchMemoryAMDX = unsafe extern "system" fn(command_buffer: CommandBuffer, scratch: DeviceAddress); +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatchGraphAMDX = unsafe extern "system" fn( command_buffer: CommandBuffer, scratch: DeviceAddress, p_count_info: *const DispatchGraphCountInfoAMDX, ); +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatchGraphIndirectAMDX = unsafe extern "system" fn( command_buffer: CommandBuffer, scratch: DeviceAddress, p_count_info: *const DispatchGraphCountInfoAMDX, ); +#[doc = "Provided by VK_AMDX_shader_enqueue"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatchGraphIndirectCountAMDX = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5490,12 +5673,14 @@ pub const EXT_SHADER_STENCIL_EXPORT_SPEC_VERSION: u32 = 1u32; pub const EXT_SAMPLE_LOCATIONS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_sample_locations\0") }; pub const EXT_SAMPLE_LOCATIONS_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_sample_locations"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT = unsafe extern "system" fn( physical_device: PhysicalDevice, samples: SampleCountFlags, p_multisample_properties: *mut MultisamplePropertiesEXT<'_>, ); +#[doc = "Provided by VK_EXT_sample_locations"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetSampleLocationsEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5507,18 +5692,21 @@ pub const KHR_RELAXED_BLOCK_LAYOUT_SPEC_VERSION: u32 = 1u32; pub const KHR_GET_MEMORY_REQUIREMENTS2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_get_memory_requirements2\0") }; pub const KHR_GET_MEMORY_REQUIREMENTS2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageMemoryRequirements2 = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const ImageMemoryRequirementsInfo2<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferMemoryRequirements2 = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const BufferMemoryRequirementsInfo2<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageSparseMemoryRequirements2 = unsafe extern "system" fn( device: crate::vk::Device, @@ -5538,6 +5726,7 @@ pub const NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION: u32 = 1u32; pub const KHR_ACCELERATION_STRUCTURE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_acceleration_structure\0") }; pub const KHR_ACCELERATION_STRUCTURE_SPEC_VERSION: u32 = 13u32; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCreateAccelerationStructureKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5545,12 +5734,14 @@ pub type PFN_vkCreateAccelerationStructureKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyAccelerationStructureKHR = unsafe extern "system" fn( device: crate::vk::Device, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBuildAccelerationStructuresKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5558,6 +5749,7 @@ pub type PFN_vkCmdBuildAccelerationStructuresKHR = unsafe extern "system" fn( p_infos: *const AccelerationStructureBuildGeometryInfoKHR<'_>, pp_build_range_infos: *const *const AccelerationStructureBuildRangeInfoKHR, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBuildAccelerationStructuresIndirectKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5567,6 +5759,7 @@ pub type PFN_vkCmdBuildAccelerationStructuresIndirectKHR = unsafe extern "system p_indirect_strides: *const u32, pp_max_primitive_counts: *const *const u32, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkBuildAccelerationStructuresKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5575,24 +5768,28 @@ pub type PFN_vkBuildAccelerationStructuresKHR = unsafe extern "system" fn( p_infos: *const AccelerationStructureBuildGeometryInfoKHR<'_>, pp_build_range_infos: *const *const AccelerationStructureBuildRangeInfoKHR, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCopyAccelerationStructureKHR = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyAccelerationStructureInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCopyAccelerationStructureToMemoryKHR = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyAccelerationStructureToMemoryInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCopyMemoryToAccelerationStructureKHR = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyMemoryToAccelerationStructureInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkWriteAccelerationStructuresPropertiesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5603,27 +5800,32 @@ pub type PFN_vkWriteAccelerationStructuresPropertiesKHR = unsafe extern "system" p_data: *mut c_void, stride: usize, ) -> Result; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyAccelerationStructureKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyAccelerationStructureToMemoryKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureToMemoryInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMemoryToAccelerationStructureKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyMemoryToAccelerationStructureInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkGetAccelerationStructureDeviceAddressKHR = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const AccelerationStructureDeviceAddressInfoKHR<'_>, ) -> DeviceAddress; +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteAccelerationStructuresPropertiesKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5633,12 +5835,14 @@ pub type PFN_vkCmdWriteAccelerationStructuresPropertiesKHR = unsafe extern "syst query_pool: QueryPool, first_query: u32, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceAccelerationStructureCompatibilityKHR = unsafe extern "system" fn( device: crate::vk::Device, p_version_info: *const AccelerationStructureVersionInfoKHR<'_>, p_compatibility: *mut AccelerationStructureCompatibilityKHR, ); +#[doc = "Provided by VK_KHR_acceleration_structure"] #[allow(non_camel_case_types)] pub type PFN_vkGetAccelerationStructureBuildSizesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5650,6 +5854,7 @@ pub type PFN_vkGetAccelerationStructureBuildSizesKHR = unsafe extern "system" fn pub const KHR_RAY_TRACING_PIPELINE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_ray_tracing_pipeline\0") }; pub const KHR_RAY_TRACING_PIPELINE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkCmdTraceRaysKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5661,6 +5866,7 @@ pub type PFN_vkCmdTraceRaysKHR = unsafe extern "system" fn( height: u32, depth: u32, ); +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkCreateRayTracingPipelinesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5671,6 +5877,7 @@ pub type PFN_vkCreateRayTracingPipelinesKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkGetRayTracingShaderGroupHandlesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5680,6 +5887,7 @@ pub type PFN_vkGetRayTracingShaderGroupHandlesKHR = unsafe extern "system" fn( data_size: usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = unsafe extern "system" fn( @@ -5690,6 +5898,7 @@ pub type PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = data_size: usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkCmdTraceRaysIndirectKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5699,6 +5908,7 @@ pub type PFN_vkCmdTraceRaysIndirectKHR = unsafe extern "system" fn( p_callable_shader_binding_table: *const StridedDeviceAddressRegionKHR, indirect_device_address: DeviceAddress, ); +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkGetRayTracingShaderGroupStackSizeKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -5706,6 +5916,7 @@ pub type PFN_vkGetRayTracingShaderGroupStackSizeKHR = unsafe extern "system" fn( group: u32, group_shader: ShaderGroupShaderKHR, ) -> DeviceSize; +#[doc = "Provided by VK_KHR_ray_tracing_pipeline"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRayTracingPipelineStackSizeKHR = unsafe extern "system" fn(command_buffer: CommandBuffer, pipeline_stack_size: u32); @@ -5727,6 +5938,7 @@ pub const EXT_POST_DEPTH_COVERAGE_SPEC_VERSION: u32 = 1u32; pub const KHR_SAMPLER_YCBCR_CONVERSION_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_sampler_ycbcr_conversion\0") }; pub const KHR_SAMPLER_YCBCR_CONVERSION_SPEC_VERSION: u32 = 14u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkCreateSamplerYcbcrConversion = unsafe extern "system" fn( device: crate::vk::Device, @@ -5734,6 +5946,7 @@ pub type PFN_vkCreateSamplerYcbcrConversion = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_ycbcr_conversion: *mut SamplerYcbcrConversion, ) -> Result; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkDestroySamplerYcbcrConversion = unsafe extern "system" fn( device: crate::vk::Device, @@ -5743,12 +5956,14 @@ pub type PFN_vkDestroySamplerYcbcrConversion = unsafe extern "system" fn( pub const KHR_BIND_MEMORY2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_bind_memory2\0") }; pub const KHR_BIND_MEMORY2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkBindBufferMemory2 = unsafe extern "system" fn( device: crate::vk::Device, bind_info_count: u32, p_bind_infos: *const BindBufferMemoryInfo<'_>, ) -> Result; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkBindImageMemory2 = unsafe extern "system" fn( device: crate::vk::Device, @@ -5758,6 +5973,7 @@ pub type PFN_vkBindImageMemory2 = unsafe extern "system" fn( pub const EXT_IMAGE_DRM_FORMAT_MODIFIER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_image_drm_format_modifier\0") }; pub const EXT_IMAGE_DRM_FORMAT_MODIFIER_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_image_drm_format_modifier"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageDrmFormatModifierPropertiesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5767,6 +5983,7 @@ pub type PFN_vkGetImageDrmFormatModifierPropertiesEXT = unsafe extern "system" f pub const EXT_VALIDATION_CACHE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_validation_cache\0") }; pub const EXT_VALIDATION_CACHE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_validation_cache"] #[allow(non_camel_case_types)] pub type PFN_vkCreateValidationCacheEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5774,12 +5991,14 @@ pub type PFN_vkCreateValidationCacheEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_validation_cache: *mut ValidationCacheEXT, ) -> Result; +#[doc = "Provided by VK_EXT_validation_cache"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyValidationCacheEXT = unsafe extern "system" fn( device: crate::vk::Device, validation_cache: ValidationCacheEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_validation_cache"] #[allow(non_camel_case_types)] pub type PFN_vkMergeValidationCachesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5787,6 +6006,7 @@ pub type PFN_vkMergeValidationCachesEXT = unsafe extern "system" fn( src_cache_count: u32, p_src_caches: *const ValidationCacheEXT, ) -> Result; +#[doc = "Provided by VK_EXT_validation_cache"] #[allow(non_camel_case_types)] pub type PFN_vkGetValidationCacheDataEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5806,12 +6026,14 @@ pub const KHR_PORTABILITY_SUBSET_SPEC_VERSION: u32 = 1u32; pub const NV_SHADING_RATE_IMAGE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_shading_rate_image\0") }; pub const NV_SHADING_RATE_IMAGE_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_NV_shading_rate_image"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindShadingRateImageNV = unsafe extern "system" fn( command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout, ); +#[doc = "Provided by VK_NV_shading_rate_image"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewportShadingRatePaletteNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5819,6 +6041,7 @@ pub type PFN_vkCmdSetViewportShadingRatePaletteNV = unsafe extern "system" fn( viewport_count: u32, p_shading_rate_palettes: *const ShadingRatePaletteNV<'_>, ); +#[doc = "Provided by VK_NV_shading_rate_image"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoarseSampleOrderNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5829,6 +6052,7 @@ pub type PFN_vkCmdSetCoarseSampleOrderNV = unsafe extern "system" fn( pub const NV_RAY_TRACING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_ray_tracing\0") }; pub const NV_RAY_TRACING_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCreateAccelerationStructureNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -5836,24 +6060,28 @@ pub type PFN_vkCreateAccelerationStructureNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureNV, ) -> Result; +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyAccelerationStructureNV = unsafe extern "system" fn( device: crate::vk::Device, acceleration_structure: AccelerationStructureNV, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkGetAccelerationStructureMemoryRequirementsNV = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const AccelerationStructureMemoryRequirementsInfoNV<'_>, p_memory_requirements: *mut MemoryRequirements2KHR<'_>, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkBindAccelerationStructureMemoryNV = unsafe extern "system" fn( device: crate::vk::Device, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoNV<'_>, ) -> Result; +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBuildAccelerationStructureNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5866,6 +6094,7 @@ pub type PFN_vkCmdBuildAccelerationStructureNV = unsafe extern "system" fn( scratch: Buffer, scratch_offset: DeviceSize, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyAccelerationStructureNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5873,6 +6102,7 @@ pub type PFN_vkCmdCopyAccelerationStructureNV = unsafe extern "system" fn( src: AccelerationStructureNV, mode: CopyAccelerationStructureModeKHR, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCmdTraceRaysNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5891,6 +6121,7 @@ pub type PFN_vkCmdTraceRaysNV = unsafe extern "system" fn( height: u32, depth: u32, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCreateRayTracingPipelinesNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -5900,6 +6131,7 @@ pub type PFN_vkCreateRayTracingPipelinesNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result; +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkGetAccelerationStructureHandleNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -5907,6 +6139,7 @@ pub type PFN_vkGetAccelerationStructureHandleNV = unsafe extern "system" fn( data_size: usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteAccelerationStructuresPropertiesNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5916,6 +6149,7 @@ pub type PFN_vkCmdWriteAccelerationStructuresPropertiesNV = unsafe extern "syste query_pool: QueryPool, first_query: u32, ); +#[doc = "Provided by VK_NV_ray_tracing"] #[allow(non_camel_case_types)] pub type PFN_vkCompileDeferredNV = unsafe extern "system" fn(device: crate::vk::Device, pipeline: Pipeline, shader: u32) -> Result; @@ -5925,6 +6159,7 @@ pub const NV_REPRESENTATIVE_FRAGMENT_TEST_SPEC_VERSION: u32 = 2u32; pub const KHR_MAINTENANCE3_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance3\0") }; pub const KHR_MAINTENANCE3_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorSetLayoutSupport = unsafe extern "system" fn( device: crate::vk::Device, @@ -5952,6 +6187,7 @@ pub const KHR_8BIT_STORAGE_SPEC_VERSION: u32 = 1u32; pub const EXT_EXTERNAL_MEMORY_HOST_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_external_memory_host\0") }; pub const EXT_EXTERNAL_MEMORY_HOST_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_external_memory_host"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryHostPointerPropertiesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -5962,6 +6198,7 @@ pub type PFN_vkGetMemoryHostPointerPropertiesEXT = unsafe extern "system" fn( pub const AMD_BUFFER_MARKER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMD_buffer_marker\0") }; pub const AMD_BUFFER_MARKER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_AMD_buffer_marker"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteBufferMarkerAMD = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -5982,12 +6219,14 @@ pub const AMD_PIPELINE_COMPILER_CONTROL_SPEC_VERSION: u32 = 1u32; pub const EXT_CALIBRATED_TIMESTAMPS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_calibrated_timestamps\0") }; pub const EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_KHR_calibrated_timestamps"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainKHR, ) -> Result; +#[doc = "Provided by VK_KHR_calibrated_timestamps"] #[allow(non_camel_case_types)] pub type PFN_vkGetCalibratedTimestampsKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6038,9 +6277,11 @@ pub const NV_COMPUTE_SHADER_DERIVATIVES_SPEC_VERSION: u32 = 1u32; pub const NV_MESH_SHADER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_mesh_shader\0") }; pub const NV_MESH_SHADER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksNV = unsafe extern "system" fn(command_buffer: CommandBuffer, task_count: u32, first_task: u32); +#[doc = "Provided by VK_NV_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksIndirectNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6049,6 +6290,7 @@ pub type PFN_vkCmdDrawMeshTasksIndirectNV = unsafe extern "system" fn( draw_count: u32, stride: u32, ); +#[doc = "Provided by VK_NV_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksIndirectCountNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6068,6 +6310,7 @@ pub const NV_SHADER_IMAGE_FOOTPRINT_SPEC_VERSION: u32 = 2u32; pub const NV_SCISSOR_EXCLUSIVE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_scissor_exclusive\0") }; pub const NV_SCISSOR_EXCLUSIVE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NV_scissor_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetExclusiveScissorEnableNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6075,6 +6318,7 @@ pub type PFN_vkCmdSetExclusiveScissorEnableNV = unsafe extern "system" fn( exclusive_scissor_count: u32, p_exclusive_scissor_enables: *const Bool32, ); +#[doc = "Provided by VK_NV_scissor_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetExclusiveScissorNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6085,9 +6329,11 @@ pub type PFN_vkCmdSetExclusiveScissorNV = unsafe extern "system" fn( pub const NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_device_diagnostic_checkpoints\0") }; pub const NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NV_device_diagnostic_checkpoints"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCheckpointNV = unsafe extern "system" fn(command_buffer: CommandBuffer, p_checkpoint_marker: *const c_void); +#[doc = "Provided by VK_NV_device_diagnostic_checkpoints"] #[allow(non_camel_case_types)] pub type PFN_vkGetQueueCheckpointDataNV = unsafe extern "system" fn( queue: Queue, @@ -6097,18 +6343,21 @@ pub type PFN_vkGetQueueCheckpointDataNV = unsafe extern "system" fn( pub const KHR_TIMELINE_SEMAPHORE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_timeline_semaphore\0") }; pub const KHR_TIMELINE_SEMAPHORE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkGetSemaphoreCounterValue = unsafe extern "system" fn( device: crate::vk::Device, semaphore: Semaphore, p_value: *mut u64, ) -> Result; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkWaitSemaphores = unsafe extern "system" fn( device: crate::vk::Device, p_wait_info: *const SemaphoreWaitInfo<'_>, timeout: u64, ) -> Result; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkSignalSemaphore = unsafe extern "system" fn( device: crate::vk::Device, @@ -6120,43 +6369,52 @@ pub const INTEL_SHADER_INTEGER_FUNCTIONS2_SPEC_VERSION: u32 = 1u32; pub const INTEL_PERFORMANCE_QUERY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_INTEL_performance_query\0") }; pub const INTEL_PERFORMANCE_QUERY_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkInitializePerformanceApiINTEL = unsafe extern "system" fn( device: crate::vk::Device, p_initialize_info: *const InitializePerformanceApiInfoINTEL<'_>, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkUninitializePerformanceApiINTEL = unsafe extern "system" fn(device: crate::vk::Device); +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPerformanceMarkerINTEL = unsafe extern "system" fn( command_buffer: CommandBuffer, p_marker_info: *const PerformanceMarkerInfoINTEL<'_>, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPerformanceStreamMarkerINTEL = unsafe extern "system" fn( command_buffer: CommandBuffer, p_marker_info: *const PerformanceStreamMarkerInfoINTEL<'_>, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPerformanceOverrideINTEL = unsafe extern "system" fn( command_buffer: CommandBuffer, p_override_info: *const PerformanceOverrideInfoINTEL<'_>, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkAcquirePerformanceConfigurationINTEL = unsafe extern "system" fn( device: crate::vk::Device, p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL<'_>, p_configuration: *mut PerformanceConfigurationINTEL, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkReleasePerformanceConfigurationINTEL = unsafe extern "system" fn( device: crate::vk::Device, configuration: PerformanceConfigurationINTEL, ) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkQueueSetPerformanceConfigurationINTEL = unsafe extern "system" fn(queue: Queue, configuration: PerformanceConfigurationINTEL) -> Result; +#[doc = "Provided by VK_INTEL_performance_query"] #[allow(non_camel_case_types)] pub type PFN_vkGetPerformanceParameterINTEL = unsafe extern "system" fn( device: crate::vk::Device, @@ -6172,6 +6430,7 @@ pub const EXT_PCI_BUS_INFO_SPEC_VERSION: u32 = 2u32; pub const AMD_DISPLAY_NATIVE_HDR_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMD_display_native_hdr\0") }; pub const AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_AMD_display_native_hdr"] #[allow(non_camel_case_types)] pub type PFN_vkSetLocalDimmingAMD = unsafe extern "system" fn( device: crate::vk::Device, @@ -6181,6 +6440,7 @@ pub type PFN_vkSetLocalDimmingAMD = unsafe extern "system" fn( pub const FUCHSIA_IMAGEPIPE_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_FUCHSIA_imagepipe_surface\0") }; pub const FUCHSIA_IMAGEPIPE_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_FUCHSIA_imagepipe_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateImagePipeSurfaceFUCHSIA = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -6194,6 +6454,7 @@ pub const KHR_SHADER_TERMINATE_INVOCATION_SPEC_VERSION: u32 = 1u32; pub const EXT_METAL_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_metal_surface\0") }; pub const EXT_METAL_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_metal_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateMetalSurfaceEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -6219,12 +6480,14 @@ pub const EXT_SUBGROUP_SIZE_CONTROL_SPEC_VERSION: u32 = 2u32; pub const KHR_FRAGMENT_SHADING_RATE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_fragment_shading_rate\0") }; pub const KHR_FRAGMENT_SHADING_RATE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR = unsafe extern "system" fn( physical_device: PhysicalDevice, p_fragment_shading_rate_count: *mut u32, p_fragment_shading_rates: *mut PhysicalDeviceFragmentShadingRateKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_fragment_shading_rate"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetFragmentShadingRateKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6240,11 +6503,13 @@ pub const AMD_DEVICE_COHERENT_MEMORY_SPEC_VERSION: u32 = 1u32; pub const KHR_DYNAMIC_RENDERING_LOCAL_READ_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_dynamic_rendering_local_read\0") }; pub const KHR_DYNAMIC_RENDERING_LOCAL_READ_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRenderingAttachmentLocationsKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_location_info: *const RenderingAttachmentLocationInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_dynamic_rendering_local_read"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRenderingInputAttachmentIndicesKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6277,6 +6542,7 @@ pub const KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_SPEC_VERSION: u32 = 1u32; pub const EXT_BUFFER_DEVICE_ADDRESS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_buffer_device_address\0") }; pub const EXT_BUFFER_DEVICE_ADDRESS_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferDeviceAddress = unsafe extern "system" fn( device: crate::vk::Device, @@ -6285,6 +6551,7 @@ pub type PFN_vkGetBufferDeviceAddress = unsafe extern "system" fn( pub const EXT_TOOLING_INFO_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_tooling_info\0") }; pub const EXT_TOOLING_INFO_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceToolProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -6300,6 +6567,7 @@ pub const EXT_VALIDATION_FEATURES_SPEC_VERSION: u32 = 6u32; pub const KHR_PRESENT_WAIT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_present_wait\0") }; pub const KHR_PRESENT_WAIT_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_present_wait"] #[allow(non_camel_case_types)] pub type PFN_vkWaitForPresentKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6310,6 +6578,7 @@ pub type PFN_vkWaitForPresentKHR = unsafe extern "system" fn( pub const NV_COOPERATIVE_MATRIX_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_cooperative_matrix\0") }; pub const NV_COOPERATIVE_MATRIX_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_cooperative_matrix"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -6320,6 +6589,7 @@ pub type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = unsafe extern "s pub const NV_COVERAGE_REDUCTION_MODE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_coverage_reduction_mode\0") }; pub const NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_coverage_reduction_mode"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = unsafe extern "system" fn( @@ -6342,6 +6612,7 @@ pub const EXT_PROVOKING_VERTEX_SPEC_VERSION: u32 = 1u32; pub const EXT_FULL_SCREEN_EXCLUSIVE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_full_screen_exclusive\0") }; pub const EXT_FULL_SCREEN_EXCLUSIVE_SPEC_VERSION: u32 = 4u32; +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -6349,12 +6620,15 @@ pub type PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT = unsafe extern "system" p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR, ) -> Result; +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireFullScreenExclusiveModeEXT = unsafe extern "system" fn(device: crate::vk::Device, swapchain: SwapchainKHR) -> Result; +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkReleaseFullScreenExclusiveModeEXT = unsafe extern "system" fn(device: crate::vk::Device, swapchain: SwapchainKHR) -> Result; +#[doc = "Provided by VK_EXT_full_screen_exclusive"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceGroupSurfacePresentModes2EXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -6364,6 +6638,7 @@ pub type PFN_vkGetDeviceGroupSurfacePresentModes2EXT = unsafe extern "system" fn pub const EXT_HEADLESS_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_headless_surface\0") }; pub const EXT_HEADLESS_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_headless_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateHeadlessSurfaceEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -6374,11 +6649,13 @@ pub type PFN_vkCreateHeadlessSurfaceEXT = unsafe extern "system" fn( pub const KHR_BUFFER_DEVICE_ADDRESS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_buffer_device_address\0") }; pub const KHR_BUFFER_DEVICE_ADDRESS_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferOpaqueCaptureAddress = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const BufferDeviceAddressInfo<'_>, ) -> u64; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceMemoryOpaqueCaptureAddress = unsafe extern "system" fn( device: crate::vk::Device, @@ -6387,6 +6664,7 @@ pub type PFN_vkGetDeviceMemoryOpaqueCaptureAddress = unsafe extern "system" fn( pub const EXT_LINE_RASTERIZATION_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_line_rasterization\0") }; pub const EXT_LINE_RASTERIZATION_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_line_rasterization"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLineStippleKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6399,6 +6677,7 @@ pub const EXT_SHADER_ATOMIC_FLOAT_SPEC_VERSION: u32 = 1u32; pub const EXT_HOST_QUERY_RESET_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_host_query_reset\0") }; pub const EXT_HOST_QUERY_RESET_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_2"] #[allow(non_camel_case_types)] pub type PFN_vkResetQueryPool = unsafe extern "system" fn( device: crate::vk::Device, @@ -6412,27 +6691,33 @@ pub const EXT_INDEX_TYPE_UINT8_SPEC_VERSION: u32 = 1u32; pub const EXT_EXTENDED_DYNAMIC_STATE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extended_dynamic_state\0") }; pub const EXT_EXTENDED_DYNAMIC_STATE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCullMode = unsafe extern "system" fn(command_buffer: CommandBuffer, cull_mode: CullModeFlags); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetFrontFace = unsafe extern "system" fn(command_buffer: CommandBuffer, front_face: FrontFace); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPrimitiveTopology = unsafe extern "system" fn(command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewportWithCount = unsafe extern "system" fn( command_buffer: CommandBuffer, viewport_count: u32, p_viewports: *const Viewport, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetScissorWithCount = unsafe extern "system" fn( command_buffer: CommandBuffer, scissor_count: u32, p_scissors: *const Rect2D, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindVertexBuffers2 = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6443,21 +6728,27 @@ pub type PFN_vkCmdBindVertexBuffers2 = unsafe extern "system" fn( p_sizes: *const DeviceSize, p_strides: *const DeviceSize, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthTestEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_test_enable: Bool32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthWriteEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_write_enable: Bool32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthCompareOp = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_compare_op: CompareOp); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthBoundsTestEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_bounds_test_enable: Bool32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetStencilTestEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, stencil_test_enable: Bool32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetStencilOp = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6470,30 +6761,36 @@ pub type PFN_vkCmdSetStencilOp = unsafe extern "system" fn( pub const KHR_DEFERRED_HOST_OPERATIONS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_deferred_host_operations\0") }; pub const KHR_DEFERRED_HOST_OPERATIONS_SPEC_VERSION: u32 = 4u32; +#[doc = "Provided by VK_KHR_deferred_host_operations"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDeferredOperationKHR = unsafe extern "system" fn( device: crate::vk::Device, p_allocator: *const AllocationCallbacks, p_deferred_operation: *mut DeferredOperationKHR, ) -> Result; +#[doc = "Provided by VK_KHR_deferred_host_operations"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDeferredOperationKHR = unsafe extern "system" fn( device: crate::vk::Device, operation: DeferredOperationKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_deferred_host_operations"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeferredOperationMaxConcurrencyKHR = unsafe extern "system" fn(device: crate::vk::Device, operation: DeferredOperationKHR) -> u32; +#[doc = "Provided by VK_KHR_deferred_host_operations"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeferredOperationResultKHR = unsafe extern "system" fn(device: crate::vk::Device, operation: DeferredOperationKHR) -> Result; +#[doc = "Provided by VK_KHR_deferred_host_operations"] #[allow(non_camel_case_types)] pub type PFN_vkDeferredOperationJoinKHR = unsafe extern "system" fn(device: crate::vk::Device, operation: DeferredOperationKHR) -> Result; pub const KHR_PIPELINE_EXECUTABLE_PROPERTIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_pipeline_executable_properties\0") }; pub const KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineExecutablePropertiesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6501,6 +6798,7 @@ pub type PFN_vkGetPipelineExecutablePropertiesKHR = unsafe extern "system" fn( p_executable_count: *mut u32, p_properties: *mut PipelineExecutablePropertiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineExecutableStatisticsKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6508,6 +6806,7 @@ pub type PFN_vkGetPipelineExecutableStatisticsKHR = unsafe extern "system" fn( p_statistic_count: *mut u32, p_statistics: *mut PipelineExecutableStatisticKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_pipeline_executable_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineExecutableInternalRepresentationsKHR = unsafe extern "system" fn( @@ -6519,27 +6818,32 @@ pub type PFN_vkGetPipelineExecutableInternalRepresentationsKHR = pub const EXT_HOST_IMAGE_COPY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_host_image_copy\0") }; pub const EXT_HOST_IMAGE_COPY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_host_image_copy"] #[allow(non_camel_case_types)] pub type PFN_vkCopyMemoryToImageEXT = unsafe extern "system" fn( device: crate::vk::Device, p_copy_memory_to_image_info: *const CopyMemoryToImageInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_host_image_copy"] #[allow(non_camel_case_types)] pub type PFN_vkCopyImageToMemoryEXT = unsafe extern "system" fn( device: crate::vk::Device, p_copy_image_to_memory_info: *const CopyImageToMemoryInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_host_image_copy"] #[allow(non_camel_case_types)] pub type PFN_vkCopyImageToImageEXT = unsafe extern "system" fn( device: crate::vk::Device, p_copy_image_to_image_info: *const CopyImageToImageInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_host_image_copy"] #[allow(non_camel_case_types)] pub type PFN_vkTransitionImageLayoutEXT = unsafe extern "system" fn( device: crate::vk::Device, transition_count: u32, p_transitions: *const HostImageLayoutTransitionInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_maintenance5"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageSubresourceLayout2KHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6550,12 +6854,14 @@ pub type PFN_vkGetImageSubresourceLayout2KHR = unsafe extern "system" fn( pub const KHR_MAP_MEMORY2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_map_memory2\0") }; pub const KHR_MAP_MEMORY2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_map_memory2"] #[allow(non_camel_case_types)] pub type PFN_vkMapMemory2KHR = unsafe extern "system" fn( device: crate::vk::Device, p_memory_map_info: *const MemoryMapInfoKHR<'_>, pp_data: *mut *mut c_void, ) -> Result; +#[doc = "Provided by VK_KHR_map_memory2"] #[allow(non_camel_case_types)] pub type PFN_vkUnmapMemory2KHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6573,6 +6879,7 @@ pub const EXT_SURFACE_MAINTENANCE1_SPEC_VERSION: u32 = 1u32; pub const EXT_SWAPCHAIN_MAINTENANCE1_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_swapchain_maintenance1\0") }; pub const EXT_SWAPCHAIN_MAINTENANCE1_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_swapchain_maintenance1"] #[allow(non_camel_case_types)] pub type PFN_vkReleaseSwapchainImagesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -6584,23 +6891,27 @@ pub const EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSION: u32 = 1u32; pub const NV_DEVICE_GENERATED_COMMANDS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_device_generated_commands\0") }; pub const NV_DEVICE_GENERATED_COMMANDS_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkGetGeneratedCommandsMemoryRequirementsNV = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const GeneratedCommandsMemoryRequirementsInfoNV<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPreprocessGeneratedCommandsNV = unsafe extern "system" fn( command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoNV<'_>, ); +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCmdExecuteGeneratedCommandsNV = unsafe extern "system" fn( command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoNV<'_>, ); +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindPipelineShaderGroupNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6608,6 +6919,7 @@ pub type PFN_vkCmdBindPipelineShaderGroupNV = unsafe extern "system" fn( pipeline: Pipeline, group_index: u32, ); +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCreateIndirectCommandsLayoutNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -6615,6 +6927,7 @@ pub type PFN_vkCreateIndirectCommandsLayoutNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNV, ) -> Result; +#[doc = "Provided by VK_NV_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyIndirectCommandsLayoutNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -6636,6 +6949,7 @@ pub const QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION: u32 = 4u32; pub const EXT_DEPTH_BIAS_CONTROL_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_depth_bias_control\0") }; pub const EXT_DEPTH_BIAS_CONTROL_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_depth_bias_control"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthBias2EXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6647,12 +6961,14 @@ pub const EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION: u32 = 2u32; pub const EXT_ACQUIRE_DRM_DISPLAY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_acquire_drm_display\0") }; pub const EXT_ACQUIRE_DRM_DISPLAY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_acquire_drm_display"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireDrmDisplayEXT = unsafe extern "system" fn( physical_device: PhysicalDevice, drm_fd: i32, display: DisplayKHR, ) -> Result; +#[doc = "Provided by VK_EXT_acquire_drm_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetDrmDisplayEXT = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -6684,6 +7000,7 @@ pub const KHR_PRESENT_ID_SPEC_VERSION: u32 = 1u32; pub const EXT_PRIVATE_DATA_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_private_data\0") }; pub const EXT_PRIVATE_DATA_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCreatePrivateDataSlot = unsafe extern "system" fn( device: crate::vk::Device, @@ -6691,12 +7008,14 @@ pub type PFN_vkCreatePrivateDataSlot = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_private_data_slot: *mut PrivateDataSlot, ) -> Result; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyPrivateDataSlot = unsafe extern "system" fn( device: crate::vk::Device, private_data_slot: PrivateDataSlot, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkSetPrivateData = unsafe extern "system" fn( device: crate::vk::Device, @@ -6705,6 +7024,7 @@ pub type PFN_vkSetPrivateData = unsafe extern "system" fn( private_data_slot: PrivateDataSlot, data: u64, ) -> Result; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkGetPrivateData = unsafe extern "system" fn( device: crate::vk::Device, @@ -6719,6 +7039,7 @@ pub const EXT_PIPELINE_CREATION_CACHE_CONTROL_SPEC_VERSION: u32 = 3u32; pub const KHR_VIDEO_ENCODE_QUEUE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_video_encode_queue\0") }; pub const KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION: u32 = 12u32; +#[doc = "Provided by VK_KHR_video_encode_queue"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR = unsafe extern "system" fn( @@ -6726,6 +7047,7 @@ pub type PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR = p_quality_level_info: *const PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'_>, p_quality_level_properties: *mut VideoEncodeQualityLevelPropertiesKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_video_encode_queue"] #[allow(non_camel_case_types)] pub type PFN_vkGetEncodedVideoSessionParametersKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -6734,6 +7056,7 @@ pub type PFN_vkGetEncodedVideoSessionParametersKHR = unsafe extern "system" fn( p_data_size: *mut usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_KHR_video_encode_queue"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEncodeVideoKHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6748,6 +7071,8 @@ pub const QCOM_RENDER_PASS_STORE_OPS_SPEC_VERSION: u32 = 2u32; pub const NV_CUDA_KERNEL_LAUNCH_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_cuda_kernel_launch\0") }; pub const NV_CUDA_KERNEL_LAUNCH_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCreateCudaModuleNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -6755,6 +7080,8 @@ pub type PFN_vkCreateCudaModuleNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_module: *mut CudaModuleNV, ) -> Result; +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkGetCudaModuleCacheNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -6762,6 +7089,8 @@ pub type PFN_vkGetCudaModuleCacheNV = unsafe extern "system" fn( p_cache_size: *mut usize, p_cache_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCreateCudaFunctionNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -6769,18 +7098,24 @@ pub type PFN_vkCreateCudaFunctionNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_function: *mut CudaFunctionNV, ) -> Result; +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkDestroyCudaModuleNV = unsafe extern "system" fn( device: crate::vk::Device, module: CudaModuleNV, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkDestroyCudaFunctionNV = unsafe extern "system" fn( device: crate::vk::Device, function: CudaFunctionNV, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NV_cuda_kernel_launch"] +#[cfg(feature = "provisional")] #[allow(non_camel_case_types)] pub type PFN_vkCmdCudaLaunchKernelNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6792,6 +7127,7 @@ pub const NV_LOW_LATENCY_SPEC_VERSION: u32 = 1u32; pub const EXT_METAL_OBJECTS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_metal_objects\0") }; pub const EXT_METAL_OBJECTS_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_metal_objects"] #[allow(non_camel_case_types)] pub type PFN_vkExportMetalObjectsEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -6800,18 +7136,21 @@ pub type PFN_vkExportMetalObjectsEXT = unsafe extern "system" fn( pub const KHR_SYNCHRONIZATION2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_synchronization2\0") }; pub const KHR_SYNCHRONIZATION2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetEvent2 = unsafe extern "system" fn( command_buffer: CommandBuffer, event: Event, p_dependency_info: *const DependencyInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdResetEvent2 = unsafe extern "system" fn( command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWaitEvents2 = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6819,11 +7158,13 @@ pub type PFN_vkCmdWaitEvents2 = unsafe extern "system" fn( p_events: *const Event, p_dependency_infos: *const DependencyInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPipelineBarrier2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_dependency_info: *const DependencyInfo<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteTimestamp2 = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6831,6 +7172,7 @@ pub type PFN_vkCmdWriteTimestamp2 = unsafe extern "system" fn( query_pool: QueryPool, query: u32, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkQueueSubmit2 = unsafe extern "system" fn( queue: Queue, @@ -6838,6 +7180,7 @@ pub type PFN_vkQueueSubmit2 = unsafe extern "system" fn( p_submits: *const SubmitInfo2<'_>, fence: Fence, ) -> Result; +#[doc = "Provided by VK_KHR_synchronization2"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteBufferMarker2AMD = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6846,6 +7189,7 @@ pub type PFN_vkCmdWriteBufferMarker2AMD = unsafe extern "system" fn( dst_offset: DeviceSize, marker: u32, ); +#[doc = "Provided by VK_KHR_synchronization2"] #[allow(non_camel_case_types)] pub type PFN_vkGetQueueCheckpointData2NV = unsafe extern "system" fn( queue: Queue, @@ -6855,12 +7199,14 @@ pub type PFN_vkGetQueueCheckpointData2NV = unsafe extern "system" fn( pub const EXT_DESCRIPTOR_BUFFER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_descriptor_buffer\0") }; pub const EXT_DESCRIPTOR_BUFFER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorSetLayoutSizeEXT = unsafe extern "system" fn( device: crate::vk::Device, layout: DescriptorSetLayout, p_layout_size_in_bytes: *mut DeviceSize, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorSetLayoutBindingOffsetEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -6868,6 +7214,7 @@ pub type PFN_vkGetDescriptorSetLayoutBindingOffsetEXT = unsafe extern "system" f binding: u32, p_offset: *mut DeviceSize, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -6875,12 +7222,14 @@ pub type PFN_vkGetDescriptorEXT = unsafe extern "system" fn( data_size: usize, p_descriptor: *mut c_void, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindDescriptorBuffersEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, buffer_count: u32, p_binding_infos: *const DescriptorBufferBindingInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDescriptorBufferOffsetsEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6891,6 +7240,7 @@ pub type PFN_vkCmdSetDescriptorBufferOffsetsEXT = unsafe extern "system" fn( p_buffer_indices: *const u32, p_offsets: *const DeviceSize, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6898,30 +7248,35 @@ pub type PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT = unsafe extern "syste layout: PipelineLayout, set: u32, ); +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const BufferCaptureDescriptorDataInfoEXT<'_>, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageOpaqueCaptureDescriptorDataEXT = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const ImageCaptureDescriptorDataInfoEXT<'_>, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const ImageViewCaptureDescriptorDataInfoEXT<'_>, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const SamplerCaptureDescriptorDataInfoEXT<'_>, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_EXT_descriptor_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT = unsafe extern "system" fn( @@ -6949,6 +7304,7 @@ pub const KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION: u32 = 1u32; pub const NV_FRAGMENT_SHADING_RATE_ENUMS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_fragment_shading_rate_enums\0") }; pub const NV_FRAGMENT_SHADING_RATE_ENUMS_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_fragment_shading_rate_enums"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetFragmentShadingRateEnumNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6961,6 +7317,7 @@ pub const NV_RAY_TRACING_MOTION_BLUR_SPEC_VERSION: u32 = 1u32; pub const EXT_MESH_SHADER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_mesh_shader\0") }; pub const EXT_MESH_SHADER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6968,6 +7325,7 @@ pub type PFN_vkCmdDrawMeshTasksEXT = unsafe extern "system" fn( group_count_y: u32, group_count_z: u32, ); +#[doc = "Provided by VK_EXT_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksIndirectEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -6976,6 +7334,7 @@ pub type PFN_vkCmdDrawMeshTasksIndirectEXT = unsafe extern "system" fn( draw_count: u32, stride: u32, ); +#[doc = "Provided by VK_EXT_mesh_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMeshTasksIndirectCountEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7004,31 +7363,37 @@ pub const KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_SPEC_VERSION: u32 = 1u32; pub const KHR_COPY_COMMANDS2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_copy_commands2\0") }; pub const KHR_COPY_COMMANDS2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyBuffer2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_copy_buffer_info: *const CopyBufferInfo2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyImage2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_copy_image_info: *const CopyImageInfo2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyBufferToImage2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_copy_buffer_to_image_info: *const CopyBufferToImageInfo2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyImageToBuffer2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_copy_image_to_buffer_info: *const CopyImageToBufferInfo2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBlitImage2 = unsafe extern "system" fn( command_buffer: CommandBuffer, p_blit_image_info: *const BlitImageInfo2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdResolveImage2 = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7046,6 +7411,7 @@ pub const EXT_4444_FORMATS_SPEC_VERSION: u32 = 1u32; pub const EXT_DEVICE_FAULT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_device_fault\0") }; pub const EXT_DEVICE_FAULT_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_device_fault"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceFaultInfoEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7062,9 +7428,11 @@ pub const EXT_RGBA10X6_FORMATS_SPEC_VERSION: u32 = 1u32; pub const NV_ACQUIRE_WINRT_DISPLAY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_acquire_winrt_display\0") }; pub const NV_ACQUIRE_WINRT_DISPLAY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_acquire_winrt_display"] #[allow(non_camel_case_types)] pub type PFN_vkAcquireWinrtDisplayNV = unsafe extern "system" fn(physical_device: PhysicalDevice, display: DisplayKHR) -> Result; +#[doc = "Provided by VK_NV_acquire_winrt_display"] #[allow(non_camel_case_types)] pub type PFN_vkGetWinrtDisplayNV = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -7074,6 +7442,7 @@ pub type PFN_vkGetWinrtDisplayNV = unsafe extern "system" fn( pub const EXT_DIRECTFB_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_directfb_surface\0") }; pub const EXT_DIRECTFB_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_directfb_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDirectFBSurfaceEXT = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -7081,6 +7450,7 @@ pub type PFN_vkCreateDirectFBSurfaceEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_EXT_directfb_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT = unsafe extern "system" fn( @@ -7094,6 +7464,7 @@ pub const VALVE_MUTABLE_DESCRIPTOR_TYPE_SPEC_VERSION: u32 = 1u32; pub const EXT_VERTEX_INPUT_DYNAMIC_STATE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_vertex_input_dynamic_state\0") }; pub const EXT_VERTEX_INPUT_DYNAMIC_STATE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_vertex_input_dynamic_state, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetVertexInputEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7120,12 +7491,14 @@ pub const KHR_FORMAT_FEATURE_FLAGS2_SPEC_VERSION: u32 = 2u32; pub const FUCHSIA_EXTERNAL_MEMORY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_FUCHSIA_external_memory\0") }; pub const FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_FUCHSIA_external_memory"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryZirconHandleFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, p_get_zircon_handle_info: *const MemoryGetZirconHandleInfoFUCHSIA<'_>, p_zircon_handle: *mut zx_handle_t, ) -> Result; +#[doc = "Provided by VK_FUCHSIA_external_memory"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, @@ -7136,11 +7509,13 @@ pub type PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA = unsafe extern "system" f pub const FUCHSIA_EXTERNAL_SEMAPHORE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_FUCHSIA_external_semaphore\0") }; pub const FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] #[allow(non_camel_case_types)] pub type PFN_vkImportSemaphoreZirconHandleFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, p_import_semaphore_zircon_handle_info: *const ImportSemaphoreZirconHandleInfoFUCHSIA<'_>, ) -> Result; +#[doc = "Provided by VK_FUCHSIA_external_semaphore"] #[allow(non_camel_case_types)] pub type PFN_vkGetSemaphoreZirconHandleFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, @@ -7150,6 +7525,7 @@ pub type PFN_vkGetSemaphoreZirconHandleFUCHSIA = unsafe extern "system" fn( pub const FUCHSIA_BUFFER_COLLECTION_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_FUCHSIA_buffer_collection\0") }; pub const FUCHSIA_BUFFER_COLLECTION_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[allow(non_camel_case_types)] pub type PFN_vkCreateBufferCollectionFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, @@ -7157,24 +7533,28 @@ pub type PFN_vkCreateBufferCollectionFUCHSIA = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_collection: *mut BufferCollectionFUCHSIA, ) -> Result; +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[allow(non_camel_case_types)] pub type PFN_vkSetBufferCollectionImageConstraintsFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, collection: BufferCollectionFUCHSIA, p_image_constraints_info: *const ImageConstraintsInfoFUCHSIA<'_>, ) -> Result; +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[allow(non_camel_case_types)] pub type PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, collection: BufferCollectionFUCHSIA, p_buffer_constraints_info: *const BufferConstraintsInfoFUCHSIA<'_>, ) -> Result; +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyBufferCollectionFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, collection: BufferCollectionFUCHSIA, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_FUCHSIA_buffer_collection"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferCollectionPropertiesFUCHSIA = unsafe extern "system" fn( device: crate::vk::Device, @@ -7184,17 +7564,20 @@ pub type PFN_vkGetBufferCollectionPropertiesFUCHSIA = unsafe extern "system" fn( pub const HUAWEI_SUBPASS_SHADING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_HUAWEI_subpass_shading\0") }; pub const HUAWEI_SUBPASS_SHADING_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_HUAWEI_subpass_shading"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = unsafe extern "system" fn( device: crate::vk::Device, renderpass: RenderPass, p_max_workgroup_size: *mut Extent2D, ) -> Result; +#[doc = "Provided by VK_HUAWEI_subpass_shading"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSubpassShadingHUAWEI = unsafe extern "system" fn(command_buffer: CommandBuffer); pub const HUAWEI_INVOCATION_MASK_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_HUAWEI_invocation_mask\0") }; pub const HUAWEI_INVOCATION_MASK_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_HUAWEI_invocation_mask"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindInvocationMaskHUAWEI = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7204,6 +7587,7 @@ pub type PFN_vkCmdBindInvocationMaskHUAWEI = unsafe extern "system" fn( pub const NV_EXTERNAL_MEMORY_RDMA_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_external_memory_rdma\0") }; pub const NV_EXTERNAL_MEMORY_RDMA_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_external_memory_rdma"] #[allow(non_camel_case_types)] pub type PFN_vkGetMemoryRemoteAddressNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -7213,6 +7597,7 @@ pub type PFN_vkGetMemoryRemoteAddressNV = unsafe extern "system" fn( pub const EXT_PIPELINE_PROPERTIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_pipeline_properties\0") }; pub const EXT_PIPELINE_PROPERTIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_pipeline_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelinePropertiesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7229,24 +7614,30 @@ pub const EXT_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_SPEC_VERSION: u32 = 1u32; pub const EXT_EXTENDED_DYNAMIC_STATE2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extended_dynamic_state2\0") }; pub const EXT_EXTENDED_DYNAMIC_STATE2_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_extended_dynamic_state2, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPatchControlPointsEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, patch_control_points: u32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRasterizerDiscardEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, rasterizer_discard_enable: Bool32); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthBiasEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_bias_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state2, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLogicOpEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, logic_op: LogicOp); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPrimitiveRestartEnable = unsafe extern "system" fn(command_buffer: CommandBuffer, primitive_restart_enable: Bool32); pub const QNX_SCREEN_SURFACE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_QNX_screen_surface\0") }; pub const QNX_SCREEN_SURFACE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_QNX_screen_surface"] #[allow(non_camel_case_types)] pub type PFN_vkCreateScreenSurfaceQNX = unsafe extern "system" fn( instance: crate::vk::Instance, @@ -7254,6 +7645,7 @@ pub type PFN_vkCreateScreenSurfaceQNX = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result; +#[doc = "Provided by VK_QNX_screen_surface"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -7263,6 +7655,7 @@ pub type PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX = unsafe extern "sy pub const EXT_COLOR_WRITE_ENABLE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_color_write_enable\0") }; pub const EXT_COLOR_WRITE_ENABLE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_color_write_enable"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetColorWriteEnableEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7275,6 +7668,7 @@ pub const EXT_PRIMITIVES_GENERATED_QUERY_SPEC_VERSION: u32 = 1u32; pub const KHR_RAY_TRACING_MAINTENANCE1_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_ray_tracing_maintenance1\0") }; pub const KHR_RAY_TRACING_MAINTENANCE1_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_ray_tracing_maintenance1"] #[allow(non_camel_case_types)] pub type PFN_vkCmdTraceRaysIndirect2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7289,6 +7683,7 @@ pub const EXT_IMAGE_VIEW_MIN_LOD_SPEC_VERSION: u32 = 1u32; pub const EXT_MULTI_DRAW_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_multi_draw\0") }; pub const EXT_MULTI_DRAW_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_multi_draw"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMultiEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7298,6 +7693,7 @@ pub type PFN_vkCmdDrawMultiEXT = unsafe extern "system" fn( first_instance: u32, stride: u32, ); +#[doc = "Provided by VK_EXT_multi_draw"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawMultiIndexedEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7320,6 +7716,7 @@ pub const EXT_SHADER_TILE_IMAGE_SPEC_VERSION: u32 = 1u32; pub const EXT_OPACITY_MICROMAP_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_opacity_micromap\0") }; pub const EXT_OPACITY_MICROMAP_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCreateMicromapEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7327,18 +7724,21 @@ pub type PFN_vkCreateMicromapEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_micromap: *mut MicromapEXT, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyMicromapEXT = unsafe extern "system" fn( device: crate::vk::Device, micromap: MicromapEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBuildMicromapsEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, info_count: u32, p_infos: *const MicromapBuildInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkBuildMicromapsEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7346,24 +7746,28 @@ pub type PFN_vkBuildMicromapsEXT = unsafe extern "system" fn( info_count: u32, p_infos: *const MicromapBuildInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCopyMicromapEXT = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyMicromapInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCopyMicromapToMemoryEXT = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyMicromapToMemoryInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCopyMemoryToMicromapEXT = unsafe extern "system" fn( device: crate::vk::Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyMemoryToMicromapInfoEXT<'_>, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkWriteMicromapsPropertiesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7374,21 +7778,25 @@ pub type PFN_vkWriteMicromapsPropertiesEXT = unsafe extern "system" fn( p_data: *mut c_void, stride: usize, ) -> Result; +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMicromapEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyMicromapInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMicromapToMemoryEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyMicromapToMemoryInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMemoryToMicromapEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_info: *const CopyMemoryToMicromapInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteMicromapsPropertiesEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7398,12 +7806,14 @@ pub type PFN_vkCmdWriteMicromapsPropertiesEXT = unsafe extern "system" fn( query_pool: QueryPool, first_query: u32, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceMicromapCompatibilityEXT = unsafe extern "system" fn( device: crate::vk::Device, p_version_info: *const MicromapVersionInfoEXT<'_>, p_compatibility: *mut AccelerationStructureCompatibilityKHR, ); +#[doc = "Provided by VK_EXT_opacity_micromap"] #[allow(non_camel_case_types)] pub type PFN_vkGetMicromapBuildSizesEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7420,6 +7830,7 @@ pub const EXT_LOAD_STORE_OP_NONE_SPEC_VERSION: u32 = 1u32; pub const HUAWEI_CLUSTER_CULLING_SHADER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_HUAWEI_cluster_culling_shader\0") }; pub const HUAWEI_CLUSTER_CULLING_SHADER_SPEC_VERSION: u32 = 3u32; +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawClusterHUAWEI = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7427,6 +7838,7 @@ pub type PFN_vkCmdDrawClusterHUAWEI = unsafe extern "system" fn( group_count_y: u32, group_count_z: u32, ); +#[doc = "Provided by VK_HUAWEI_cluster_culling_shader"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawClusterIndirectHUAWEI = unsafe extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize); @@ -7436,24 +7848,28 @@ pub const EXT_BORDER_COLOR_SWIZZLE_SPEC_VERSION: u32 = 1u32; pub const EXT_PAGEABLE_DEVICE_LOCAL_MEMORY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_pageable_device_local_memory\0") }; pub const EXT_PAGEABLE_DEVICE_LOCAL_MEMORY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_pageable_device_local_memory"] #[allow(non_camel_case_types)] pub type PFN_vkSetDeviceMemoryPriorityEXT = unsafe extern "system" fn(device: crate::vk::Device, memory: DeviceMemory, priority: f32); pub const KHR_MAINTENANCE4_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance4\0") }; pub const KHR_MAINTENANCE4_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceBufferMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const DeviceBufferMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceImageMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const DeviceImageMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_VERSION_1_3"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceImageSparseMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, @@ -7476,12 +7892,14 @@ pub const EXT_IMAGE_SLICED_VIEW_OF_3D_SPEC_VERSION: u32 = 1u32; pub const VALVE_DESCRIPTOR_SET_HOST_MAPPING_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_VALVE_descriptor_set_host_mapping\0") }; pub const VALVE_DESCRIPTOR_SET_HOST_MAPPING_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE = unsafe extern "system" fn( device: crate::vk::Device, p_binding_reference: *const DescriptorSetBindingReferenceVALVE<'_>, p_host_mapping: *mut DescriptorSetLayoutHostMappingInfoVALVE<'_>, ); +#[doc = "Provided by VK_VALVE_descriptor_set_host_mapping"] #[allow(non_camel_case_types)] pub type PFN_vkGetDescriptorSetHostMappingVALVE = unsafe extern "system" fn( device: crate::vk::Device, @@ -7503,6 +7921,7 @@ pub const QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION: u32 = 2u32; pub const NV_COPY_MEMORY_INDIRECT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_copy_memory_indirect\0") }; pub const NV_COPY_MEMORY_INDIRECT_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMemoryIndirectNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7510,6 +7929,7 @@ pub type PFN_vkCmdCopyMemoryIndirectNV = unsafe extern "system" fn( copy_count: u32, stride: u32, ); +#[doc = "Provided by VK_NV_copy_memory_indirect"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyMemoryToImageIndirectNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7523,12 +7943,14 @@ pub type PFN_vkCmdCopyMemoryToImageIndirectNV = unsafe extern "system" fn( pub const NV_MEMORY_DECOMPRESSION_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_memory_decompression\0") }; pub const NV_MEMORY_DECOMPRESSION_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_memory_decompression"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDecompressMemoryNV = unsafe extern "system" fn( command_buffer: CommandBuffer, decompress_region_count: u32, p_decompress_memory_regions: *const DecompressMemoryRegionNV, ); +#[doc = "Provided by VK_NV_memory_decompression"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDecompressMemoryIndirectCountNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7539,18 +7961,21 @@ pub type PFN_vkCmdDecompressMemoryIndirectCountNV = unsafe extern "system" fn( pub const NV_DEVICE_GENERATED_COMMANDS_COMPUTE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_device_generated_commands_compute\0") }; pub const NV_DEVICE_GENERATED_COMMANDS_COMPUTE_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineIndirectMemoryRequirementsNV = unsafe extern "system" fn( device: crate::vk::Device, p_create_info: *const ComputePipelineCreateInfo<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[allow(non_camel_case_types)] pub type PFN_vkCmdUpdatePipelineIndirectBufferNV = unsafe extern "system" fn( command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, ); +#[doc = "Provided by VK_NV_device_generated_commands_compute"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineIndirectDeviceAddressNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -7580,32 +8005,40 @@ pub const EXT_EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_SPEC_VERSION: u32 = 1u32; pub const EXT_EXTENDED_DYNAMIC_STATE3_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_extended_dynamic_state3\0") }; pub const EXT_EXTENDED_DYNAMIC_STATE3_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthClampEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_clamp_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetPolygonModeEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, polygon_mode: PolygonMode); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRasterizationSamplesEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, rasterization_samples: SampleCountFlags, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetSampleMaskEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, samples: SampleCountFlags, p_sample_mask: *const SampleMask, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetAlphaToCoverageEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, alpha_to_coverage_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetAlphaToOneEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, alpha_to_one_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLogicOpEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, logic_op_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetColorBlendEnableEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7613,6 +8046,7 @@ pub type PFN_vkCmdSetColorBlendEnableEXT = unsafe extern "system" fn( attachment_count: u32, p_color_blend_enables: *const Bool32, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetColorBlendEquationEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7620,6 +8054,7 @@ pub type PFN_vkCmdSetColorBlendEquationEXT = unsafe extern "system" fn( attachment_count: u32, p_color_blend_equations: *const ColorBlendEquationEXT, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetColorWriteMaskEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7627,30 +8062,37 @@ pub type PFN_vkCmdSetColorWriteMaskEXT = unsafe extern "system" fn( attachment_count: u32, p_color_write_masks: *const ColorComponentFlags, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetTessellationDomainOriginEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, domain_origin: TessellationDomainOrigin, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRasterizationStreamEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, rasterization_stream: u32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetConservativeRasterizationModeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, conservative_rasterization_mode: ConservativeRasterizationModeEXT, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, extra_primitive_overestimation_size: f32, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthClipEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, depth_clip_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetSampleLocationsEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, sample_locations_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetColorBlendAdvancedEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7658,25 +8100,31 @@ pub type PFN_vkCmdSetColorBlendAdvancedEXT = unsafe extern "system" fn( attachment_count: u32, p_color_blend_advanced: *const ColorBlendAdvancedEXT, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetProvokingVertexModeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, provoking_vertex_mode: ProvokingVertexModeEXT, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLineRasterizationModeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, line_rasterization_mode: LineRasterizationModeEXT, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLineStippleEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, stippled_line_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthClipNegativeOneToOneEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, negative_one_to_one: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewportWScalingEnableNV = unsafe extern "system" fn(command_buffer: CommandBuffer, viewport_w_scaling_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewportSwizzleNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7684,36 +8132,44 @@ pub type PFN_vkCmdSetViewportSwizzleNV = unsafe extern "system" fn( viewport_count: u32, p_viewport_swizzles: *const ViewportSwizzleNV, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageToColorEnableNV = unsafe extern "system" fn(command_buffer: CommandBuffer, coverage_to_color_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageToColorLocationNV = unsafe extern "system" fn(command_buffer: CommandBuffer, coverage_to_color_location: u32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageModulationModeNV = unsafe extern "system" fn( command_buffer: CommandBuffer, coverage_modulation_mode: CoverageModulationModeNV, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageModulationTableEnableNV = unsafe extern "system" fn( command_buffer: CommandBuffer, coverage_modulation_table_enable: Bool32, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageModulationTableNV = unsafe extern "system" fn( command_buffer: CommandBuffer, coverage_modulation_table_count: u32, p_coverage_modulation_table: *const f32, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetShadingRateImageEnableNV = unsafe extern "system" fn(command_buffer: CommandBuffer, shading_rate_image_enable: Bool32); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetRepresentativeFragmentTestEnableNV = unsafe extern "system" fn( command_buffer: CommandBuffer, representative_fragment_test_enable: Bool32, ); +#[doc = "Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetCoverageReductionModeNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7728,12 +8184,14 @@ pub const LUNARG_DIRECT_DRIVER_LOADING_SPEC_VERSION: u32 = 1u32; pub const EXT_SHADER_MODULE_IDENTIFIER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_shader_module_identifier\0") }; pub const EXT_SHADER_MODULE_IDENTIFIER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[allow(non_camel_case_types)] pub type PFN_vkGetShaderModuleIdentifierEXT = unsafe extern "system" fn( device: crate::vk::Device, shader_module: ShaderModule, p_identifier: *mut ShaderModuleIdentifierEXT<'_>, ); +#[doc = "Provided by VK_EXT_shader_module_identifier"] #[allow(non_camel_case_types)] pub type PFN_vkGetShaderModuleCreateInfoIdentifierEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7747,6 +8205,7 @@ pub const EXT_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_SPEC_VERSION: u32 = 1u32; pub const NV_OPTICAL_FLOW_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_optical_flow\0") }; pub const NV_OPTICAL_FLOW_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_NV_optical_flow"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -7754,6 +8213,7 @@ pub type PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV = unsafe extern "syste p_format_count: *mut u32, p_image_format_properties: *mut OpticalFlowImageFormatPropertiesNV<'_>, ) -> Result; +#[doc = "Provided by VK_NV_optical_flow"] #[allow(non_camel_case_types)] pub type PFN_vkCreateOpticalFlowSessionNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -7761,12 +8221,14 @@ pub type PFN_vkCreateOpticalFlowSessionNV = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_session: *mut OpticalFlowSessionNV, ) -> Result; +#[doc = "Provided by VK_NV_optical_flow"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyOpticalFlowSessionNV = unsafe extern "system" fn( device: crate::vk::Device, session: OpticalFlowSessionNV, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_NV_optical_flow"] #[allow(non_camel_case_types)] pub type PFN_vkBindOpticalFlowSessionImageNV = unsafe extern "system" fn( device: crate::vk::Device, @@ -7775,6 +8237,7 @@ pub type PFN_vkBindOpticalFlowSessionImageNV = unsafe extern "system" fn( view: ImageView, layout: ImageLayout, ) -> Result; +#[doc = "Provided by VK_NV_optical_flow"] #[allow(non_camel_case_types)] pub type PFN_vkCmdOpticalFlowExecuteNV = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7793,6 +8256,7 @@ pub const ANDROID_EXTERNAL_FORMAT_RESOLVE_SPEC_VERSION: u32 = 1u32; pub const KHR_MAINTENANCE5_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance5\0") }; pub const KHR_MAINTENANCE5_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_maintenance5"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindIndexBuffer2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7801,12 +8265,14 @@ pub type PFN_vkCmdBindIndexBuffer2KHR = unsafe extern "system" fn( size: DeviceSize, index_type: IndexType, ); +#[doc = "Provided by VK_KHR_maintenance5"] #[allow(non_camel_case_types)] pub type PFN_vkGetRenderingAreaGranularityKHR = unsafe extern "system" fn( device: crate::vk::Device, p_rendering_area_info: *const RenderingAreaInfoKHR<'_>, p_granularity: *mut Extent2D, ); +#[doc = "Provided by VK_KHR_maintenance5"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceImageSubresourceLayoutKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -7816,6 +8282,7 @@ pub type PFN_vkGetDeviceImageSubresourceLayoutKHR = unsafe extern "system" fn( pub const AMD_ANTI_LAG_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_AMD_anti_lag\0") }; pub const AMD_ANTI_LAG_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_AMD_anti_lag"] #[allow(non_camel_case_types)] pub type PFN_vkAntiLagUpdateAMD = unsafe extern "system" fn(device: crate::vk::Device, p_data: *const AntiLagDataAMD<'_>); @@ -7825,6 +8292,7 @@ pub const KHR_RAY_TRACING_POSITION_FETCH_SPEC_VERSION: u32 = 1u32; pub const EXT_SHADER_OBJECT_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_shader_object\0") }; pub const EXT_SHADER_OBJECT_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCreateShadersEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7833,12 +8301,14 @@ pub type PFN_vkCreateShadersEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_shaders: *mut ShaderEXT, ) -> Result; +#[doc = "Provided by VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyShaderEXT = unsafe extern "system" fn( device: crate::vk::Device, shader: ShaderEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkGetShaderBinaryDataEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -7846,6 +8316,7 @@ pub type PFN_vkGetShaderBinaryDataEXT = unsafe extern "system" fn( p_data_size: *mut usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_EXT_shader_object"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindShadersEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7853,6 +8324,7 @@ pub type PFN_vkCmdBindShadersEXT = unsafe extern "system" fn( p_stages: *const ShaderStageFlags, p_shaders: *const ShaderEXT, ); +#[doc = "Provided by VK_EXT_shader_object, VK_EXT_depth_clamp_control"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthClampRangeEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -7862,6 +8334,7 @@ pub type PFN_vkCmdSetDepthClampRangeEXT = unsafe extern "system" fn( pub const KHR_PIPELINE_BINARY_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_pipeline_binary\0") }; pub const KHR_PIPELINE_BINARY_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_pipeline_binary"] #[allow(non_camel_case_types)] pub type PFN_vkCreatePipelineBinariesKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -7869,18 +8342,21 @@ pub type PFN_vkCreatePipelineBinariesKHR = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_binaries: *mut PipelineBinaryHandlesInfoKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_pipeline_binary"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyPipelineBinaryKHR = unsafe extern "system" fn( device: crate::vk::Device, pipeline_binary: PipelineBinaryKHR, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_KHR_pipeline_binary"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineKeyKHR = unsafe extern "system" fn( device: crate::vk::Device, p_pipeline_create_info: *const PipelineCreateInfoKHR<'_>, p_pipeline_key: *mut PipelineBinaryKeyKHR<'_>, ) -> Result; +#[doc = "Provided by VK_KHR_pipeline_binary"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineBinaryDataKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -7889,6 +8365,7 @@ pub type PFN_vkGetPipelineBinaryDataKHR = unsafe extern "system" fn( p_pipeline_binary_data_size: *mut usize, p_pipeline_binary_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_KHR_pipeline_binary"] #[allow(non_camel_case_types)] pub type PFN_vkReleaseCapturedPipelineDataKHR = unsafe extern "system" fn( device: crate::vk::Device, @@ -7898,6 +8375,7 @@ pub type PFN_vkReleaseCapturedPipelineDataKHR = unsafe extern "system" fn( pub const QCOM_TILE_PROPERTIES_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_QCOM_tile_properties\0") }; pub const QCOM_TILE_PROPERTIES_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_QCOM_tile_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetFramebufferTilePropertiesQCOM = unsafe extern "system" fn( device: crate::vk::Device, @@ -7905,6 +8383,7 @@ pub type PFN_vkGetFramebufferTilePropertiesQCOM = unsafe extern "system" fn( p_properties_count: *mut u32, p_properties: *mut TilePropertiesQCOM<'_>, ) -> Result; +#[doc = "Provided by VK_QCOM_tile_properties"] #[allow(non_camel_case_types)] pub type PFN_vkGetDynamicRenderingTilePropertiesQCOM = unsafe extern "system" fn( device: crate::vk::Device, @@ -7945,36 +8424,42 @@ pub const EXT_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_SPEC_VERSION: u32 = 1u32; pub const NV_LOW_LATENCY2_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_low_latency2\0") }; pub const NV_LOW_LATENCY2_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_NV_low_latency2"] #[allow(non_camel_case_types)] pub type PFN_vkSetLatencySleepModeNV = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_sleep_mode_info: *const LatencySleepModeInfoNV<'_>, ) -> Result; +#[doc = "Provided by VK_NV_low_latency2"] #[allow(non_camel_case_types)] pub type PFN_vkLatencySleepNV = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_sleep_info: *const LatencySleepInfoNV<'_>, ) -> Result; +#[doc = "Provided by VK_NV_low_latency2"] #[allow(non_camel_case_types)] pub type PFN_vkSetLatencyMarkerNV = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_latency_marker_info: *const SetLatencyMarkerInfoNV<'_>, ); +#[doc = "Provided by VK_NV_low_latency2"] #[allow(non_camel_case_types)] pub type PFN_vkGetLatencyTimingsNV = unsafe extern "system" fn( device: crate::vk::Device, swapchain: SwapchainKHR, p_latency_marker_info: *mut GetLatencyMarkerInfoNV<'_>, ); +#[doc = "Provided by VK_NV_low_latency2"] #[allow(non_camel_case_types)] pub type PFN_vkQueueNotifyOutOfBandNV = unsafe extern "system" fn(queue: Queue, p_queue_type_info: *const OutOfBandQueueTypeInfoNV<'_>); pub const KHR_COOPERATIVE_MATRIX_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_cooperative_matrix\0") }; pub const KHR_COOPERATIVE_MATRIX_SPEC_VERSION: u32 = 2u32; +#[doc = "Provided by VK_KHR_cooperative_matrix"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR = unsafe extern "system" fn( @@ -8013,6 +8498,7 @@ pub const EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_attachment_feedback_loop_dynamic_state\0") }; pub const EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_attachment_feedback_loop_dynamic_state"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT = unsafe extern "system" fn(command_buffer: CommandBuffer, aspect_mask: ImageAspectFlags); @@ -8028,6 +8514,7 @@ pub const KHR_SHADER_FLOAT_CONTROLS2_SPEC_VERSION: u32 = 1u32; pub const QNX_EXTERNAL_MEMORY_SCREEN_BUFFER_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_QNX_external_memory_screen_buffer\0") }; pub const QNX_EXTERNAL_MEMORY_SCREEN_BUFFER_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_QNX_external_memory_screen_buffer"] #[allow(non_camel_case_types)] pub type PFN_vkGetScreenBufferPropertiesQNX = unsafe extern "system" fn( device: crate::vk::Device, @@ -8052,31 +8539,37 @@ pub const KHR_SHADER_EXPECT_ASSUME_SPEC_VERSION: u32 = 1u32; pub const KHR_MAINTENANCE6_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance6\0") }; pub const KHR_MAINTENANCE6_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindDescriptorSets2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_bind_descriptor_sets_info: *const BindDescriptorSetsInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushConstants2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_push_constants_info: *const PushConstantsInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushDescriptorSet2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_push_descriptor_set_info: *const PushDescriptorSetInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushDescriptorSetWithTemplate2KHR = unsafe extern "system" fn( command_buffer: CommandBuffer, p_push_descriptor_set_with_template_info: *const PushDescriptorSetWithTemplateInfoKHR<'_>, ); +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDescriptorBufferOffsets2EXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_set_descriptor_buffer_offsets_info: *const SetDescriptorBufferOffsetsInfoEXT<'_>, ); +#[doc = "Provided by VK_KHR_maintenance6"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindDescriptorBufferEmbeddedSamplers2EXT = unsafe extern "system" fn (command_buffer : CommandBuffer , p_bind_descriptor_buffer_embedded_samplers_info : * const BindDescriptorBufferEmbeddedSamplersInfoEXT < '_ > ,) ; pub const NV_DESCRIPTOR_POOL_OVERALLOCATION_NAME: &CStr = @@ -8106,24 +8599,28 @@ pub const NV_RAY_TRACING_VALIDATION_SPEC_VERSION: u32 = 1u32; pub const EXT_DEVICE_GENERATED_COMMANDS_NAME: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_device_generated_commands\0") }; pub const EXT_DEVICE_GENERATED_COMMANDS_SPEC_VERSION: u32 = 1u32; +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkGetGeneratedCommandsMemoryRequirementsEXT = unsafe extern "system" fn( device: crate::vk::Device, p_info: *const GeneratedCommandsMemoryRequirementsInfoEXT<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPreprocessGeneratedCommandsEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoEXT<'_>, state_command_buffer: CommandBuffer, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCmdExecuteGeneratedCommandsEXT = unsafe extern "system" fn( command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoEXT<'_>, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCreateIndirectCommandsLayoutEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -8131,12 +8628,14 @@ pub type PFN_vkCreateIndirectCommandsLayoutEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutEXT, ) -> Result; +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyIndirectCommandsLayoutEXT = unsafe extern "system" fn( device: crate::vk::Device, indirect_commands_layout: IndirectCommandsLayoutEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkCreateIndirectExecutionSetEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -8144,12 +8643,14 @@ pub type PFN_vkCreateIndirectExecutionSetEXT = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_indirect_execution_set: *mut IndirectExecutionSetEXT, ) -> Result; +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyIndirectExecutionSetEXT = unsafe extern "system" fn( device: crate::vk::Device, indirect_execution_set: IndirectExecutionSetEXT, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkUpdateIndirectExecutionSetPipelineEXT = unsafe extern "system" fn( device: crate::vk::Device, @@ -8157,6 +8658,7 @@ pub type PFN_vkUpdateIndirectExecutionSetPipelineEXT = unsafe extern "system" fn execution_set_write_count: u32, p_execution_set_writes: *const WriteIndirectExecutionSetPipelineEXT<'_>, ); +#[doc = "Provided by VK_EXT_device_generated_commands"] #[allow(non_camel_case_types)] pub type PFN_vkUpdateIndirectExecutionSetShaderEXT = unsafe extern "system" fn( device: crate::vk::Device, diff --git a/ash/src/vk/feature_extensions.rs b/ash/src/vk/feature_extensions.rs index f82b567bc..f503ac64f 100644 --- a/ash/src/vk/feature_extensions.rs +++ b/ash/src/vk/feature_extensions.rs @@ -1,27 +1,27 @@ use super::bitflags::*; use super::enums::*; -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl BufferCreateFlags { #[doc = "Buffer requires protected memory"] pub const PROTECTED: Self = Self(0b1000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl CommandPoolCreateFlags { #[doc = "Command buffers allocated from pool are protected command buffers"] pub const PROTECTED: Self = Self(0b100); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl DependencyFlags { #[doc = "Dependency is across devices"] pub const DEVICE_GROUP: Self = Self(0b100); pub const VIEW_LOCAL: Self = Self(0b10); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl DeviceQueueCreateFlags { #[doc = "Queue is a protected-capable device queue"] pub const PROTECTED: Self = Self(0b1); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl Format { pub const G8B8G8R8_422_UNORM: Self = Self(1_000_156_000); pub const B8G8R8G8_422_UNORM: Self = Self(1_000_156_001); @@ -58,7 +58,7 @@ impl Format { pub const G16_B16R16_2PLANE_422_UNORM: Self = Self(1_000_156_032); pub const G16_B16_R16_3PLANE_444_UNORM: Self = Self(1_000_156_033); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl FormatFeatureFlags { #[doc = "Format can be used as the source image of image transfer commands"] pub const TRANSFER_SRC: Self = Self(0b100_0000_0000_0000); @@ -80,13 +80,13 @@ impl FormatFeatureFlags { #[doc = "Format can have cosited rather than midpoint chroma samples"] pub const COSITED_CHROMA_SAMPLES: Self = Self(0b1000_0000_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl ImageAspectFlags { pub const PLANE_0: Self = Self(0b1_0000); pub const PLANE_1: Self = Self(0b10_0000); pub const PLANE_2: Self = Self(0b100_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl ImageCreateFlags { pub const ALIAS: Self = Self(0b100_0000_0000); #[doc = "Allows using VkBindImageMemoryDeviceGroupInfo::pSplitInstanceBindRegions when binding memory to the image"] @@ -99,42 +99,42 @@ impl ImageCreateFlags { pub const PROTECTED: Self = Self(0b1000_0000_0000); pub const DISJOINT: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl ImageLayout { pub const DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(1_000_117_000); pub const DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL: Self = Self(1_000_117_001); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl MemoryHeapFlags { #[doc = "If set, heap allocations allocate multiple instances by default"] pub const MULTI_INSTANCE: Self = Self(0b10); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl MemoryPropertyFlags { #[doc = "Memory is protected"] pub const PROTECTED: Self = Self(0b10_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl ObjectType { pub const SAMPLER_YCBCR_CONVERSION: Self = Self(1_000_156_000); pub const DESCRIPTOR_UPDATE_TEMPLATE: Self = Self(1_000_085_000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl PipelineCreateFlags { pub const VIEW_INDEX_FROM_DEVICE_INDEX: Self = Self(0b1000); pub const DISPATCH_BASE: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl QueueFlags { #[doc = "Queues may support protected operations"] pub const PROTECTED: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl Result { pub const ERROR_OUT_OF_POOL_MEMORY: Self = Self(-1_000_069_000); pub const ERROR_INVALID_EXTERNAL_HANDLE: Self = Self(-1_000_072_003); } -#[doc = "Generated from 'VK_VERSION_1_1'"] +#[doc = "Provided by VK_VERSION_1_1"] impl StructureType { pub const PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: Self = Self(1_000_094_000); pub const BIND_BUFFER_MEMORY_INFO: Self = Self(1_000_157_000); @@ -206,49 +206,49 @@ impl StructureType { pub const PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: Self = Self::PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES; } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl BufferCreateFlags { pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = Self(0b1_0000); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl BufferUsageFlags { pub const SHADER_DEVICE_ADDRESS: Self = Self(0b10_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl DescriptorPoolCreateFlags { pub const UPDATE_AFTER_BIND: Self = Self(0b10); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl DescriptorSetLayoutCreateFlags { pub const UPDATE_AFTER_BIND_POOL: Self = Self(0b10); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl FormatFeatureFlags { #[doc = "Format can be used with min/max reduction filtering"] pub const SAMPLED_IMAGE_FILTER_MINMAX: Self = Self(0b1_0000_0000_0000_0000); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl FramebufferCreateFlags { pub const IMAGELESS: Self = Self(0b1); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl ImageLayout { pub const DEPTH_ATTACHMENT_OPTIMAL: Self = Self(1_000_241_000); pub const DEPTH_READ_ONLY_OPTIMAL: Self = Self(1_000_241_001); pub const STENCIL_ATTACHMENT_OPTIMAL: Self = Self(1_000_241_002); pub const STENCIL_READ_ONLY_OPTIMAL: Self = Self(1_000_241_003); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl MemoryAllocateFlags { pub const DEVICE_ADDRESS: Self = Self(0b10); pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = Self(0b100); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl Result { pub const ERROR_FRAGMENTATION: Self = Self(-1_000_161_000); pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self = Self(-1_000_257_000); } -#[doc = "Generated from 'VK_VERSION_1_2'"] +#[doc = "Provided by VK_VERSION_1_2"] impl StructureType { pub const PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: Self = Self(49); pub const PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: Self = Self(50); @@ -301,19 +301,19 @@ impl StructureType { pub const MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: Self = Self(1_000_257_003); pub const DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO: Self = Self(1_000_257_004); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl AccessFlags { pub const NONE: Self = Self(0); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl AttachmentStoreOp { pub const NONE: Self = Self(1_000_301_000); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl DescriptorType { pub const INLINE_UNIFORM_BLOCK: Self = Self(1_000_138_000); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl DynamicState { pub const CULL_MODE: Self = Self(1_000_267_000); pub const FRONT_FACE: Self = Self(1_000_267_001); @@ -331,11 +331,11 @@ impl DynamicState { pub const DEPTH_BIAS_ENABLE: Self = Self(1_000_377_002); pub const PRIMITIVE_RESTART_ENABLE: Self = Self(1_000_377_004); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl EventCreateFlags { pub const DEVICE_ONLY: Self = Self(0b1); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl Format { pub const G8_B8R8_2PLANE_444_UNORM: Self = Self(1_000_330_000); pub const G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16: Self = Self(1_000_330_001); @@ -358,42 +358,42 @@ impl Format { pub const ASTC_12X10_SFLOAT_BLOCK: Self = Self(1_000_066_012); pub const ASTC_12X12_SFLOAT_BLOCK: Self = Self(1_000_066_013); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl ImageAspectFlags { pub const NONE: Self = Self(0); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl ImageLayout { pub const READ_ONLY_OPTIMAL: Self = Self(1_000_314_000); pub const ATTACHMENT_OPTIMAL: Self = Self(1_000_314_001); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl ObjectType { pub const PRIVATE_DATA_SLOT: Self = Self(1_000_295_000); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl PipelineCacheCreateFlags { pub const EXTERNALLY_SYNCHRONIZED: Self = Self(0b1); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl PipelineCreateFlags { pub const FAIL_ON_PIPELINE_COMPILE_REQUIRED: Self = Self(0b1_0000_0000); pub const EARLY_RETURN_ON_FAILURE: Self = Self(0b10_0000_0000); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl PipelineShaderStageCreateFlags { pub const ALLOW_VARYING_SUBGROUP_SIZE: Self = Self(0b1); pub const REQUIRE_FULL_SUBGROUPS: Self = Self(0b10); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl PipelineStageFlags { pub const NONE: Self = Self(0); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl Result { pub const PIPELINE_COMPILE_REQUIRED: Self = Self(1_000_297_000); } -#[doc = "Generated from 'VK_VERSION_1_3'"] +#[doc = "Provided by VK_VERSION_1_3"] impl StructureType { pub const PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: Self = Self(53); pub const PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: Self = Self(54); diff --git a/ash/src/vk/features.rs b/ash/src/vk/features.rs index 73e9a3346..87b7c7550 100644 --- a/ash/src/vk/features.rs +++ b/ash/src/vk/features.rs @@ -2,50 +2,59 @@ use super::bitflags::*; use super::definitions::*; use super::enums::*; use core::ffi::*; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetInstanceProcAddr = unsafe extern "system" fn( instance: crate::vk::Instance, p_name: *const c_char, ) -> PFN_vkVoidFunction; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateInstance = unsafe extern "system" fn( p_create_info: *const InstanceCreateInfo<'_>, p_allocator: *const AllocationCallbacks, p_instance: *mut crate::vk::Instance, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEnumerateInstanceExtensionProperties = unsafe extern "system" fn( p_layer_name: *const c_char, p_property_count: *mut u32, p_properties: *mut ExtensionProperties, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEnumerateInstanceLayerProperties = unsafe extern "system" fn( p_property_count: *mut u32, p_properties: *mut LayerProperties, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyInstance = unsafe extern "system" fn( instance: crate::vk::Instance, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEnumeratePhysicalDevices = unsafe extern "system" fn( instance: crate::vk::Instance, p_physical_device_count: *mut u32, p_physical_devices: *mut PhysicalDevice, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceFeatures = unsafe extern "system" fn( physical_device: PhysicalDevice, p_features: *mut PhysicalDeviceFeatures, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceFormatProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, format: Format, p_format_properties: *mut FormatProperties, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceImageFormatProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -56,27 +65,32 @@ pub type PFN_vkGetPhysicalDeviceImageFormatProperties = unsafe extern "system" f flags: ImageCreateFlags, p_image_format_properties: *mut ImageFormatProperties, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, p_properties: *mut PhysicalDeviceProperties, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, p_queue_family_property_count: *mut u32, p_queue_family_properties: *mut QueueFamilyProperties, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceMemoryProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, p_memory_properties: *mut PhysicalDeviceMemoryProperties, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceProcAddr = unsafe extern "system" fn( device: crate::vk::Device, p_name: *const c_char, ) -> PFN_vkVoidFunction; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDevice = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -84,6 +98,7 @@ pub type PFN_vkCreateDevice = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_device: *mut crate::vk::Device, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEnumerateDeviceExtensionProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -91,12 +106,14 @@ pub type PFN_vkEnumerateDeviceExtensionProperties = unsafe extern "system" fn( p_property_count: *mut u32, p_properties: *mut ExtensionProperties, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEnumerateDeviceLayerProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut LayerProperties, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties = unsafe extern "system" fn( physical_device: PhysicalDevice, @@ -108,9 +125,11 @@ pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties = unsafe extern "sys p_property_count: *mut u32, p_properties: *mut SparseImageFormatProperties, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDevice = unsafe extern "system" fn(device: crate::vk::Device, p_allocator: *const AllocationCallbacks); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceQueue = unsafe extern "system" fn( device: crate::vk::Device, @@ -118,6 +137,7 @@ pub type PFN_vkGetDeviceQueue = unsafe extern "system" fn( queue_index: u32, p_queue: *mut Queue, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkQueueSubmit = unsafe extern "system" fn( queue: Queue, @@ -125,10 +145,13 @@ pub type PFN_vkQueueSubmit = unsafe extern "system" fn( p_submits: *const SubmitInfo<'_>, fence: Fence, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkQueueWaitIdle = unsafe extern "system" fn(queue: Queue) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDeviceWaitIdle = unsafe extern "system" fn(device: crate::vk::Device) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkAllocateMemory = unsafe extern "system" fn( device: crate::vk::Device, @@ -136,12 +159,14 @@ pub type PFN_vkAllocateMemory = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_memory: *mut DeviceMemory, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkFreeMemory = unsafe extern "system" fn( device: crate::vk::Device, memory: DeviceMemory, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkMapMemory = unsafe extern "system" fn( device: crate::vk::Device, @@ -151,27 +176,32 @@ pub type PFN_vkMapMemory = unsafe extern "system" fn( flags: MemoryMapFlags, pp_data: *mut *mut c_void, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkUnmapMemory = unsafe extern "system" fn(device: crate::vk::Device, memory: DeviceMemory); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkFlushMappedMemoryRanges = unsafe extern "system" fn( device: crate::vk::Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange<'_>, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkInvalidateMappedMemoryRanges = unsafe extern "system" fn( device: crate::vk::Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange<'_>, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceMemoryCommitment = unsafe extern "system" fn( device: crate::vk::Device, memory: DeviceMemory, p_committed_memory_in_bytes: *mut DeviceSize, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkBindBufferMemory = unsafe extern "system" fn( device: crate::vk::Device, @@ -179,6 +209,7 @@ pub type PFN_vkBindBufferMemory = unsafe extern "system" fn( memory: DeviceMemory, memory_offset: DeviceSize, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkBindImageMemory = unsafe extern "system" fn( device: crate::vk::Device, @@ -186,18 +217,21 @@ pub type PFN_vkBindImageMemory = unsafe extern "system" fn( memory: DeviceMemory, memory_offset: DeviceSize, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetBufferMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, buffer: Buffer, p_memory_requirements: *mut MemoryRequirements, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, image: Image, p_memory_requirements: *mut MemoryRequirements, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageSparseMemoryRequirements = unsafe extern "system" fn( device: crate::vk::Device, @@ -205,6 +239,7 @@ pub type PFN_vkGetImageSparseMemoryRequirements = unsafe extern "system" fn( p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkQueueBindSparse = unsafe extern "system" fn( queue: Queue, @@ -212,6 +247,7 @@ pub type PFN_vkQueueBindSparse = unsafe extern "system" fn( p_bind_info: *const BindSparseInfo<'_>, fence: Fence, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateFence = unsafe extern "system" fn( device: crate::vk::Device, @@ -219,21 +255,25 @@ pub type PFN_vkCreateFence = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyFence = unsafe extern "system" fn( device: crate::vk::Device, fence: Fence, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkResetFences = unsafe extern "system" fn( device: crate::vk::Device, fence_count: u32, p_fences: *const Fence, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetFenceStatus = unsafe extern "system" fn(device: crate::vk::Device, fence: Fence) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkWaitForFences = unsafe extern "system" fn( device: crate::vk::Device, @@ -242,6 +282,7 @@ pub type PFN_vkWaitForFences = unsafe extern "system" fn( wait_all: Bool32, timeout: u64, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateSemaphore = unsafe extern "system" fn( device: crate::vk::Device, @@ -249,12 +290,14 @@ pub type PFN_vkCreateSemaphore = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_semaphore: *mut Semaphore, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroySemaphore = unsafe extern "system" fn( device: crate::vk::Device, semaphore: Semaphore, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateEvent = unsafe extern "system" fn( device: crate::vk::Device, @@ -262,21 +305,26 @@ pub type PFN_vkCreateEvent = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_event: *mut Event, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyEvent = unsafe extern "system" fn( device: crate::vk::Device, event: Event, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetEventStatus = unsafe extern "system" fn(device: crate::vk::Device, event: Event) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkSetEvent = unsafe extern "system" fn(device: crate::vk::Device, event: Event) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkResetEvent = unsafe extern "system" fn(device: crate::vk::Device, event: Event) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateQueryPool = unsafe extern "system" fn( device: crate::vk::Device, @@ -284,12 +332,14 @@ pub type PFN_vkCreateQueryPool = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_query_pool: *mut QueryPool, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyQueryPool = unsafe extern "system" fn( device: crate::vk::Device, query_pool: QueryPool, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetQueryPoolResults = unsafe extern "system" fn( device: crate::vk::Device, @@ -301,6 +351,7 @@ pub type PFN_vkGetQueryPoolResults = unsafe extern "system" fn( stride: DeviceSize, flags: QueryResultFlags, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateBuffer = unsafe extern "system" fn( device: crate::vk::Device, @@ -308,12 +359,14 @@ pub type PFN_vkCreateBuffer = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_buffer: *mut Buffer, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyBuffer = unsafe extern "system" fn( device: crate::vk::Device, buffer: Buffer, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateBufferView = unsafe extern "system" fn( device: crate::vk::Device, @@ -321,12 +374,14 @@ pub type PFN_vkCreateBufferView = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_view: *mut BufferView, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyBufferView = unsafe extern "system" fn( device: crate::vk::Device, buffer_view: BufferView, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateImage = unsafe extern "system" fn( device: crate::vk::Device, @@ -334,12 +389,14 @@ pub type PFN_vkCreateImage = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_image: *mut Image, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyImage = unsafe extern "system" fn( device: crate::vk::Device, image: Image, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetImageSubresourceLayout = unsafe extern "system" fn( device: crate::vk::Device, @@ -347,6 +404,7 @@ pub type PFN_vkGetImageSubresourceLayout = unsafe extern "system" fn( p_subresource: *const ImageSubresource, p_layout: *mut SubresourceLayout, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateImageView = unsafe extern "system" fn( device: crate::vk::Device, @@ -354,12 +412,14 @@ pub type PFN_vkCreateImageView = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_view: *mut ImageView, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyImageView = unsafe extern "system" fn( device: crate::vk::Device, image_view: ImageView, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateShaderModule = unsafe extern "system" fn( device: crate::vk::Device, @@ -367,12 +427,14 @@ pub type PFN_vkCreateShaderModule = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_shader_module: *mut ShaderModule, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyShaderModule = unsafe extern "system" fn( device: crate::vk::Device, shader_module: ShaderModule, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreatePipelineCache = unsafe extern "system" fn( device: crate::vk::Device, @@ -380,12 +442,14 @@ pub type PFN_vkCreatePipelineCache = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipeline_cache: *mut PipelineCache, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyPipelineCache = unsafe extern "system" fn( device: crate::vk::Device, pipeline_cache: PipelineCache, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineCacheData = unsafe extern "system" fn( device: crate::vk::Device, @@ -393,6 +457,7 @@ pub type PFN_vkGetPipelineCacheData = unsafe extern "system" fn( p_data_size: *mut usize, p_data: *mut c_void, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkMergePipelineCaches = unsafe extern "system" fn( device: crate::vk::Device, @@ -400,6 +465,7 @@ pub type PFN_vkMergePipelineCaches = unsafe extern "system" fn( src_cache_count: u32, p_src_caches: *const PipelineCache, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateGraphicsPipelines = unsafe extern "system" fn( device: crate::vk::Device, @@ -409,6 +475,7 @@ pub type PFN_vkCreateGraphicsPipelines = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateComputePipelines = unsafe extern "system" fn( device: crate::vk::Device, @@ -418,12 +485,14 @@ pub type PFN_vkCreateComputePipelines = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyPipeline = unsafe extern "system" fn( device: crate::vk::Device, pipeline: Pipeline, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreatePipelineLayout = unsafe extern "system" fn( device: crate::vk::Device, @@ -431,12 +500,14 @@ pub type PFN_vkCreatePipelineLayout = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_pipeline_layout: *mut PipelineLayout, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyPipelineLayout = unsafe extern "system" fn( device: crate::vk::Device, pipeline_layout: PipelineLayout, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateSampler = unsafe extern "system" fn( device: crate::vk::Device, @@ -444,12 +515,14 @@ pub type PFN_vkCreateSampler = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_sampler: *mut Sampler, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroySampler = unsafe extern "system" fn( device: crate::vk::Device, sampler: Sampler, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDescriptorSetLayout = unsafe extern "system" fn( device: crate::vk::Device, @@ -457,12 +530,14 @@ pub type PFN_vkCreateDescriptorSetLayout = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_set_layout: *mut DescriptorSetLayout, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDescriptorSetLayout = unsafe extern "system" fn( device: crate::vk::Device, descriptor_set_layout: DescriptorSetLayout, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateDescriptorPool = unsafe extern "system" fn( device: crate::vk::Device, @@ -470,24 +545,28 @@ pub type PFN_vkCreateDescriptorPool = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_descriptor_pool: *mut DescriptorPool, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyDescriptorPool = unsafe extern "system" fn( device: crate::vk::Device, descriptor_pool: DescriptorPool, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkResetDescriptorPool = unsafe extern "system" fn( device: crate::vk::Device, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkAllocateDescriptorSets = unsafe extern "system" fn( device: crate::vk::Device, p_allocate_info: *const DescriptorSetAllocateInfo<'_>, p_descriptor_sets: *mut DescriptorSet, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkFreeDescriptorSets = unsafe extern "system" fn( device: crate::vk::Device, @@ -495,6 +574,7 @@ pub type PFN_vkFreeDescriptorSets = unsafe extern "system" fn( descriptor_set_count: u32, p_descriptor_sets: *const DescriptorSet, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkUpdateDescriptorSets = unsafe extern "system" fn( device: crate::vk::Device, @@ -503,6 +583,7 @@ pub type PFN_vkUpdateDescriptorSets = unsafe extern "system" fn( descriptor_copy_count: u32, p_descriptor_copies: *const CopyDescriptorSet<'_>, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateFramebuffer = unsafe extern "system" fn( device: crate::vk::Device, @@ -510,12 +591,14 @@ pub type PFN_vkCreateFramebuffer = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_framebuffer: *mut Framebuffer, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyFramebuffer = unsafe extern "system" fn( device: crate::vk::Device, framebuffer: Framebuffer, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateRenderPass = unsafe extern "system" fn( device: crate::vk::Device, @@ -523,18 +606,21 @@ pub type PFN_vkCreateRenderPass = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyRenderPass = unsafe extern "system" fn( device: crate::vk::Device, render_pass: RenderPass, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkGetRenderAreaGranularity = unsafe extern "system" fn( device: crate::vk::Device, render_pass: RenderPass, p_granularity: *mut Extent2D, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCreateCommandPool = unsafe extern "system" fn( device: crate::vk::Device, @@ -542,24 +628,28 @@ pub type PFN_vkCreateCommandPool = unsafe extern "system" fn( p_allocator: *const AllocationCallbacks, p_command_pool: *mut CommandPool, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkDestroyCommandPool = unsafe extern "system" fn( device: crate::vk::Device, command_pool: CommandPool, p_allocator: *const AllocationCallbacks, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkResetCommandPool = unsafe extern "system" fn( device: crate::vk::Device, command_pool: CommandPool, flags: CommandPoolResetFlags, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkAllocateCommandBuffers = unsafe extern "system" fn( device: crate::vk::Device, p_allocate_info: *const CommandBufferAllocateInfo<'_>, p_command_buffers: *mut CommandBuffer, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkFreeCommandBuffers = unsafe extern "system" fn( device: crate::vk::Device, @@ -567,25 +657,30 @@ pub type PFN_vkFreeCommandBuffers = unsafe extern "system" fn( command_buffer_count: u32, p_command_buffers: *const CommandBuffer, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkBeginCommandBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, p_begin_info: *const CommandBufferBeginInfo<'_>, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkEndCommandBuffer = unsafe extern "system" fn(command_buffer: CommandBuffer) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkResetCommandBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, flags: CommandBufferResetFlags, ) -> Result; +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindPipeline = unsafe extern "system" fn( command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetViewport = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -593,6 +688,7 @@ pub type PFN_vkCmdSetViewport = unsafe extern "system" fn( viewport_count: u32, p_viewports: *const Viewport, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetScissor = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -600,9 +696,11 @@ pub type PFN_vkCmdSetScissor = unsafe extern "system" fn( scissor_count: u32, p_scissors: *const Rect2D, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetLineWidth = unsafe extern "system" fn(command_buffer: CommandBuffer, line_width: f32); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthBias = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -610,33 +708,39 @@ pub type PFN_vkCmdSetDepthBias = unsafe extern "system" fn( depth_bias_clamp: f32, depth_bias_slope_factor: f32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetBlendConstants = unsafe extern "system" fn(command_buffer: CommandBuffer, blend_constants: *const [f32; 4usize]); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetDepthBounds = unsafe extern "system" fn( command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetStencilCompareMask = unsafe extern "system" fn( command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetStencilWriteMask = unsafe extern "system" fn( command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetStencilReference = unsafe extern "system" fn( command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindDescriptorSets = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -648,6 +752,7 @@ pub type PFN_vkCmdBindDescriptorSets = unsafe extern "system" fn( dynamic_offset_count: u32, p_dynamic_offsets: *const u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindIndexBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -655,6 +760,7 @@ pub type PFN_vkCmdBindIndexBuffer = unsafe extern "system" fn( offset: DeviceSize, index_type: IndexType, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBindVertexBuffers = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -663,6 +769,7 @@ pub type PFN_vkCmdBindVertexBuffers = unsafe extern "system" fn( p_buffers: *const Buffer, p_offsets: *const DeviceSize, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDraw = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -671,6 +778,7 @@ pub type PFN_vkCmdDraw = unsafe extern "system" fn( first_vertex: u32, first_instance: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndexed = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -680,6 +788,7 @@ pub type PFN_vkCmdDrawIndexed = unsafe extern "system" fn( vertex_offset: i32, first_instance: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndirect = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -688,6 +797,7 @@ pub type PFN_vkCmdDrawIndirect = unsafe extern "system" fn( draw_count: u32, stride: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDrawIndexedIndirect = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -696,6 +806,7 @@ pub type PFN_vkCmdDrawIndexedIndirect = unsafe extern "system" fn( draw_count: u32, stride: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatch = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -703,9 +814,11 @@ pub type PFN_vkCmdDispatch = unsafe extern "system" fn( group_count_y: u32, group_count_z: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdDispatchIndirect = unsafe extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -714,6 +827,7 @@ pub type PFN_vkCmdCopyBuffer = unsafe extern "system" fn( region_count: u32, p_regions: *const BufferCopy, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -724,6 +838,7 @@ pub type PFN_vkCmdCopyImage = unsafe extern "system" fn( region_count: u32, p_regions: *const ImageCopy, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBlitImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -735,6 +850,7 @@ pub type PFN_vkCmdBlitImage = unsafe extern "system" fn( p_regions: *const ImageBlit, filter: Filter, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyBufferToImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -744,6 +860,7 @@ pub type PFN_vkCmdCopyBufferToImage = unsafe extern "system" fn( region_count: u32, p_regions: *const BufferImageCopy, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyImageToBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -753,6 +870,7 @@ pub type PFN_vkCmdCopyImageToBuffer = unsafe extern "system" fn( region_count: u32, p_regions: *const BufferImageCopy, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdUpdateBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -761,6 +879,7 @@ pub type PFN_vkCmdUpdateBuffer = unsafe extern "system" fn( data_size: DeviceSize, p_data: *const c_void, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdFillBuffer = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -769,6 +888,7 @@ pub type PFN_vkCmdFillBuffer = unsafe extern "system" fn( size: DeviceSize, data: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdClearColorImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -778,6 +898,7 @@ pub type PFN_vkCmdClearColorImage = unsafe extern "system" fn( range_count: u32, p_ranges: *const ImageSubresourceRange, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdClearDepthStencilImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -787,6 +908,7 @@ pub type PFN_vkCmdClearDepthStencilImage = unsafe extern "system" fn( range_count: u32, p_ranges: *const ImageSubresourceRange, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdClearAttachments = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -795,6 +917,7 @@ pub type PFN_vkCmdClearAttachments = unsafe extern "system" fn( rect_count: u32, p_rects: *const ClearRect, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdResolveImage = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -805,18 +928,21 @@ pub type PFN_vkCmdResolveImage = unsafe extern "system" fn( region_count: u32, p_regions: *const ImageResolve, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdSetEvent = unsafe extern "system" fn( command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdResetEvent = unsafe extern "system" fn( command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWaitEvents = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -831,6 +957,7 @@ pub type PFN_vkCmdWaitEvents = unsafe extern "system" fn( image_memory_barrier_count: u32, p_image_memory_barriers: *const ImageMemoryBarrier<'_>, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPipelineBarrier = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -844,6 +971,7 @@ pub type PFN_vkCmdPipelineBarrier = unsafe extern "system" fn( image_memory_barrier_count: u32, p_image_memory_barriers: *const ImageMemoryBarrier<'_>, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginQuery = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -851,9 +979,11 @@ pub type PFN_vkCmdBeginQuery = unsafe extern "system" fn( query: u32, flags: QueryControlFlags, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndQuery = unsafe extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, query: u32); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdResetQueryPool = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -861,6 +991,7 @@ pub type PFN_vkCmdResetQueryPool = unsafe extern "system" fn( first_query: u32, query_count: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdWriteTimestamp = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -868,6 +999,7 @@ pub type PFN_vkCmdWriteTimestamp = unsafe extern "system" fn( query_pool: QueryPool, query: u32, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdCopyQueryPoolResults = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -879,6 +1011,7 @@ pub type PFN_vkCmdCopyQueryPoolResults = unsafe extern "system" fn( stride: DeviceSize, flags: QueryResultFlags, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdPushConstants = unsafe extern "system" fn( command_buffer: CommandBuffer, @@ -888,26 +1021,32 @@ pub type PFN_vkCmdPushConstants = unsafe extern "system" fn( size: u32, p_values: *const c_void, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdBeginRenderPass = unsafe extern "system" fn( command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo<'_>, contents: SubpassContents, ); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdNextSubpass = unsafe extern "system" fn(command_buffer: CommandBuffer, contents: SubpassContents); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdEndRenderPass = unsafe extern "system" fn(command_buffer: CommandBuffer); +#[doc = "Provided by VK_VERSION_1_0"] #[allow(non_camel_case_types)] pub type PFN_vkCmdExecuteCommands = unsafe extern "system" fn( command_buffer: CommandBuffer, command_buffer_count: u32, p_command_buffers: *const CommandBuffer, ); +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkEnumerateInstanceVersion = unsafe extern "system" fn(p_api_version: *mut u32) -> Result; +#[doc = "Provided by VK_VERSION_1_1"] #[allow(non_camel_case_types)] pub type PFN_vkGetDeviceQueue2 = unsafe extern "system" fn( device: crate::vk::Device, diff --git a/ash/src/vk/macros.rs b/ash/src/vk/macros.rs index a9b76f8d3..4be42fbd7 100644 --- a/ash/src/vk/macros.rs +++ b/ash/src/vk/macros.rs @@ -83,14 +83,15 @@ macro_rules! vk_bitflags_wrapped { } #[macro_export] macro_rules! handle_nondispatchable { - ($ name : ident , $ ty : ident) => { - handle_nondispatchable!($name, $ty, doc = ""); - }; - ($ name : ident , $ ty : ident , $ doc_link : meta) => { + ($ name : ident , $ ty : ident , $ feature_names : expr , $ doc_link : expr, $( $ cfgs : meta )?) => { + #[doc = $feature_names] + #[doc = ""] + #[doc = $doc_link] + $(#[$cfgs])? #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Default)] - #[$doc_link] pub struct $name(u64); + $(#[$cfgs])? impl Handle for $name { const TYPE: ObjectType = ObjectType::$ty; fn as_raw(self) -> u64 { @@ -100,16 +101,19 @@ macro_rules! handle_nondispatchable { Self(x) } } + $(#[$cfgs])? impl $name { pub const fn null() -> Self { Self(0) } } + $(#[$cfgs])? impl fmt::Pointer for $name { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "0x{:x}", self.0) } } + $(#[$cfgs])? impl fmt::Debug for $name { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "0x{:x}", self.0) @@ -119,19 +123,21 @@ macro_rules! handle_nondispatchable { } #[macro_export] macro_rules! define_handle { - ($ name : ident , $ ty : ident) => { - define_handle!($name, $ty, doc = ""); - }; - ($ name : ident , $ ty : ident , $ doc_link : meta) => { + ($ name : ident , $ ty : ident , $ feature_names : expr , $ doc_link : expr, $( $ cfgs : meta )?) => { + #[doc = $feature_names] + #[doc = ""] + #[doc = $doc_link] + $(#[$cfgs])? #[repr(transparent)] #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash)] - #[$doc_link] pub struct $name(*mut u8); + $(#[$cfgs])? impl Default for $name { fn default() -> Self { Self::null() } } + $(#[$cfgs])? impl Handle for $name { const TYPE: ObjectType = ObjectType::$ty; fn as_raw(self) -> u64 { @@ -141,18 +147,23 @@ macro_rules! define_handle { Self(x as _) } } + $(#[$cfgs])? unsafe impl Send for $name {} + $(#[$cfgs])? unsafe impl Sync for $name {} + $(#[$cfgs])? impl $name { pub const fn null() -> Self { Self(::core::ptr::null_mut()) } } + $(#[$cfgs])? impl fmt::Pointer for $name { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt::Pointer::fmt(&self.0, f) } } + $(#[$cfgs])? impl fmt::Debug for $name { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt::Debug::fmt(&self.0, f) diff --git a/generator/src/lib.rs b/generator/src/lib.rs index d0e259ec7..5dd1c3f26 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -26,7 +26,7 @@ use quote::*; use regex::Regex; use std::{ borrow::Cow, - collections::{BTreeMap, HashMap, HashSet}, + collections::{hash_map::Entry, BTreeMap, HashMap, HashSet}, fmt::Display, ops::Not, path::Path, @@ -926,22 +926,38 @@ impl FieldExt for vk_parse::CommandParam { } } -pub type CommandMap<'a> = HashMap; +/// Amalgamated information about [`vk_parse::Feature`]s and [`vk_parse::Extension`]s providing +/// this element. +#[derive(Clone, Debug)] +pub struct ProvidedBy<'a> { + pub names: Vec<&'a str>, + pub provisional: bool, +} + +impl ProvidedBy<'_> { + pub fn names_joined(&self) -> String { + self.names.iter().join(", ") + } +} + +// TODO: Why is this a map? +pub type CommandMap<'a> = HashMap<&'a str, (&'a vk_parse::CommandDefinition, &'a ProvidedBy<'a>)>; /// Returns (raw bindings, function pointer table) fn generate_function_pointers<'a>( ident: Ident, - commands: &[&'a vk_parse::CommandDefinition], - rename_commands: &HashMap<&'a str, &'a str>, + commands: &[(&'a vk_parse::CommandDefinition, &'a ProvidedBy<'_>)], + rename_commands: &HashMap<&str, &str>, fn_cache: &mut HashSet<&'a str>, has_lifetimes: &HashSet, doc: &str, ) -> (TokenStream, TokenStream) { // Commands can have duplicates inside them because they are declared per features. But we only // really want to generate one function pointer. + // TODO: Didn't we have a map of this to make them unique already...? let commands = commands .iter() - .unique_by(|cmd| cmd.proto.name.as_str()) + .unique_by(|cmd| cmd.0.proto.name.as_str()) .collect::>(); struct Command<'a> { @@ -954,12 +970,13 @@ fn generate_function_pointers<'a>( parameters_unused: TokenStream, returns: TokenStream, parameter_validstructs: Vec<(Ident, Vec)>, + provided_by: &'a ProvidedBy<'a>, } let commands = commands .iter() .map(|cmd| { - let name = &cmd.proto.name; + let name = &cmd.0.proto.name; let pfn_type_name = format_ident!("PFN_{}", name); // We might need to generate a function pointer for an extension, where we are given the original @@ -971,6 +988,7 @@ fn generate_function_pointers<'a>( let type_name = format_ident!("{}", type_name); let params = cmd + .0 .params .iter() .filter(|param| matches!(param.api.as_deref(), None | Some(DESIRED_API))); @@ -1006,6 +1024,7 @@ fn generate_function_pointers<'a>( .collect(); let ret = cmd + .0 .proto .type_name .as_ref() @@ -1030,6 +1049,7 @@ fn generate_function_pointers<'a>( quote!(-> #ret_ty_tokens) }, parameter_validstructs, + provided_by: cmd.1, } }) .collect::>(); @@ -1048,14 +1068,23 @@ fn generate_function_pointers<'a>( "Implemented for all types that can be passed as argument to `{}` in [`{}`]", param_ident, self.0.pfn_type_name ); + let feature_names = format!("Provided by {}", self.0.provided_by.names_joined()); + let provisional = self + .0 + .provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); let param_trait_name = format_ident!( "{}Param{}", self.0.type_name, param_ident.to_upper_camel_case() ); quote! { - #[allow(non_camel_case_types)] #[doc = #doc_string] + #[doc = ""] + #[doc = #feature_names] + #provisional + #[allow(non_camel_case_types)] pub unsafe trait #param_trait_name {} } .to_tokens(tokens); @@ -1074,7 +1103,16 @@ fn generate_function_pointers<'a>( let type_name = &self.0.pfn_type_name; let parameters = &self.0.parameters; let returns = &self.0.returns; + let feature_names = format!("Provided by {}", self.0.provided_by.names_joined()); + let provisional = self + .0 + .provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + quote!( + #[doc = #feature_names] + #provisional #[allow(non_camel_case_types)] pub type #type_name = unsafe extern "system" fn(#parameters) #returns; ) @@ -1193,13 +1231,17 @@ impl ConstantExt for ExtensionConstant<'_> { } } +/// Generates constants for definitions inside `` or `` children. +/// +/// External constants that are referred by name only are skipped. pub fn generate_extension_constants<'a>( - extension_name: &str, extension_number: i64, extension_items: &'a [vk_parse::ExtensionChild], + provided_by: &ProvidedBy<'_>, const_cache: &mut HashSet<&'a str>, const_values: &mut BTreeMap, ) -> TokenStream { + // TODO: We already read this at a higher level, why again?? let items = extension_items .iter() .filter_map(get_variant!(vk_parse::ExtensionChild::Require { @@ -1254,6 +1296,7 @@ pub fn generate_extension_constants<'a>( ident: ext_constant.variant_ident(&extends), is_alias, is_deprecated: enum_.deprecated.is_some(), + is_provisional: provided_by.provisional, }); extended_enums @@ -1265,11 +1308,17 @@ pub fn generate_extension_constants<'a>( let enum_tokens = extended_enums.iter().map(|(extends, constants)| { let ident = name_to_tokens(extends); - let doc_string = format!("Generated from '{extension_name}'"); - let impl_block = bitflags_impl_block(ident, extends, &constants.iter().collect_vec()); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + let impl_block = bitflags_impl_contents(extends, &constants.iter().collect_vec()); quote! { - #[doc = #doc_string] - #impl_block + #[doc = #feature_names] + #provisional + impl #ident { + #impl_block + } } }); quote!(#(#enum_tokens)*) @@ -1282,13 +1331,13 @@ pub struct ExtensionCommands<'a> { } pub fn generate_extension_commands<'a>( - full_extension_name: &'a str, - items: &'a [vk_parse::ExtensionChild], + extension: &'a vk_parse::Extension, cmd_map: &CommandMap<'a>, cmd_aliases: &HashMap<&'a str, &'a str>, fn_cache: &mut HashSet<&'a str>, has_lifetimes: &HashSet, ) -> ExtensionCommands<'a> { + let full_extension_name = &extension.name; let byte_name_ident = Literal::byte_string(format!("{full_extension_name}\0").as_bytes()); let extension_name = full_extension_name.strip_prefix("VK_").unwrap(); @@ -1301,7 +1350,8 @@ pub fn generate_extension_commands<'a>( let name_ident = format_ident!("{}_NAME", extension_name.to_uppercase()); let spec_version_ident = format_ident!("{}_SPEC_VERSION", extension_name.to_uppercase()); - let spec_version = items + let spec_version = extension + .children .iter() .filter_map(get_variant!(vk_parse::ExtensionChild::Require { items })) .flatten() @@ -1319,8 +1369,10 @@ pub fn generate_extension_commands<'a>( let mut instance_commands = Vec::new(); let mut device_commands = Vec::new(); + // TODO: Is this the only reason why commands are stored in a map by name? let mut rename_commands = HashMap::new(); - let names = items + let names = extension + .children .iter() .filter_map(get_variant!(vk_parse::ExtensionChild::Require { api, @@ -1341,7 +1393,7 @@ pub fn generate_extension_commands<'a>( } let command = cmd_map[name]; - match command.function_type() { + match command.0.function_type() { FunctionType::Static | FunctionType::Entry => unreachable!(), FunctionType::Instance => instance_commands.push(command), FunctionType::Device => device_commands.push(command), @@ -1452,6 +1504,10 @@ pub fn generate_extension_commands<'a>( ) }); + let provisional = extension + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + ExtensionCommands { vendor, raw: quote! { @@ -1464,6 +1520,7 @@ pub fn generate_extension_commands<'a>( }, high_level: quote! { #[doc = #full_extension_name] + #provisional pub mod #extension_ident { #hl_imports @@ -1478,80 +1535,98 @@ pub fn generate_extension_commands<'a>( pub fn generate_define( define: &vk_parse::Type, - allowed_types: &HashSet<&str>, + provided_by: &ProvidedBy<'_>, + allowed_types: &HashMap<&str, ProvidedBy<'_>>, identifier_renames: &mut BTreeMap, -) -> TokenStream { +) -> Option { let vk_parse::TypeSpec::Code(spec) = &define.spec else { - return quote!(); + return None; }; let [vk_parse::TypeCodeMarkup::Name(define_name), ..] = &spec.markup[..] else { - return quote!(); + return None; }; - if !allowed_types.contains(define_name.as_str()) { - return quote!(); + if !allowed_types.contains_key(define_name.as_str()) { + return None; } let name = constant_name(define_name); let ident = format_ident!("{}", name); - if define_name.contains("VERSION") && !spec.code.contains("//#define") { - let link = khronos_link(define_name); - let (c_expr, (comment, (_name, parameters))) = parse_c_define_header(&spec.code).unwrap(); - let c_expr = c_expr.trim().trim_start_matches('\\'); - let c_expr = c_expr.replace("(uint32_t)", ""); - let c_expr = convert_c_expression(&c_expr, identifier_renames); - let c_expr = discard_outmost_delimiter(c_expr); - - let deprecated = comment - .and_then(|c| c.trim().strip_prefix("DEPRECATED: ")) - .map(|comment| quote!(#[deprecated = #comment])) - .or_else(|| match define.deprecated.as_ref()?.as_str() { - "true" => Some(quote!(#[deprecated])), - x => panic!("Unknown deprecation reason {x}"), - }); + if !define_name.contains("VERSION") || spec.code.contains("//#define") { + return None; + } + let khronos_link = khronos_link(define_name); + let (c_expr, (comment, (_name, parameters))) = parse_c_define_header(&spec.code).unwrap(); + let c_expr = c_expr.trim().trim_start_matches('\\'); + let c_expr = c_expr.replace("(uint32_t)", ""); + let c_expr = convert_c_expression(&c_expr, identifier_renames); + let c_expr = discard_outmost_delimiter(c_expr); + + let deprecated = comment + .and_then(|c| c.trim().strip_prefix("DEPRECATED: ")) + .map(|comment| quote!(#[deprecated = #comment])) + .or_else(|| match define.deprecated.as_ref()?.as_str() { + "true" => Some(quote!(#[deprecated])), + x => panic!("Unknown deprecation reason {}", x), + }); - let (code, ident) = if let Some(parameters) = parameters { - let params = parameters - .iter() - .map(|param| format_ident!("{}", param)) - .map(|i| quote!(#i: u32)); - let ident = format_ident!("{}", name.to_lowercase()); - ( - quote!(pub const fn #ident(#(#params),*) -> u32 { #c_expr }), - ident, - ) - } else { - (quote!(pub const #ident: u32 = #c_expr;), ident) - }; + let (code, ident) = if let Some(parameters) = parameters { + let params = parameters + .iter() + .map(|param| format_ident!("{}", param)) + .map(|i| quote!(#i: u32)); + let ident = format_ident!("{}", name.to_lowercase()); + ( + quote!(pub const fn #ident(#(#params),*) -> u32 { #c_expr }), + ident, + ) + } else { + (quote!(pub const #ident: u32 = #c_expr;), ident) + }; - identifier_renames.insert(define_name.clone(), ident); + identifier_renames.insert(define_name.clone(), ident); - quote! { - #deprecated - #[doc = #link] - #code - } - } else { - quote!() - } + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + + Some(quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional + #deprecated + #code + }) } -pub fn generate_typedef(typedef: &vkxml::Typedef) -> TokenStream { +pub fn generate_typedef( + typedef: &vkxml::Typedef, + provided_by: &ProvidedBy<'_>, +) -> Option { if typedef.basetype.is_empty() { // Ignore forward declarations - quote! {} - } else { - let typedef_name = name_to_tokens(&typedef.name); - let typedef_ty = name_to_tokens(&typedef.basetype); - let khronos_link = khronos_link(&typedef.name); - quote! { - #[doc = #khronos_link] - pub type #typedef_name = #typedef_ty; - } + return None; } + let typedef_name = name_to_tokens(&typedef.name); + let typedef_ty = name_to_tokens(&typedef.basetype); + let khronos_link = khronos_link(&typedef.name); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + Some(quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional + pub type #typedef_name = #typedef_ty; + }) } pub fn generate_bitmask( bitmask: &vkxml::Bitmask, + provided_by: &ProvidedBy<'_>, bitflags_cache: &mut HashSet, const_values: &mut BTreeMap, ) -> Option { @@ -1572,10 +1647,17 @@ pub fn generate_bitmask( const_values.insert(ident.clone(), Default::default()); let khronos_link = khronos_link(&bitmask.name); let type_ = name_to_tokens(&bitmask.basetype); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); Some(quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] - #[doc = #khronos_link] pub struct #ident(pub(crate) #type_); vk_bitflags_wrapped!(#ident, #type_); }) @@ -1671,11 +1753,7 @@ pub fn variant_ident(enum_name: &str, variant_name: &str) -> Ident { } } -pub fn bitflags_impl_block( - ident: Ident, - enum_name: &str, - constants: &[&impl ConstantExt], -) -> TokenStream { +pub fn bitflags_impl_contents(enum_name: &str, constants: &[&impl ConstantExt]) -> TokenStream { let variants = constants.iter().map(|constant| { let deprecated = constant.deprecated().map(|deprecated| match deprecated { "true" => quote!(#[deprecated]), @@ -1697,15 +1775,12 @@ pub fn bitflags_impl_block( } }); - quote! { - impl #ident { - #(#variants)* - } - } + quote!(#(#variants)*) } pub fn generate_enum<'a>( enum_: &'a vk_parse::Enums, + provided_by: &ProvidedBy<'a>, const_cache: &mut HashSet<&'a str>, const_values: &mut BTreeMap, bitflags_cache: &mut HashSet, @@ -1732,6 +1807,8 @@ pub fn generate_enum<'a>( ident: constant.variant_ident(name), is_alias: constant.is_alias(), is_deprecated: constant.deprecated.is_some(), + // Never provisional, because the surrounding enum would be provisional + is_provisional: false, }); } const_values.insert( @@ -1739,10 +1816,15 @@ pub fn generate_enum<'a>( ConstantTypeInfo { values, bitwidth: enum_.bitwidth, + is_provisional: provided_by.provisional, }, ); let khronos_link = khronos_link(name); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); if name.contains("Bit") { let ident = format_ident!("{}", clean_name); @@ -1756,45 +1838,53 @@ pub fn generate_enum<'a>( if !bitflags_cache.insert(ident.clone()) { EnumType::Bitflags(quote! {}) } else { - let impl_bitflags = bitflags_impl_block(ident.clone(), name, &constants); + let impl_block = bitflags_impl_contents(name, &constants); let q = quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(transparent)] #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] - #[doc = #khronos_link] pub struct #ident(pub(crate) #type_); vk_bitflags_wrapped!(#ident, #type_); - #impl_bitflags + impl #ident { + #impl_block + } }; EnumType::Bitflags(q) } } else { let (struct_attribute, special_quote) = match clean_name.as_str() { //"StructureType" => generate_structure_type(&_name, _enum, create_info_constants), - "Result" => (quote!(#[must_use]), generate_result(ident.clone(), enum_)), + "Result" => { + assert!(provisional.is_none()); + (quote!(#[must_use]), generate_result(ident.clone(), enum_)) + } _ => (quote!(), quote!()), }; - let impl_block = bitflags_impl_block(ident.clone(), name, &constants); - let enum_quote = quote! { - #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] - #[repr(transparent)] + let impl_block = bitflags_impl_contents(name, &constants); + EnumType::Enum(quote! { #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional + #[repr(transparent)] + #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)] #struct_attribute pub struct #ident(pub(crate) i32); + #provisional impl #ident { #[inline] pub const fn from_raw(x: i32) -> Self { Self(x) } #[inline] pub const fn as_raw(self) -> i32 { self.0 } + + #impl_block } - #impl_block - }; - let q = quote! { - #enum_quote #special_quote - - }; - EnumType::Enum(q) + }) } } @@ -1851,6 +1941,7 @@ fn derive_default( struct_: &vkxml::Struct, members: &[PreprocessedMember<'_>], has_lifetime: bool, + provisional: &Option, ) -> Option { let name = name_to_tokens(&struct_.name); let is_structure_type = |field: &vkxml::Field| field.basetype == "VkStructureType"; @@ -1909,7 +2000,8 @@ fn derive_default( }); let lifetime = has_lifetime.then(|| quote!(<'_>)); let marker = has_lifetime.then(|| quote!(_marker: PhantomData,)); - let q = quote! { + Some(quote! { + #provisional impl ::core::default::Default for #name #lifetime { #[inline] fn default() -> Self { @@ -1922,11 +2014,14 @@ fn derive_default( } } } - }; - Some(q) + }) } -fn derive_send_sync(struct_: &vkxml::Struct, has_lifetime: bool) -> Option { +fn derive_send_sync( + struct_: &vkxml::Struct, + has_lifetime: bool, + provisional: &Option, +) -> Option { if !struct_ .elements .iter() @@ -1939,7 +2034,9 @@ fn derive_send_sync(struct_: &vkxml::Struct, has_lifetime: bool) -> Option)); let q = quote! { + #provisional unsafe impl Send for #name #lifetime {} + #provisional unsafe impl Sync for #name #lifetime {} }; Some(q) @@ -1950,6 +2047,7 @@ fn derive_debug( members: &[PreprocessedMember<'_>], union_types: &HashSet<&str>, has_lifetime: bool, + provisional: &Option, ) -> Option { let name = name_to_tokens(&struct_.name); let contains_pfn = members.iter().any(|member| { @@ -2000,6 +2098,7 @@ fn derive_debug( let name_str = name.to_string(); let lifetime = has_lifetime.then(|| quote!(<'_>)); let q = quote! { + #provisional #[cfg(feature = "debug")] impl fmt::Debug for #name #lifetime { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { @@ -2016,6 +2115,7 @@ fn derive_getters_and_setters( struct_: &vkxml::Struct, members: &[PreprocessedMember<'_>], has_lifetimes: &HashSet, + provisional: &Option, ) -> Option { if &struct_.name == "VkBaseInStructure" || &struct_.name == "VkBaseOutStructure" @@ -2341,8 +2441,17 @@ fn derive_getters_and_setters( .flat_map(|extends| extends.split(',')) .map(|extends| { let base = name_to_tokens(extends); + // TODO: Keep track of what structextends are provisional + let provisional = if extends == "VkExecutionGraphPipelineCreateInfoAMDX" { + Some(quote!(#[cfg(feature = "provisional")])) + } else { + provisional.clone() + }; // Extension structs always have a pNext, and therefore always have a lifetime. - quote!(unsafe impl Extends<#base<'_>> for #name<'_> {}) + quote! { + #provisional + unsafe impl Extends<#base<'_>> for #name<'_> {} + } }); let impl_structure_type_trait = structure_type_field.map(|member| { @@ -2357,6 +2466,7 @@ fn derive_getters_and_setters( let value = variant_ident("VkStructureType", value); quote! { + #provisional unsafe impl<'a> TaggedStructure<'a> for #name<'a> { const STRUCTURE_TYPE: StructureType = StructureType::#value; } @@ -2366,7 +2476,7 @@ fn derive_getters_and_setters( let q = quote! { #impl_structure_type_trait #(#impl_extend_trait)* - + #provisional impl #lifetime #name #lifetime { #(#setters)* } @@ -2395,6 +2505,7 @@ struct PreprocessedMember<'a> { pub fn generate_struct( struct_: &vkxml::Struct, + provided_by: &ProvidedBy<'_>, vk_parse_types: &HashMap, union_types: &HashSet<&str>, has_lifetimes: &HashSet, @@ -2405,8 +2516,16 @@ pub fn generate_struct( panic!() }; + let khronos_link = khronos_link(&struct_.name); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + if &struct_.name == "VkTransformMatrixKHR" { return quote! { + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] pub struct TransformMatrixKHR { @@ -2417,15 +2536,22 @@ pub fn generate_struct( if &struct_.name == "VkAccelerationStructureInstanceKHR" { return quote! { + #[doc = "Type defined by `ash` to make it easier to store a [`DeviceAddress`] or [`AccelerationStructureKHR`] in [`AccelerationStructureInstanceKHR`]."] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] pub union AccelerationStructureReferenceKHR { pub device_handle: DeviceAddress, pub host_handle: AccelerationStructureKHR, } + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] - #[doc = ""] pub struct AccelerationStructureInstanceKHR { pub transform: TransformMatrixKHR, /// Use [`Packed24_8::new(instance_custom_index, mask)`][Packed24_8::new()] to construct this field @@ -2439,9 +2565,12 @@ pub fn generate_struct( if &struct_.name == "VkAccelerationStructureSRTMotionInstanceNV" { return quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] - #[doc = ""] pub struct AccelerationStructureSRTMotionInstanceNV { pub transform_t0: SRTDataNV, pub transform_t1: SRTDataNV, @@ -2456,9 +2585,12 @@ pub fn generate_struct( if &struct_.name == "VkAccelerationStructureMatrixMotionInstanceNV" { return quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] - #[doc = ""] pub struct AccelerationStructureMatrixMotionInstanceNV { pub transform_t0: TransformMatrixKHR, pub transform_t1: TransformMatrixKHR, @@ -2528,27 +2660,29 @@ pub fn generate_struct( false => (quote!(), quote!()), }; - let debug_tokens = derive_debug(struct_, &members, union_types, has_lifetime); - let default_tokens = derive_default(struct_, &members, has_lifetime); - let send_sync_tokens = derive_send_sync(struct_, has_lifetime); - let setter_tokens = derive_getters_and_setters(struct_, &members, has_lifetimes); + let debug_tokens = derive_debug(struct_, &members, union_types, has_lifetime, &provisional); + let default_tokens = derive_default(struct_, &members, has_lifetime, &provisional); + let send_sync_tokens = derive_send_sync(struct_, has_lifetime, &provisional); + let setter_tokens = derive_getters_and_setters(struct_, &members, has_lifetimes, &provisional); let manual_derive_tokens = manual_derives(struct_); - let dbg_str = if debug_tokens.is_none() { + let derive_debug = if debug_tokens.is_none() { quote!(#[cfg_attr(feature = "debug", derive(Debug))]) } else { quote!() }; - let default_str = if default_tokens.is_none() { + let derive_default = if default_tokens.is_none() { quote!(Default,) } else { quote!() }; - let khronos_link = khronos_link(&struct_.name); quote! { - #[repr(C)] - #dbg_str - #[derive(Copy, Clone, #default_str #manual_derive_tokens)] #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional + #[repr(C)] + #derive_debug + #[derive(Copy, Clone, #derive_default #manual_derive_tokens)] #[must_use] pub struct #name #lifetimes { #(#params,)* @@ -2561,32 +2695,35 @@ pub fn generate_struct( } } -pub fn generate_handle(handle: &vkxml::Handle) -> Option { +pub fn generate_handle( + handle: &vkxml::Handle, + provided_by: &ProvidedBy<'_>, +) -> Option { if handle.name.is_empty() { return None; } let khronos_link = khronos_link(&handle.name); - let tokens = match handle.ty { + let name = handle.name.strip_prefix("Vk").unwrap(); + let ty = format_ident!("{}", name.to_shouty_snake_case()); + let name = format_ident!("{}", name); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(cfg(feature = "provisional"))); + Some(match handle.ty { vkxml::HandleType::Dispatch => { - let name = handle.name.strip_prefix("Vk").unwrap(); - let ty = format_ident!("{}", name.to_shouty_snake_case()); - let name = format_ident!("{}", name); - quote! { - define_handle!(#name, #ty, doc = #khronos_link); - } + quote!(define_handle!(#name, #ty, #feature_names, #khronos_link, #provisional);) } vkxml::HandleType::NoDispatch => { - let name = handle.name.strip_prefix("Vk").unwrap(); - let ty = format_ident!("{}", name.to_shouty_snake_case()); - let name = format_ident!("{}", name); - quote! { - handle_nondispatchable!(#name, #ty, doc = #khronos_link); - } + quote!(handle_nondispatchable!(#name, #ty, #feature_names, #khronos_link, #provisional);) } - }; - Some(tokens) + }) } -fn generate_funcptr(fnptr: &vkxml::FunctionPointer, has_lifetimes: &HashSet) -> TokenStream { +fn generate_funcptr( + fnptr: &vkxml::FunctionPointer, + provided_by: &ProvidedBy<'_>, + has_lifetimes: &HashSet, +) -> Option { let name = format_ident!("{}", fnptr.name); let ret_ty_tokens = if fnptr.return_type.is_void() { quote!() @@ -2605,14 +2742,25 @@ fn generate_funcptr(fnptr: &vkxml::FunctionPointer, has_lifetimes: &HashSet; - } + }) } -fn generate_union(union: &vkxml::Union, has_lifetimes: &HashSet) -> TokenStream { +fn generate_union( + union: &vkxml::Union, + provided_by: &ProvidedBy<'_>, + has_lifetimes: &HashSet, +) -> Option { let name = name_to_tokens(&union.name); let fields = union.elements.iter().map(|field| { let name = field.param_ident(); @@ -2625,27 +2773,37 @@ fn generate_union(union: &vkxml::Union, has_lifetimes: &HashSet) -> Token } }); let khronos_link = khronos_link(&union.name); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); let lifetime = has_lifetimes.contains(&name).then(|| quote!(<'a>)); - quote! { + Some(quote! { + #[doc = #khronos_link] + #[doc = ""] + #[doc = #feature_names] + #provisional #[repr(C)] #[derive(Copy, Clone)] - #[doc = #khronos_link] pub union #name #lifetime { #(#fields),* } + #provisional impl #lifetime ::core::default::Default for #name #lifetime { #[inline] fn default() -> Self { unsafe { ::core::mem::zeroed() } } } - } + }) } pub fn generate_definition_vk_parse( definition: &vk_parse::Type, - allowed_types: &HashSet<&str>, + provided_by: &ProvidedBy<'_>, + allowed_types: &HashMap<&str, ProvidedBy<'_>>, identifier_renames: &mut BTreeMap, ) -> Option { + // TODO: How about filtering in the parent, via provided_by too? if let Some(api) = &definition.api { if api != DESIRED_API { return None; @@ -2653,18 +2811,16 @@ pub fn generate_definition_vk_parse( } match definition.category.as_deref() { - Some("define") => Some(generate_define( - definition, - allowed_types, - identifier_renames, - )), + Some("define") => { + generate_define(definition, provided_by, allowed_types, identifier_renames) + } _ => None, } } #[allow(clippy::too_many_arguments)] pub fn generate_definition( definition: &vkxml::DefinitionsElement, - allowed_types: &HashSet<&str>, + allowed_types: &HashMap<&str, ProvidedBy<'_>>, union_types: &HashSet<&str>, has_lifetimes: &HashSet, vk_parse_types: &HashMap, @@ -2672,45 +2828,43 @@ pub fn generate_definition( const_values: &mut BTreeMap, ) -> Option { match *definition { - vkxml::DefinitionsElement::Typedef(ref typedef) - if allowed_types.contains(typedef.name.as_str()) => - { - Some(generate_typedef(typedef)) + vkxml::DefinitionsElement::Typedef(ref typedef) => { + let provided_by = allowed_types.get(typedef.name.as_str())?; + generate_typedef(typedef, provided_by) } - vkxml::DefinitionsElement::Struct(ref struct_) - if allowed_types.contains(struct_.name.as_str()) => - { + vkxml::DefinitionsElement::Struct(ref struct_) => { + let provided_by = allowed_types.get(struct_.name.as_str())?; + Some(generate_struct( struct_, + provided_by, vk_parse_types, union_types, has_lifetimes, )) } - vkxml::DefinitionsElement::Bitmask(ref mask) - if allowed_types.contains(mask.name.as_str()) => - { - generate_bitmask(mask, bitflags_cache, const_values) + vkxml::DefinitionsElement::Bitmask(ref mask) => { + let provided_by = allowed_types.get(mask.name.as_str())?; + generate_bitmask(mask, provided_by, bitflags_cache, const_values) } - vkxml::DefinitionsElement::Handle(ref handle) - if allowed_types.contains(handle.name.as_str()) => - { - generate_handle(handle) + vkxml::DefinitionsElement::Handle(ref handle) => { + let provided_by = allowed_types.get(handle.name.as_str())?; + generate_handle(handle, provided_by) } - vkxml::DefinitionsElement::FuncPtr(ref fp) if allowed_types.contains(fp.name.as_str()) => { - Some(generate_funcptr(fp, has_lifetimes)) + vkxml::DefinitionsElement::FuncPtr(ref fp) => { + let provided_by = allowed_types.get(fp.name.as_str())?; + generate_funcptr(fp, provided_by, has_lifetimes) } - vkxml::DefinitionsElement::Union(ref union) - if allowed_types.contains(union.name.as_str()) => - { - Some(generate_union(union, has_lifetimes)) + vkxml::DefinitionsElement::Union(ref union) => { + let provided_by = allowed_types.get(union.name.as_str())?; + generate_union(union, provided_by, has_lifetimes) } _ => None, } } pub fn generate_feature<'a>( feature: &vkxml::Feature, - commands: &CommandMap<'a>, + commands: &'a CommandMap<'a>, fn_cache: &mut HashSet<&'a str>, has_lifetimes: &HashSet, ) -> (TokenStream, TokenStream) { @@ -2724,11 +2878,11 @@ pub fn generate_feature<'a>( .filter_map(get_variant!(vkxml::FeatureElement::Require)) .flat_map(|spec| &spec.elements) .filter_map(get_variant!(vkxml::FeatureReference::CommandReference)) - .filter_map(|cmd_ref| commands.get(&cmd_ref.name)) + .filter_map(|cmd_ref| commands.get(cmd_ref.name.as_str())) .fold( (Vec::new(), Vec::new(), Vec::new(), Vec::new()), |mut accs, &cmd_ref| { - let acc = match cmd_ref.function_type() { + let acc = match cmd_ref.0.function_type() { FunctionType::Static => &mut accs.0, FunctionType::Entry => &mut accs.1, FunctionType::Device => &mut accs.2, @@ -2806,13 +2960,16 @@ pub fn constant_name(name: &str) -> &str { pub fn generate_constant<'a>( constant: &'a vkxml::Constant, - cache: &mut HashSet<&'a str>, + provided_by: &ProvidedBy<'a>, ) -> TokenStream { - cache.insert(constant.name.as_str()); let c = Constant::from_constant(constant); let name = constant_name(&constant.name); let ident = format_ident!("{}", name); - let notation = constant.doc_attribute(); + let notation = constant.doc_attribute().map(|d| quote!(#d #[doc = ""])); + let feature_names = format!("Provided by {}", provided_by.names_joined()); + let provisional = provided_by + .provisional + .then(|| quote!(#[cfg(feature = "provisional")])); let ty = if name == "TRUE" || name == "FALSE" { CType::Bool32 @@ -2821,6 +2978,8 @@ pub fn generate_constant<'a>( }; quote! { #notation + #[doc = #feature_names] + #provisional pub const #ident: #ty = #c; } } @@ -2837,9 +2996,13 @@ pub fn generate_feature_extension<'a>( .filter(|feature| contains_desired_api(&feature.api)) .map(|feature| { generate_extension_constants( - &feature.name, 0, &feature.children, + // TODO: the high-level already provided this structure, probably shouldn't iterate per feature again here. + &ProvidedBy { + names: vec![&feature.name], // TODO: Collect alias names too! + provisional: false, + }, const_cache, const_values, ) @@ -2853,12 +3016,14 @@ pub struct ConstantMatchInfo { pub ident: Ident, pub is_alias: bool, pub is_deprecated: bool, + pub is_provisional: bool, } #[derive(Default)] pub struct ConstantTypeInfo { values: Vec, bitwidth: Option, + pub is_provisional: bool, } pub struct ConstDebugs { @@ -2870,15 +3035,23 @@ pub fn generate_const_debugs(const_values: &BTreeMap) - let mut core = Vec::new(); let mut extras = Vec::new(); for (ty, values) in const_values { - let ConstantTypeInfo { values, bitwidth } = values; + let ConstantTypeInfo { + values, + bitwidth, + is_provisional, + } = values; + let provisional = is_provisional.then(|| quote!(#[cfg(feature = "provisional")])); let out = if ty.to_string().contains("Flags") { let cases = values.iter().filter_map(|value| { if value.is_alias { None } else { + let provisional = value + .is_provisional + .then(|| quote!(#[cfg(feature = "provisional")])); let ident = &value.ident; let name = ident.to_string(); - Some(quote! { (#ty::#ident.0, #name) }) + Some(quote! { #provisional (#ty::#ident.0, #name) }) } }); @@ -2889,6 +3062,7 @@ pub fn generate_const_debugs(const_values: &BTreeMap) - }; quote! { + #provisional impl fmt::Debug for #ty { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { const KNOWN: &[(#type_, &str)] = &[#(#cases),*]; @@ -2905,10 +3079,14 @@ pub fn generate_const_debugs(const_values: &BTreeMap) - let name = ident.to_string(); let allow_deprecated = value.is_deprecated.then(|| quote!(#[allow(deprecated)])); - Some(quote! { #allow_deprecated Self::#ident => Some(#name), }) + let provisional = value + .is_provisional + .then(|| quote!(#[cfg(feature = "provisional")])); + Some(quote! { #provisional #allow_deprecated Self::#ident => Some(#name), }) } }); quote! { + #provisional impl fmt::Debug for #ty { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let name = match *self { @@ -2988,37 +3166,23 @@ pub fn extract_native_types(registry: &vk_parse::Registry) -> (Vec<(String, Stri (header_includes, header_types) } -pub fn generate_aliases_of_types( - types: &vk_parse::Types, - allowed_types: &HashSet<&str>, +pub fn generate_alias_of_type( + ty: &vk_parse::Type, has_lifetimes: &HashSet, ty_cache: &mut HashSet, -) -> TokenStream { - let aliases = types - .children - .iter() - .filter_map(get_variant!(vk_parse::TypesChild::Type)) - .filter_map(|ty| { - let name = ty.name.as_ref()?; - if !allowed_types.contains(name.as_str()) { - return None; - } - let alias = ty.alias.as_ref()?; - let name_ident = name_to_tokens(name); - if !ty_cache.insert(name_ident.clone()) { - return None; - }; - let alias_ident = name_to_tokens(alias); - let tokens = if has_lifetimes.contains(&alias_ident) { - quote!(pub type #name_ident<'a> = #alias_ident<'a>;) - } else { - quote!(pub type #name_ident = #alias_ident;) - }; - Some(tokens) - }); - quote! { - #(#aliases)* - } +) -> Option { + let name = ty.name.as_ref()?; + let alias = ty.alias.as_ref()?; + let name_ident = name_to_tokens(name); + if !ty_cache.insert(name_ident.clone()) { + return None; + }; + let alias_ident = name_to_tokens(alias); + Some(if has_lifetimes.contains(&alias_ident) { + quote!(pub type #name_ident<'a> = #alias_ident<'a>;) + } else { + quote!(pub type #name_ident = #alias_ident;) + }) } pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { let vk_xml = vk_headers_dir.join("registry/vk.xml"); @@ -3071,32 +3235,73 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .flat_map(|constants| &constants.elements) .collect(); + /// Minimized, generalized description of [`vk_parse::Feature`] and [`vk_parse::Extension`] + #[derive(Clone, Debug)] + struct FeatureDescription<'a> { + name: &'a str, + provisional: bool, + children: &'a Vec, + } + let features_children = spec2 .0 .iter() .filter_map(get_variant!(vk_parse::RegistryChild::Feature)) .filter(|feature| contains_desired_api(&feature.api)) - .flat_map(|features| &features.children); + .map(|features| FeatureDescription { + name: &features.name, + provisional: false, + children: &features.children, + }); - let extension_children = extensions.iter().flat_map(|extension| &extension.children); + let extension_children = extensions.iter().map(|extension| FeatureDescription { + name: &extension.name, + provisional: extension.provisional, + children: &extension.children, + }); - let (required_types, required_commands) = features_children - .chain(extension_children) - .filter_map(get_variant!(vk_parse::FeatureChild::Require { api, items })) - .filter(|(api, _items)| matches!(api.as_deref(), None | Some(DESIRED_API))) - .flat_map(|(_api, items)| items) - .fold((HashSet::new(), HashSet::new()), |mut acc, elem| { - match elem { - vk_parse::InterfaceItem::Type { name, .. } => { - acc.0.insert(name.as_str()); - } - vk_parse::InterfaceItem::Command { name, .. } => { - acc.1.insert(name.as_str()); - } - _ => {} + let mut required_types = HashMap::<_, ProvidedBy<'_>>::new(); + let mut required_commands = HashMap::<_, ProvidedBy<'_>>::new(); + let mut required_enums = HashMap::<_, ProvidedBy<'_>>::new(); + for feature in features_children.chain(extension_children) { + for child in feature.children { + let vk_parse::FeatureChild::Require { api, items, .. } = child else { + continue; }; - acc - }); + if !matches!(api.as_deref(), None | Some(DESIRED_API)) { + continue; + } + for elem in items { + let provided_by = match elem { + vk_parse::InterfaceItem::Type { name, .. } => { + required_types.entry(name.as_str()) + } + vk_parse::InterfaceItem::Command { name, .. } => { + required_commands.entry(name.as_str()) + } + vk_parse::InterfaceItem::Enum(vk_parse::Enum { + name, + spec: vk_parse::EnumSpec::None, + .. + }) => required_enums.entry(name.as_str()), + _ => continue, + }; + match provided_by { + Entry::Occupied(mut e) => { + let provided_by = e.get_mut(); + assert_eq!(provided_by.provisional, feature.provisional); + provided_by.names.push(feature.name); + } + Entry::Vacant(e) => { + e.insert(ProvidedBy { + names: vec![feature.name], + provisional: feature.provisional, + }); + } + } + } + } + } let commands: CommandMap<'_> = spec2 .0 @@ -3104,8 +3309,11 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .filter_map(get_variant!(vk_parse::RegistryChild::Commands)) .flat_map(|cmds| &cmds.children) .filter_map(get_variant!(vk_parse::Command::Definition)) - .filter(|cmd| required_commands.contains(&cmd.proto.name.as_str())) - .map(|cmd| (cmd.proto.name.clone(), cmd)) + .filter_map(|cmd| { + required_commands + .get(cmd.proto.name.as_str()) + .map(|feature| (cmd.proto.name.as_str(), (cmd, feature))) + }) .collect(); let cmd_aliases: HashMap<_, _> = spec2 @@ -3114,7 +3322,8 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .filter_map(get_variant!(vk_parse::RegistryChild::Commands)) .flat_map(|cmds| &cmds.children) .filter_map(get_variant!(vk_parse::Command::Alias { name, alias })) - .filter(|(name, _alias)| required_commands.contains(name.as_str())) + // TODO: Pass through feature info + .filter(|(name, _alias)| required_commands.contains_key(name.as_str())) .map(|(name, alias)| (name.as_str(), alias.as_str())) .collect(); @@ -3128,14 +3337,22 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .0 .iter() .filter_map(get_variant!(vk_parse::RegistryChild::Enums)) - .filter(|enums| enums.kind.is_some()) - .filter(|enums| { - enums - .name - .as_ref() - .is_none_or(|n| required_types.contains(n.replace("FlagBits", "Flags").as_str())) + // .filter(|enums| enums.kind.is_some()) + .filter(|enums| matches!(enums.kind.as_deref(), Some("enum" | "bitmask"))) + .filter_map(|e| { + let n = e.name.as_ref().unwrap(); + let t = required_types.get(n.replace("FlagBits", "Flags").as_str())?; + Some((e, t)) + }) + .map(|(e, p)| { + generate_enum( + e, + p, + &mut const_cache, + &mut const_values, + &mut bitflags_cache, + ) }) - .map(|e| generate_enum(e, &mut const_cache, &mut const_values, &mut bitflags_cache)) .fold((Vec::new(), Vec::new()), |mut acc, elem| { match elem { EnumType::Enum(token) => acc.0.push(token), @@ -3146,9 +3363,13 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { let mut constants_code: Vec<_> = constants .iter() - .map(|constant| generate_constant(constant, &mut const_cache)) + .map(|constant| { + let provided_by = required_enums.get(constant.name.as_str()).unwrap(); + generate_constant(constant, provided_by) + }) .collect(); + // TODO: Drop this hack, it is an alias for another extension that should have been generated. constants_code.push(quote! { pub const SHADER_UNUSED_NV : u32 = SHADER_UNUSED_KHR;}); let union_types = definitions @@ -3215,9 +3436,12 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .iter() .map(|ext| { generate_extension_constants( - &ext.name, - ext.number.unwrap_or(0), + ext.number.unwrap(), &ext.children, + &ProvidedBy { + names: vec![&ext.name], // TODO: Collect alias names too! + provisional: ext.provisional, + }, &mut const_cache, &mut const_values, ) @@ -3228,8 +3452,7 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { let mut extension_cmds = Vec::::new(); for ext in extensions.iter() { let cmds = generate_extension_commands( - &ext.name, - &ext.children, + ext, &commands, &cmd_aliases, &mut fn_cache, @@ -3265,7 +3488,15 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { let vk_parse_definitions: Vec<_> = vk_parse_types .iter() .filter_map(|def| { - generate_definition_vk_parse(def, &required_types, &mut identifier_renames) + generate_definition_vk_parse( + def, + &ProvidedBy { + names: vec!["TODO"], + provisional: false, + }, + &required_types, + &mut identifier_renames, + ) }) .collect(); @@ -3273,9 +3504,9 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .into_iter() .filter_map(|t| t.name.clone().map(|n| (n, t))) .collect::>(); - let definition_code: Vec<_> = vk_parse_definitions + let vk_parse_types: Vec<_> = definitions .into_iter() - .chain(definitions.into_iter().filter_map(|def| { + .filter_map(|def| { generate_definition( def, &required_types, @@ -3285,7 +3516,7 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { &mut bitflags_cache, &mut const_values, ) - })) + }) .collect(); let mut ty_cache = HashSet::new(); @@ -3293,7 +3524,14 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { .0 .iter() .filter_map(get_variant!(vk_parse::RegistryChild::Types)) - .map(|ty| generate_aliases_of_types(ty, &required_types, &has_lifetimes, &mut ty_cache)) + .flat_map(|types| &types.children) + .filter_map(get_variant!(vk_parse::TypesChild::Type)) + .filter(|ty| { + ty.name + .as_ref() + .is_some_and(|name| required_types.contains_key(name.as_str())) + }) + .filter_map(|ty| generate_alias_of_type(ty, &has_lifetimes, &mut ty_cache)) .collect(); let (feature_fp_code, feature_table_code): (Vec<_>, Vec<_>) = features @@ -3353,7 +3591,8 @@ pub fn write_source_code>(vk_headers_dir: &Path, src_dir: P) { use core::ffi::*; use core::fmt; use core::marker::PhantomData; - #(#definition_code)* + #(#vk_parse_definitions)* + #(#vk_parse_types)* }; let enum_code = quote! {