Update Vulkan-Headers to 1.3.206 (#563)

* Update Vulkan-Headers to 1.3.205

* Update Vulkan-Headers to 1.3.206
This commit is contained in:
Marijn Suijten 2022-02-19 10:18:21 +01:00 committed by GitHub
parent d6cb64de3d
commit 955cb28d12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 4801 additions and 2093 deletions

View file

@ -4,11 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.35.2] - 2022-02-19
## Unreleased
### Changed
- extensions/khr: Drop `_khr` suffix from `get_memory_fd_properties_khr` in `ExternalMemoryFd` (#580)
### Added
- Update Vulkan-Headers to 1.3.206 (#563)
## [0.35.2] - 2022-02-19
### Changed
- Replace `1.2-extensions` documentation links with `1.3-extensions` (#569)
- Fixed broken (intradoc) links in the prelude and `VK_KHR_get_surface_capabilities2` extension (#559)

View file

@ -1,6 +1,6 @@
[package]
name = "ash"
version = "0.35.2+1.2.203"
version = "0.35.2+1.3.206"
authors = ["maik klein <maikklein@googlemail.com>"]
description = "Vulkan bindings for Rust"
license = "MIT"

View file

@ -4,8 +4,14 @@ use crate::vk::enums::*;
pub type GeometryFlagsNV = GeometryFlagsKHR;
pub type GeometryInstanceFlagsNV = GeometryInstanceFlagsKHR;
pub type BuildAccelerationStructureFlagsNV = BuildAccelerationStructureFlagsKHR;
pub type PrivateDataSlotCreateFlagsEXT = PrivateDataSlotCreateFlags;
pub type DescriptorUpdateTemplateCreateFlagsKHR = DescriptorUpdateTemplateCreateFlags;
pub type PipelineCreationFeedbackFlagsEXT = PipelineCreationFeedbackFlags;
pub type SemaphoreWaitFlagsKHR = SemaphoreWaitFlags;
pub type AccessFlags2KHR = AccessFlags2;
pub type PipelineStageFlags2KHR = PipelineStageFlags2;
pub type FormatFeatureFlags2KHR = FormatFeatureFlags2;
pub type RenderingFlagsKHR = RenderingFlags;
pub type PeerMemoryFeatureFlagsKHR = PeerMemoryFeatureFlags;
pub type MemoryAllocateFlagsKHR = MemoryAllocateFlags;
pub type CommandPoolTrimFlagsKHR = CommandPoolTrimFlags;
@ -19,10 +25,14 @@ pub type ExternalFenceFeatureFlagsKHR = ExternalFenceFeatureFlags;
pub type FenceImportFlagsKHR = FenceImportFlags;
pub type DescriptorBindingFlagsEXT = DescriptorBindingFlags;
pub type ResolveModeFlagsKHR = ResolveModeFlags;
pub type ToolPurposeFlagsEXT = ToolPurposeFlags;
pub type SubmitFlagsKHR = SubmitFlags;
pub type DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate;
pub type SamplerYcbcrConversionKHR = SamplerYcbcrConversion;
pub type PrivateDataSlotEXT = PrivateDataSlot;
pub type DescriptorUpdateTemplateTypeKHR = DescriptorUpdateTemplateType;
pub type PointClippingBehaviorKHR = PointClippingBehavior;
pub type QueueGlobalPriorityEXT = QueueGlobalPriorityKHR;
pub type SemaphoreTypeKHR = SemaphoreType;
pub type CopyAccelerationStructureModeNV = CopyAccelerationStructureModeKHR;
pub type AccelerationStructureTypeNV = AccelerationStructureTypeKHR;
@ -35,6 +45,9 @@ pub type ChromaLocationKHR = ChromaLocation;
pub type SamplerReductionModeEXT = SamplerReductionMode;
pub type ShaderFloatControlsIndependenceKHR = ShaderFloatControlsIndependence;
pub type DriverIdKHR = DriverId;
pub type DevicePrivateDataCreateInfoEXT = DevicePrivateDataCreateInfo;
pub type PrivateDataSlotCreateInfoEXT = PrivateDataSlotCreateInfo;
pub type PhysicalDevicePrivateDataFeaturesEXT = PhysicalDevicePrivateDataFeatures;
pub type PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2;
pub type PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2;
pub type FormatProperties2KHR = FormatProperties2;
@ -86,8 +99,10 @@ pub type PhysicalDevice16BitStorageFeaturesKHR = PhysicalDevice16BitStorageFeatu
pub type PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR =
PhysicalDeviceShaderSubgroupExtendedTypesFeatures;
pub type BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2;
pub type DeviceBufferMemoryRequirementsKHR = DeviceBufferMemoryRequirements;
pub type ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2;
pub type ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2;
pub type DeviceImageMemoryRequirementsKHR = DeviceImageMemoryRequirements;
pub type MemoryRequirements2KHR = MemoryRequirements2;
pub type SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2;
pub type PhysicalDevicePointClippingPropertiesKHR = PhysicalDevicePointClippingProperties;
@ -107,14 +122,24 @@ pub type SamplerYcbcrConversionImageFormatPropertiesKHR =
pub type PhysicalDeviceSamplerFilterMinmaxPropertiesEXT =
PhysicalDeviceSamplerFilterMinmaxProperties;
pub type SamplerReductionModeCreateInfoEXT = SamplerReductionModeCreateInfo;
pub type PhysicalDeviceInlineUniformBlockFeaturesEXT = PhysicalDeviceInlineUniformBlockFeatures;
pub type PhysicalDeviceInlineUniformBlockPropertiesEXT = PhysicalDeviceInlineUniformBlockProperties;
pub type WriteDescriptorSetInlineUniformBlockEXT = WriteDescriptorSetInlineUniformBlock;
pub type DescriptorPoolInlineUniformBlockCreateInfoEXT = DescriptorPoolInlineUniformBlockCreateInfo;
pub type ImageFormatListCreateInfoKHR = ImageFormatListCreateInfo;
pub type PhysicalDeviceMaintenance3PropertiesKHR = PhysicalDeviceMaintenance3Properties;
pub type PhysicalDeviceMaintenance4FeaturesKHR = PhysicalDeviceMaintenance4Features;
pub type PhysicalDeviceMaintenance4PropertiesKHR = PhysicalDeviceMaintenance4Properties;
pub type DescriptorSetLayoutSupportKHR = DescriptorSetLayoutSupport;
pub type PhysicalDeviceShaderDrawParameterFeatures = PhysicalDeviceShaderDrawParametersFeatures;
pub type PhysicalDeviceShaderFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features;
pub type PhysicalDeviceFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features;
pub type PhysicalDeviceFloatControlsPropertiesKHR = PhysicalDeviceFloatControlsProperties;
pub type PhysicalDeviceHostQueryResetFeaturesEXT = PhysicalDeviceHostQueryResetFeatures;
pub type DeviceQueueGlobalPriorityCreateInfoEXT = DeviceQueueGlobalPriorityCreateInfoKHR;
pub type PhysicalDeviceGlobalPriorityQueryFeaturesEXT =
PhysicalDeviceGlobalPriorityQueryFeaturesKHR;
pub type QueueFamilyGlobalPriorityPropertiesEXT = QueueFamilyGlobalPriorityPropertiesKHR;
pub type PhysicalDeviceDescriptorIndexingFeaturesEXT = PhysicalDeviceDescriptorIndexingFeatures;
pub type PhysicalDeviceDescriptorIndexingPropertiesEXT = PhysicalDeviceDescriptorIndexingProperties;
pub type DescriptorSetLayoutBindingFlagsCreateInfoEXT = DescriptorSetLayoutBindingFlagsCreateInfo;
@ -154,14 +179,64 @@ pub type PhysicalDeviceImagelessFramebufferFeaturesKHR = PhysicalDeviceImageless
pub type FramebufferAttachmentsCreateInfoKHR = FramebufferAttachmentsCreateInfo;
pub type FramebufferAttachmentImageInfoKHR = FramebufferAttachmentImageInfo;
pub type RenderPassAttachmentBeginInfoKHR = RenderPassAttachmentBeginInfo;
pub type PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT =
PhysicalDeviceTextureCompressionASTCHDRFeatures;
pub type PipelineCreationFeedbackEXT = PipelineCreationFeedback;
pub type PipelineCreationFeedbackCreateInfoEXT = PipelineCreationFeedbackCreateInfo;
pub type QueryPoolCreateInfoINTEL = QueryPoolPerformanceQueryCreateInfoINTEL;
pub type PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR =
PhysicalDeviceSeparateDepthStencilLayoutsFeatures;
pub type AttachmentReferenceStencilLayoutKHR = AttachmentReferenceStencilLayout;
pub type AttachmentDescriptionStencilLayoutKHR = AttachmentDescriptionStencilLayout;
pub type PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT =
PhysicalDeviceShaderDemoteToHelperInvocationFeatures;
pub type PhysicalDeviceTexelBufferAlignmentPropertiesEXT =
PhysicalDeviceTexelBufferAlignmentProperties;
pub type PhysicalDeviceSubgroupSizeControlFeaturesEXT = PhysicalDeviceSubgroupSizeControlFeatures;
pub type PhysicalDeviceSubgroupSizeControlPropertiesEXT =
PhysicalDeviceSubgroupSizeControlProperties;
pub type PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT =
PipelineShaderStageRequiredSubgroupSizeCreateInfo;
pub type MemoryOpaqueCaptureAddressAllocateInfoKHR = MemoryOpaqueCaptureAddressAllocateInfo;
pub type DeviceMemoryOpaqueCaptureAddressInfoKHR = DeviceMemoryOpaqueCaptureAddressInfo;
pub type PhysicalDevicePipelineCreationCacheControlFeaturesEXT =
PhysicalDevicePipelineCreationCacheControlFeatures;
pub type PhysicalDeviceToolPropertiesEXT = PhysicalDeviceToolProperties;
pub type AabbPositionsNV = AabbPositionsKHR;
pub type TransformMatrixNV = TransformMatrixKHR;
pub type AccelerationStructureInstanceNV = AccelerationStructureInstanceKHR;
pub type PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR =
PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures;
pub type PhysicalDeviceImageRobustnessFeaturesEXT = PhysicalDeviceImageRobustnessFeatures;
pub type BufferCopy2KHR = BufferCopy2;
pub type ImageCopy2KHR = ImageCopy2;
pub type ImageBlit2KHR = ImageBlit2;
pub type BufferImageCopy2KHR = BufferImageCopy2;
pub type ImageResolve2KHR = ImageResolve2;
pub type CopyBufferInfo2KHR = CopyBufferInfo2;
pub type CopyImageInfo2KHR = CopyImageInfo2;
pub type BlitImageInfo2KHR = BlitImageInfo2;
pub type CopyBufferToImageInfo2KHR = CopyBufferToImageInfo2;
pub type CopyImageToBufferInfo2KHR = CopyImageToBufferInfo2;
pub type ResolveImageInfo2KHR = ResolveImageInfo2;
pub type PhysicalDeviceShaderTerminateInvocationFeaturesKHR =
PhysicalDeviceShaderTerminateInvocationFeatures;
pub type MemoryBarrier2KHR = MemoryBarrier2;
pub type ImageMemoryBarrier2KHR = ImageMemoryBarrier2;
pub type BufferMemoryBarrier2KHR = BufferMemoryBarrier2;
pub type DependencyInfoKHR = DependencyInfo;
pub type SemaphoreSubmitInfoKHR = SemaphoreSubmitInfo;
pub type CommandBufferSubmitInfoKHR = CommandBufferSubmitInfo;
pub type SubmitInfo2KHR = SubmitInfo2;
pub type PhysicalDeviceSynchronization2FeaturesKHR = PhysicalDeviceSynchronization2Features;
pub type PhysicalDeviceShaderIntegerDotProductFeaturesKHR =
PhysicalDeviceShaderIntegerDotProductFeatures;
pub type PhysicalDeviceShaderIntegerDotProductPropertiesKHR =
PhysicalDeviceShaderIntegerDotProductProperties;
pub type FormatProperties3KHR = FormatProperties3;
pub type PipelineRenderingCreateInfoKHR = PipelineRenderingCreateInfo;
pub type RenderingInfoKHR = RenderingInfo;
pub type RenderingAttachmentInfoKHR = RenderingAttachmentInfo;
pub type PhysicalDeviceDynamicRenderingFeaturesKHR = PhysicalDeviceDynamicRenderingFeatures;
pub type CommandBufferInheritanceRenderingInfoKHR = CommandBufferInheritanceRenderingInfo;
pub type AttachmentSampleCountInfoNV = AttachmentSampleCountInfoAMD;

View file

@ -647,10 +647,10 @@ impl IndirectStateFlagsNV {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPrivateDataSlotCreateFlagBitsEXT.html>"]
pub struct PrivateDataSlotCreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(PrivateDataSlotCreateFlagsEXT, Flags);
impl PrivateDataSlotCreateFlagsEXT {}
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPrivateDataSlotCreateFlagBits.html>"]
pub struct PrivateDataSlotCreateFlags(pub(crate) Flags);
vk_bitflags_wrapped!(PrivateDataSlotCreateFlags, Flags);
impl PrivateDataSlotCreateFlags {}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDescriptorSetLayoutCreateFlagBits.html>"]
@ -909,13 +909,16 @@ impl DeviceDiagnosticsConfigFlagsNV {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineCreationFeedbackFlagBitsEXT.html>"]
pub struct PipelineCreationFeedbackFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(PipelineCreationFeedbackFlagsEXT, Flags);
impl PipelineCreationFeedbackFlagsEXT {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineCreationFeedbackFlagBits.html>"]
pub struct PipelineCreationFeedbackFlags(pub(crate) Flags);
vk_bitflags_wrapped!(PipelineCreationFeedbackFlags, Flags);
impl PipelineCreationFeedbackFlags {
pub const VALID: Self = Self(0b1);
pub const VALID_EXT: Self = Self::VALID;
pub const APPLICATION_PIPELINE_CACHE_HIT: Self = Self(0b10);
pub const APPLICATION_PIPELINE_CACHE_HIT_EXT: Self = Self::APPLICATION_PIPELINE_CACHE_HIT;
pub const BASE_PIPELINE_ACCELERATION: Self = Self(0b100);
pub const BASE_PIPELINE_ACCELERATION_EXT: Self = Self::BASE_PIPELINE_ACCELERATION;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@ -952,86 +955,139 @@ vk_bitflags_wrapped!(PipelineCompilerControlFlagsAMD, Flags);
impl PipelineCompilerControlFlagsAMD {}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkToolPurposeFlagBitsEXT.html>"]
pub struct ToolPurposeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(ToolPurposeFlagsEXT, Flags);
impl ToolPurposeFlagsEXT {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkToolPurposeFlagBits.html>"]
pub struct ToolPurposeFlags(pub(crate) Flags);
vk_bitflags_wrapped!(ToolPurposeFlags, Flags);
impl ToolPurposeFlags {
pub const VALIDATION: Self = Self(0b1);
pub const VALIDATION_EXT: Self = Self::VALIDATION;
pub const PROFILING: Self = Self(0b10);
pub const PROFILING_EXT: Self = Self::PROFILING;
pub const TRACING: Self = Self(0b100);
pub const TRACING_EXT: Self = Self::TRACING;
pub const ADDITIONAL_FEATURES: Self = Self(0b1000);
pub const ADDITIONAL_FEATURES_EXT: Self = Self::ADDITIONAL_FEATURES;
pub const MODIFYING_FEATURES: Self = Self(0b1_0000);
pub const MODIFYING_FEATURES_EXT: Self = Self::MODIFYING_FEATURES;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccessFlagBits2KHR.html>"]
pub struct AccessFlags2KHR(pub(crate) Flags64);
vk_bitflags_wrapped!(AccessFlags2KHR, Flags64);
impl AccessFlags2KHR {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkAccessFlagBits2.html>"]
pub struct AccessFlags2(pub(crate) Flags64);
vk_bitflags_wrapped!(AccessFlags2, Flags64);
impl AccessFlags2 {
pub const NONE: Self = Self(0);
pub const NONE_KHR: Self = Self::NONE;
pub const INDIRECT_COMMAND_READ: Self = Self(0b1);
pub const INDIRECT_COMMAND_READ_KHR: Self = Self::INDIRECT_COMMAND_READ;
pub const INDEX_READ: Self = Self(0b10);
pub const INDEX_READ_KHR: Self = Self::INDEX_READ;
pub const VERTEX_ATTRIBUTE_READ: Self = Self(0b100);
pub const VERTEX_ATTRIBUTE_READ_KHR: Self = Self::VERTEX_ATTRIBUTE_READ;
pub const UNIFORM_READ: Self = Self(0b1000);
pub const UNIFORM_READ_KHR: Self = Self::UNIFORM_READ;
pub const INPUT_ATTACHMENT_READ: Self = Self(0b1_0000);
pub const INPUT_ATTACHMENT_READ_KHR: Self = Self::INPUT_ATTACHMENT_READ;
pub const SHADER_READ: Self = Self(0b10_0000);
pub const SHADER_READ_KHR: Self = Self::SHADER_READ;
pub const SHADER_WRITE: Self = Self(0b100_0000);
pub const SHADER_WRITE_KHR: Self = Self::SHADER_WRITE;
pub const COLOR_ATTACHMENT_READ: Self = Self(0b1000_0000);
pub const COLOR_ATTACHMENT_READ_KHR: Self = Self::COLOR_ATTACHMENT_READ;
pub const COLOR_ATTACHMENT_WRITE: Self = Self(0b1_0000_0000);
pub const COLOR_ATTACHMENT_WRITE_KHR: Self = Self::COLOR_ATTACHMENT_WRITE;
pub const DEPTH_STENCIL_ATTACHMENT_READ: Self = Self(0b10_0000_0000);
pub const DEPTH_STENCIL_ATTACHMENT_READ_KHR: Self = Self::DEPTH_STENCIL_ATTACHMENT_READ;
pub const DEPTH_STENCIL_ATTACHMENT_WRITE: Self = Self(0b100_0000_0000);
pub const DEPTH_STENCIL_ATTACHMENT_WRITE_KHR: Self = Self::DEPTH_STENCIL_ATTACHMENT_WRITE;
pub const TRANSFER_READ: Self = Self(0b1000_0000_0000);
pub const TRANSFER_READ_KHR: Self = Self::TRANSFER_READ;
pub const TRANSFER_WRITE: Self = Self(0b1_0000_0000_0000);
pub const TRANSFER_WRITE_KHR: Self = Self::TRANSFER_WRITE;
pub const HOST_READ: Self = Self(0b10_0000_0000_0000);
pub const HOST_READ_KHR: Self = Self::HOST_READ;
pub const HOST_WRITE: Self = Self(0b100_0000_0000_0000);
pub const HOST_WRITE_KHR: Self = Self::HOST_WRITE;
pub const MEMORY_READ: Self = Self(0b1000_0000_0000_0000);
pub const MEMORY_READ_KHR: Self = Self::MEMORY_READ;
pub const MEMORY_WRITE: Self = Self(0b1_0000_0000_0000_0000);
pub const MEMORY_WRITE_KHR: Self = Self::MEMORY_WRITE;
pub const SHADER_SAMPLED_READ: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000);
pub const SHADER_SAMPLED_READ_KHR: Self = Self::SHADER_SAMPLED_READ;
pub const SHADER_STORAGE_READ: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000);
pub const SHADER_STORAGE_READ_KHR: Self = Self::SHADER_STORAGE_READ;
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;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineStageFlagBits2KHR.html>"]
pub struct PipelineStageFlags2KHR(pub(crate) Flags64);
vk_bitflags_wrapped!(PipelineStageFlags2KHR, Flags64);
impl PipelineStageFlags2KHR {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkPipelineStageFlagBits2.html>"]
pub struct PipelineStageFlags2(pub(crate) Flags64);
vk_bitflags_wrapped!(PipelineStageFlags2, Flags64);
impl PipelineStageFlags2 {
pub const NONE: Self = Self(0);
pub const NONE_KHR: Self = Self::NONE;
pub const TOP_OF_PIPE: Self = Self(0b1);
pub const TOP_OF_PIPE_KHR: Self = Self::TOP_OF_PIPE;
pub const DRAW_INDIRECT: Self = Self(0b10);
pub const DRAW_INDIRECT_KHR: Self = Self::DRAW_INDIRECT;
pub const VERTEX_INPUT: Self = Self(0b100);
pub const VERTEX_INPUT_KHR: Self = Self::VERTEX_INPUT;
pub const VERTEX_SHADER: Self = Self(0b1000);
pub const VERTEX_SHADER_KHR: Self = Self::VERTEX_SHADER;
pub const TESSELLATION_CONTROL_SHADER: Self = Self(0b1_0000);
pub const TESSELLATION_CONTROL_SHADER_KHR: Self = Self::TESSELLATION_CONTROL_SHADER;
pub const TESSELLATION_EVALUATION_SHADER: Self = Self(0b10_0000);
pub const TESSELLATION_EVALUATION_SHADER_KHR: Self = Self::TESSELLATION_EVALUATION_SHADER;
pub const GEOMETRY_SHADER: Self = Self(0b100_0000);
pub const GEOMETRY_SHADER_KHR: Self = Self::GEOMETRY_SHADER;
pub const FRAGMENT_SHADER: Self = Self(0b1000_0000);
pub const FRAGMENT_SHADER_KHR: Self = Self::FRAGMENT_SHADER;
pub const EARLY_FRAGMENT_TESTS: Self = Self(0b1_0000_0000);
pub const EARLY_FRAGMENT_TESTS_KHR: Self = Self::EARLY_FRAGMENT_TESTS;
pub const LATE_FRAGMENT_TESTS: Self = Self(0b10_0000_0000);
pub const LATE_FRAGMENT_TESTS_KHR: Self = Self::LATE_FRAGMENT_TESTS;
pub const COLOR_ATTACHMENT_OUTPUT: Self = Self(0b100_0000_0000);
pub const COLOR_ATTACHMENT_OUTPUT_KHR: Self = Self::COLOR_ATTACHMENT_OUTPUT;
pub const COMPUTE_SHADER: Self = Self(0b1000_0000_0000);
pub const COMPUTE_SHADER_KHR: Self = Self::COMPUTE_SHADER;
pub const ALL_TRANSFER: Self = Self(0b1_0000_0000_0000);
pub const TRANSFER: Self = Self::ALL_TRANSFER;
pub const ALL_TRANSFER_KHR: Self = Self::ALL_TRANSFER;
pub const TRANSFER: Self = Self::ALL_TRANSFER_KHR;
pub const TRANSFER_KHR: Self = Self::TRANSFER;
pub const BOTTOM_OF_PIPE: Self = Self(0b10_0000_0000_0000);
pub const BOTTOM_OF_PIPE_KHR: Self = Self::BOTTOM_OF_PIPE;
pub const HOST: Self = Self(0b100_0000_0000_0000);
pub const HOST_KHR: Self = Self::HOST;
pub const ALL_GRAPHICS: Self = Self(0b1000_0000_0000_0000);
pub const ALL_GRAPHICS_KHR: Self = Self::ALL_GRAPHICS;
pub const ALL_COMMANDS: Self = Self(0b1_0000_0000_0000_0000);
pub const ALL_COMMANDS_KHR: Self = Self::ALL_COMMANDS;
pub const COPY: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000);
pub const COPY_KHR: Self = Self::COPY;
pub const RESOLVE: Self = Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000);
pub const RESOLVE_KHR: Self = Self::RESOLVE;
pub const BLIT: Self = Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000);
pub const BLIT_KHR: Self = Self::BLIT;
pub const CLEAR: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const CLEAR_KHR: Self = Self::CLEAR;
pub const INDEX_INPUT: Self = Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const INDEX_INPUT_KHR: Self = Self::INDEX_INPUT;
pub const VERTEX_ATTRIBUTE_INPUT: Self =
Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const VERTEX_ATTRIBUTE_INPUT_KHR: Self = Self::VERTEX_ATTRIBUTE_INPUT;
pub const PRE_RASTERIZATION_SHADERS: Self =
Self(0b100_0000_0000_0000_0000_0000_0000_0000_0000_0000);
pub const PRE_RASTERIZATION_SHADERS_KHR: Self = Self::PRE_RASTERIZATION_SHADERS;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubmitFlagBitsKHR.html>"]
pub struct SubmitFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(SubmitFlagsKHR, Flags);
impl SubmitFlagsKHR {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubmitFlagBits.html>"]
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;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@ -1155,6 +1211,15 @@ impl VideoEncodeFlagsKHR {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeCapabilityFlagBitsKHR.html>"]
pub struct VideoEncodeCapabilityFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeCapabilityFlagsKHR, Flags);
impl VideoEncodeCapabilityFlagsKHR {
pub const DEFAULT: Self = Self(0);
pub const PRECEDING_EXTERNALLY_ENCODED_BYTES: Self = Self(0b1);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeRateControlFlagBitsKHR.html>"]
pub struct VideoEncodeRateControlFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeRateControlFlagsKHR, Flags);
@ -1178,17 +1243,29 @@ impl VideoEncodeRateControlModeFlagsKHR {
pub struct VideoEncodeH264CapabilityFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH264CapabilityFlagsEXT, Flags);
impl VideoEncodeH264CapabilityFlagsEXT {
pub const CABAC: Self = Self(0b1);
pub const CAVLC: Self = Self(0b10);
pub const WEIGHTED_BI_PRED_IMPLICIT: Self = Self(0b100);
pub const TRANSFORM_8X8: Self = Self(0b1000);
pub const CHROMA_QP_OFFSET: Self = Self(0b1_0000);
pub const SECOND_CHROMA_QP_OFFSET: Self = Self(0b10_0000);
pub const DEBLOCKING_FILTER_DISABLED: Self = Self(0b100_0000);
pub const DEBLOCKING_FILTER_ENABLED: Self = Self(0b1000_0000);
pub const DEBLOCKING_FILTER_PARTIAL: Self = Self(0b1_0000_0000);
pub const MULTIPLE_SLICE_PER_FRAME: Self = Self(0b10_0000_0000);
pub const EVENLY_DISTRIBUTED_SLICE_SIZE: Self = Self(0b100_0000_0000);
pub const DIRECT_8X8_INFERENCE: Self = Self(0b1);
pub const SEPARATE_COLOUR_PLANE: Self = Self(0b10);
pub const QPPRIME_Y_ZERO_TRANSFORM_BYPASS: Self = Self(0b100);
pub const SCALING_LISTS: Self = Self(0b1000);
pub const HRD_COMPLIANCE: Self = Self(0b1_0000);
pub const CHROMA_QP_OFFSET: Self = Self(0b10_0000);
pub const SECOND_CHROMA_QP_OFFSET: Self = Self(0b100_0000);
pub const PIC_INIT_QP_MINUS26: Self = Self(0b1000_0000);
pub const WEIGHTED_PRED: Self = Self(0b1_0000_0000);
pub const WEIGHTED_BIPRED_EXPLICIT: Self = Self(0b10_0000_0000);
pub const WEIGHTED_BIPRED_IMPLICIT: Self = Self(0b100_0000_0000);
pub const WEIGHTED_PRED_NO_TABLE: Self = Self(0b1000_0000_0000);
pub const TRANSFORM_8X8: Self = Self(0b1_0000_0000_0000);
pub const CABAC: Self = Self(0b10_0000_0000_0000);
pub const CAVLC: Self = Self(0b100_0000_0000_0000);
pub const DEBLOCKING_FILTER_DISABLED: Self = Self(0b1000_0000_0000_0000);
pub const DEBLOCKING_FILTER_ENABLED: Self = Self(0b1_0000_0000_0000_0000);
pub const DEBLOCKING_FILTER_PARTIAL: Self = Self(0b10_0000_0000_0000_0000);
pub const DISABLE_DIRECT_SPATIAL_MV_PRED: Self = Self(0b100_0000_0000_0000_0000);
pub const MULTIPLE_SLICE_PER_FRAME: Self = Self(0b1000_0000_0000_0000_0000);
pub const SLICE_MB_COUNT: Self = Self(0b1_0000_0000_0000_0000_0000);
pub const ROW_UNALIGNED_SLICE: Self = Self(0b10_0000_0000_0000_0000_0000);
pub const DIFFERENT_SLICE_TYPE: Self = Self(0b100_0000_0000_0000_0000_0000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@ -1249,42 +1326,118 @@ impl ImageConstraintsInfoFlagsFUCHSIA {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFormatFeatureFlagBits2KHR.html>"]
pub struct FormatFeatureFlags2KHR(pub(crate) Flags64);
vk_bitflags_wrapped!(FormatFeatureFlags2KHR, Flags64);
impl FormatFeatureFlags2KHR {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFormatFeatureFlagBits2.html>"]
pub struct FormatFeatureFlags2(pub(crate) Flags64);
vk_bitflags_wrapped!(FormatFeatureFlags2, Flags64);
impl FormatFeatureFlags2 {
pub const SAMPLED_IMAGE: Self = Self(0b1);
pub const SAMPLED_IMAGE_KHR: Self = Self::SAMPLED_IMAGE;
pub const STORAGE_IMAGE: Self = Self(0b10);
pub const STORAGE_IMAGE_KHR: Self = Self::STORAGE_IMAGE;
pub const STORAGE_IMAGE_ATOMIC: Self = Self(0b100);
pub const STORAGE_IMAGE_ATOMIC_KHR: Self = Self::STORAGE_IMAGE_ATOMIC;
pub const UNIFORM_TEXEL_BUFFER: Self = Self(0b1000);
pub const UNIFORM_TEXEL_BUFFER_KHR: Self = Self::UNIFORM_TEXEL_BUFFER;
pub const STORAGE_TEXEL_BUFFER: Self = Self(0b1_0000);
pub const STORAGE_TEXEL_BUFFER_KHR: Self = Self::STORAGE_TEXEL_BUFFER;
pub const STORAGE_TEXEL_BUFFER_ATOMIC: Self = Self(0b10_0000);
pub const STORAGE_TEXEL_BUFFER_ATOMIC_KHR: Self = Self::STORAGE_TEXEL_BUFFER_ATOMIC;
pub const VERTEX_BUFFER: Self = Self(0b100_0000);
pub const VERTEX_BUFFER_KHR: Self = Self::VERTEX_BUFFER;
pub const COLOR_ATTACHMENT: Self = Self(0b1000_0000);
pub const COLOR_ATTACHMENT_KHR: Self = Self::COLOR_ATTACHMENT;
pub const COLOR_ATTACHMENT_BLEND: Self = Self(0b1_0000_0000);
pub const COLOR_ATTACHMENT_BLEND_KHR: Self = Self::COLOR_ATTACHMENT_BLEND;
pub const DEPTH_STENCIL_ATTACHMENT: Self = Self(0b10_0000_0000);
pub const DEPTH_STENCIL_ATTACHMENT_KHR: Self = Self::DEPTH_STENCIL_ATTACHMENT;
pub const BLIT_SRC: Self = Self(0b100_0000_0000);
pub const BLIT_SRC_KHR: Self = Self::BLIT_SRC;
pub const BLIT_DST: Self = Self(0b1000_0000_0000);
pub const BLIT_DST_KHR: Self = Self::BLIT_DST;
pub const SAMPLED_IMAGE_FILTER_LINEAR: Self = Self(0b1_0000_0000_0000);
pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: Self = Self(0b10_0000_0000_0000);
pub const SAMPLED_IMAGE_FILTER_LINEAR_KHR: Self = Self::SAMPLED_IMAGE_FILTER_LINEAR;
pub const SAMPLED_IMAGE_FILTER_CUBIC: Self = Self(0b10_0000_0000_0000);
pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: Self = Self::SAMPLED_IMAGE_FILTER_CUBIC;
pub const TRANSFER_SRC: Self = Self(0b100_0000_0000_0000);
pub const TRANSFER_SRC_KHR: Self = Self::TRANSFER_SRC;
pub const TRANSFER_DST: Self = Self(0b1000_0000_0000_0000);
pub const TRANSFER_DST_KHR: Self = Self::TRANSFER_DST;
pub const SAMPLED_IMAGE_FILTER_MINMAX: Self = Self(0b1_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_FILTER_MINMAX_KHR: Self = Self::SAMPLED_IMAGE_FILTER_MINMAX;
pub const MIDPOINT_CHROMA_SAMPLES: Self = Self(0b10_0000_0000_0000_0000);
pub const MIDPOINT_CHROMA_SAMPLES_KHR: Self = Self::MIDPOINT_CHROMA_SAMPLES;
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: Self = Self(0b100_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: Self =
Self::SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER;
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: Self =
Self(0b1000_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_KHR: Self =
Self::SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER;
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: Self =
Self(0b1_0000_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_KHR: Self =
Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT;
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: Self =
Self(0b10_0000_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_KHR: Self =
Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE;
pub const DISJOINT: Self = Self(0b100_0000_0000_0000_0000_0000);
pub const DISJOINT_KHR: Self = Self::DISJOINT;
pub const COSITED_CHROMA_SAMPLES: Self = Self(0b1000_0000_0000_0000_0000_0000);
pub const COSITED_CHROMA_SAMPLES_KHR: Self = Self::COSITED_CHROMA_SAMPLES;
pub const STORAGE_READ_WITHOUT_FORMAT: Self = Self(0b1000_0000_0000_0000_0000_0000_0000_0000);
pub const STORAGE_READ_WITHOUT_FORMAT_KHR: Self = Self::STORAGE_READ_WITHOUT_FORMAT;
pub const STORAGE_WRITE_WITHOUT_FORMAT: Self =
Self(0b1_0000_0000_0000_0000_0000_0000_0000_0000);
pub const STORAGE_WRITE_WITHOUT_FORMAT_KHR: Self = Self::STORAGE_WRITE_WITHOUT_FORMAT;
pub const SAMPLED_IMAGE_DEPTH_COMPARISON: Self =
Self(0b10_0000_0000_0000_0000_0000_0000_0000_0000);
pub const SAMPLED_IMAGE_DEPTH_COMPARISON_KHR: Self = Self::SAMPLED_IMAGE_DEPTH_COMPARISON;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderingFlagBits.html>"]
pub struct RenderingFlags(pub(crate) Flags);
vk_bitflags_wrapped!(RenderingFlags, Flags);
impl RenderingFlags {
pub const CONTENTS_SECONDARY_COMMAND_BUFFERS: Self = Self(0b1);
pub const CONTENTS_SECONDARY_COMMAND_BUFFERS_KHR: Self =
Self::CONTENTS_SECONDARY_COMMAND_BUFFERS;
pub const SUSPENDING: Self = Self(0b10);
pub const SUSPENDING_KHR: Self = Self::SUSPENDING;
pub const RESUMING: Self = Self(0b100);
pub const RESUMING_KHR: Self = Self::RESUMING;
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CapabilityFlagBitsEXT.html>"]
pub struct VideoEncodeH265CapabilityFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265CapabilityFlagsEXT, Flags);
impl VideoEncodeH265CapabilityFlagsEXT {
pub const SEPARATE_COLOUR_PLANE: Self = Self(0b1);
pub const SCALING_LISTS: Self = Self(0b10);
pub const SAMPLE_ADAPTIVE_OFFSET_ENABLED: Self = Self(0b100);
pub const PCM_ENABLE: Self = Self(0b1000);
pub const SPS_TEMPORAL_MVP_ENABLED: Self = Self(0b1_0000);
pub const HRD_COMPLIANCE: Self = Self(0b10_0000);
pub const INIT_QP_MINUS26: Self = Self(0b100_0000);
pub const LOG2_PARALLEL_MERGE_LEVEL_MINUS2: Self = Self(0b1000_0000);
pub const SIGN_DATA_HIDING_ENABLED: Self = Self(0b1_0000_0000);
pub const TRANSFORM_SKIP_ENABLED: Self = Self(0b10_0000_0000);
pub const PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT: Self = Self(0b100_0000_0000);
pub const WEIGHTED_PRED: Self = Self(0b1000_0000_0000);
pub const WEIGHTED_BIPRED: Self = Self(0b1_0000_0000_0000);
pub const WEIGHTED_PRED_NO_TABLE: Self = Self(0b10_0000_0000_0000);
pub const TRANSQUANT_BYPASS_ENABLED: Self = Self(0b100_0000_0000_0000);
pub const ENTROPY_CODING_SYNC_ENABLED: Self = Self(0b1000_0000_0000_0000);
pub const DEBLOCKING_FILTER_OVERRIDE_ENABLED: Self = Self(0b1_0000_0000_0000_0000);
pub const MULTIPLE_TILE_PER_FRAME: Self = Self(0b10_0000_0000_0000_0000);
pub const MULTIPLE_SLICE_PER_TILE: Self = Self(0b100_0000_0000_0000_0000);
pub const MULTIPLE_TILE_PER_SLICE: Self = Self(0b1000_0000_0000_0000_0000);
pub const SLICE_SEGMENT_CTB_COUNT: Self = Self(0b1_0000_0000_0000_0000_0000);
pub const ROW_UNALIGNED_SLICE_SEGMENT: Self = Self(0b10_0000_0000_0000_0000_0000);
pub const DEPENDENT_SLICE_SEGMENT: Self = Self(0b100_0000_0000_0000_0000_0000);
pub const DIFFERENT_SLICE_TYPE: Self = Self(0b1000_0000_0000_0000_0000_0000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
@ -1293,7 +1446,7 @@ pub struct VideoEncodeH265InputModeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265InputModeFlagsEXT, Flags);
impl VideoEncodeH265InputModeFlagsEXT {
pub const FRAME: Self = Self(0b1);
pub const SLICE: Self = Self(0b10);
pub const SLICE_SEGMENT: Self = Self(0b10);
pub const NON_VCL: Self = Self(0b100);
}
#[repr(transparent)]
@ -1303,32 +1456,11 @@ pub struct VideoEncodeH265OutputModeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265OutputModeFlagsEXT, Flags);
impl VideoEncodeH265OutputModeFlagsEXT {
pub const FRAME: Self = Self(0b1);
pub const SLICE: Self = Self(0b10);
pub const SLICE_SEGMENT: Self = Self(0b10);
pub const NON_VCL: Self = Self(0b100);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CtbSizeFlagBitsEXT.html>"]
pub struct VideoEncodeH265CtbSizeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265CtbSizeFlagsEXT, Flags);
impl VideoEncodeH265CtbSizeFlagsEXT {
pub const TYPE_8: Self = Self(0b1);
pub const TYPE_16: Self = Self(0b10);
pub const TYPE_32: Self = Self(0b100);
pub const TYPE_64: Self = Self(0b1000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderingFlagBitsKHR.html>"]
pub struct RenderingFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(RenderingFlagsKHR, Flags);
impl RenderingFlagsKHR {
pub const CONTENTS_SECONDARY_COMMAND_BUFFERS: Self = Self(0b1);
pub const SUSPENDING: Self = Self(0b10);
pub const RESUMING: Self = Self(0b100);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265RateControlStructureFlagBitsEXT.html>"]
pub struct VideoEncodeH265RateControlStructureFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265RateControlStructureFlagsEXT, Flags);
@ -1337,3 +1469,24 @@ impl VideoEncodeH265RateControlStructureFlagsEXT {
pub const FLAT: Self = Self(0b1);
pub const DYADIC: Self = Self(0b10);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265CtbSizeFlagBitsEXT.html>"]
pub struct VideoEncodeH265CtbSizeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265CtbSizeFlagsEXT, Flags);
impl VideoEncodeH265CtbSizeFlagsEXT {
pub const TYPE_16: Self = Self(0b1);
pub const TYPE_32: Self = Self(0b10);
pub const TYPE_64: Self = Self(0b100);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeH265TransformBlockSizeFlagBitsEXT.html>"]
pub struct VideoEncodeH265TransformBlockSizeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeH265TransformBlockSizeFlagsEXT, Flags);
impl VideoEncodeH265TransformBlockSizeFlagsEXT {
pub const TYPE_4: Self = Self(0b1);
pub const TYPE_8: Self = Self(0b10);
pub const TYPE_16: Self = Self(0b100);
pub const TYPE_32: Self = Self(0b1000);
}

File diff suppressed because it is too large Load diff

View file

@ -22,5 +22,5 @@ pub const MAX_DEVICE_GROUP_SIZE: usize = 32;
pub const MAX_DRIVER_NAME_SIZE: usize = 256;
pub const MAX_DRIVER_INFO_SIZE: usize = 256;
pub const SHADER_UNUSED_KHR: u32 = !0;
pub const MAX_GLOBAL_PRIORITY_SIZE_EXT: usize = 16;
pub const MAX_GLOBAL_PRIORITY_SIZE_KHR: usize = 16;
pub const SHADER_UNUSED_NV: u32 = SHADER_UNUSED_KHR;

File diff suppressed because it is too large Load diff

View file

@ -1545,9 +1545,9 @@ impl ShaderInfoTypeAMD {
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueueGlobalPriorityEXT.html>"]
pub struct QueueGlobalPriorityEXT(pub(crate) i32);
impl QueueGlobalPriorityEXT {
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueueGlobalPriorityKHR.html>"]
pub struct QueueGlobalPriorityKHR(pub(crate) i32);
impl QueueGlobalPriorityKHR {
pub const fn from_raw(x: i32) -> Self {
Self(x)
}
@ -1555,11 +1555,15 @@ impl QueueGlobalPriorityEXT {
self.0
}
}
impl QueueGlobalPriorityEXT {
impl QueueGlobalPriorityKHR {
pub const LOW: Self = Self(128);
pub const MEDIUM: Self = Self(256);
pub const HIGH: Self = Self(512);
pub const REALTIME: Self = Self(1_024);
pub const LOW_EXT: Self = Self::LOW;
pub const MEDIUM_EXT: Self = Self::MEDIUM;
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)]
@ -1659,6 +1663,8 @@ impl DriverId {
pub const MESA_PANVK: Self = Self(20);
#[doc = "Samsung Electronics Co., Ltd."]
pub const SAMSUNG_PROPRIETARY: Self = Self(21);
#[doc = "Mesa open source project"]
pub const MESA_VENUS: Self = Self(22);
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
@ -2287,10 +2293,10 @@ 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"),
Self::PRIVATE_DATA_SLOT_EXT => Some("PRIVATE_DATA_SLOT_EXT"),
Self::BUFFER_COLLECTION_FUCHSIA => Some("BUFFER_COLLECTION_FUCHSIA"),
Self::SAMPLER_YCBCR_CONVERSION => Some("SAMPLER_YCBCR_CONVERSION"),
Self::DESCRIPTOR_UPDATE_TEMPLATE => Some("DESCRIPTOR_UPDATE_TEMPLATE"),
Self::PRIVATE_DATA_SLOT => Some("PRIVATE_DATA_SLOT"),
_ => None,
};
if let Some(x) = name {
@ -2332,7 +2338,7 @@ impl fmt::Debug for Result {
Self::ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT => {
Some("ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT")
}
Self::ERROR_NOT_PERMITTED_EXT => Some("ERROR_NOT_PERMITTED_EXT"),
Self::ERROR_NOT_PERMITTED_KHR => Some("ERROR_NOT_PERMITTED_KHR"),
Self::ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT => {
Some("ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT")
}
@ -2340,13 +2346,13 @@ impl fmt::Debug for Result {
Self::THREAD_DONE_KHR => Some("THREAD_DONE_KHR"),
Self::OPERATION_DEFERRED_KHR => Some("OPERATION_DEFERRED_KHR"),
Self::OPERATION_NOT_DEFERRED_KHR => Some("OPERATION_NOT_DEFERRED_KHR"),
Self::PIPELINE_COMPILE_REQUIRED_EXT => Some("PIPELINE_COMPILE_REQUIRED_EXT"),
Self::ERROR_OUT_OF_POOL_MEMORY => Some("ERROR_OUT_OF_POOL_MEMORY"),
Self::ERROR_INVALID_EXTERNAL_HANDLE => Some("ERROR_INVALID_EXTERNAL_HANDLE"),
Self::ERROR_FRAGMENTATION => Some("ERROR_FRAGMENTATION"),
Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS => {
Some("ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS")
}
Self::PIPELINE_COMPILE_REQUIRED => Some("PIPELINE_COMPILE_REQUIRED"),
_ => None,
};
if let Some(x) = name {

File diff suppressed because it is too large Load diff

View file

@ -301,3 +301,151 @@ 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'"]
impl AccessFlags {
pub const NONE: Self = Self(0);
}
#[doc = "Generated from 'VK_VERSION_1_3'"]
impl AttachmentStoreOp {
pub const NONE: Self = Self(1_000_301_000);
}
#[doc = "Generated from 'VK_VERSION_1_3'"]
impl DescriptorType {
pub const INLINE_UNIFORM_BLOCK: Self = Self(1_000_138_000);
}
#[doc = "Generated from '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);
pub const PRIMITIVE_TOPOLOGY: Self = Self(1_000_267_002);
pub const VIEWPORT_WITH_COUNT: Self = Self(1_000_267_003);
pub const SCISSOR_WITH_COUNT: Self = Self(1_000_267_004);
pub const VERTEX_INPUT_BINDING_STRIDE: Self = Self(1_000_267_005);
pub const DEPTH_TEST_ENABLE: Self = Self(1_000_267_006);
pub const DEPTH_WRITE_ENABLE: Self = Self(1_000_267_007);
pub const DEPTH_COMPARE_OP: Self = Self(1_000_267_008);
pub const DEPTH_BOUNDS_TEST_ENABLE: Self = Self(1_000_267_009);
pub const STENCIL_TEST_ENABLE: Self = Self(1_000_267_010);
pub const STENCIL_OP: Self = Self(1_000_267_011);
pub const RASTERIZER_DISCARD_ENABLE: Self = Self(1_000_377_001);
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'"]
impl EventCreateFlags {
pub const DEVICE_ONLY: Self = Self(0b1);
}
#[doc = "Generated from '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);
pub const G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16: Self = Self(1_000_330_002);
pub const G16_B16R16_2PLANE_444_UNORM: Self = Self(1_000_330_003);
pub const A4R4G4B4_UNORM_PACK16: Self = Self(1_000_340_000);
pub const A4B4G4R4_UNORM_PACK16: Self = Self(1_000_340_001);
pub const ASTC_4X4_SFLOAT_BLOCK: Self = Self(1_000_066_000);
pub const ASTC_5X4_SFLOAT_BLOCK: Self = Self(1_000_066_001);
pub const ASTC_5X5_SFLOAT_BLOCK: Self = Self(1_000_066_002);
pub const ASTC_6X5_SFLOAT_BLOCK: Self = Self(1_000_066_003);
pub const ASTC_6X6_SFLOAT_BLOCK: Self = Self(1_000_066_004);
pub const ASTC_8X5_SFLOAT_BLOCK: Self = Self(1_000_066_005);
pub const ASTC_8X6_SFLOAT_BLOCK: Self = Self(1_000_066_006);
pub const ASTC_8X8_SFLOAT_BLOCK: Self = Self(1_000_066_007);
pub const ASTC_10X5_SFLOAT_BLOCK: Self = Self(1_000_066_008);
pub const ASTC_10X6_SFLOAT_BLOCK: Self = Self(1_000_066_009);
pub const ASTC_10X8_SFLOAT_BLOCK: Self = Self(1_000_066_010);
pub const ASTC_10X10_SFLOAT_BLOCK: Self = Self(1_000_066_011);
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'"]
impl ImageAspectFlags {
pub const NONE: Self = Self(0);
}
#[doc = "Generated from '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'"]
impl ObjectType {
pub const PRIVATE_DATA_SLOT: Self = Self(1_000_295_000);
}
#[doc = "Generated from 'VK_VERSION_1_3'"]
impl PipelineCacheCreateFlags {
pub const EXTERNALLY_SYNCHRONIZED: Self = Self(0b1);
}
#[doc = "Generated from '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'"]
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'"]
impl PipelineStageFlags {
pub const NONE: Self = Self(0);
}
#[doc = "Generated from 'VK_VERSION_1_3'"]
impl Result {
pub const PIPELINE_COMPILE_REQUIRED: Self = Self(1_000_297_000);
}
#[doc = "Generated from '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);
pub const PIPELINE_CREATION_FEEDBACK_CREATE_INFO: Self = Self(1_000_192_000);
pub const PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: Self = Self(1_000_215_000);
pub const PHYSICAL_DEVICE_TOOL_PROPERTIES: Self = Self(1_000_245_000);
pub const PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: Self =
Self(1_000_276_000);
pub const PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: Self = Self(1_000_295_000);
pub const DEVICE_PRIVATE_DATA_CREATE_INFO: Self = Self(1_000_295_001);
pub const PRIVATE_DATA_SLOT_CREATE_INFO: Self = Self(1_000_295_002);
pub const PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: Self = Self(1_000_297_000);
pub const MEMORY_BARRIER_2: Self = Self(1_000_314_000);
pub const BUFFER_MEMORY_BARRIER_2: Self = Self(1_000_314_001);
pub const IMAGE_MEMORY_BARRIER_2: Self = Self(1_000_314_002);
pub const DEPENDENCY_INFO: Self = Self(1_000_314_003);
pub const SUBMIT_INFO_2: Self = Self(1_000_314_004);
pub const SEMAPHORE_SUBMIT_INFO: Self = Self(1_000_314_005);
pub const COMMAND_BUFFER_SUBMIT_INFO: Self = Self(1_000_314_006);
pub const PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: Self = Self(1_000_314_007);
pub const PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: Self = Self(1_000_325_000);
pub const PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: Self = Self(1_000_335_000);
pub const COPY_BUFFER_INFO_2: Self = Self(1_000_337_000);
pub const COPY_IMAGE_INFO_2: Self = Self(1_000_337_001);
pub const COPY_BUFFER_TO_IMAGE_INFO_2: Self = Self(1_000_337_002);
pub const COPY_IMAGE_TO_BUFFER_INFO_2: Self = Self(1_000_337_003);
pub const BLIT_IMAGE_INFO_2: Self = Self(1_000_337_004);
pub const RESOLVE_IMAGE_INFO_2: Self = Self(1_000_337_005);
pub const BUFFER_COPY_2: Self = Self(1_000_337_006);
pub const IMAGE_COPY_2: Self = Self(1_000_337_007);
pub const IMAGE_BLIT_2: Self = Self(1_000_337_008);
pub const BUFFER_IMAGE_COPY_2: Self = Self(1_000_337_009);
pub const IMAGE_RESOLVE_2: Self = Self(1_000_337_010);
pub const PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: Self = Self(1_000_225_000);
pub const PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: Self = Self(1_000_225_001);
pub const PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: Self = Self(1_000_225_002);
pub const PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: Self = Self(1_000_138_000);
pub const PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: Self = Self(1_000_138_001);
pub const WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: Self = Self(1_000_138_002);
pub const DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: Self = Self(1_000_138_003);
pub const PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: Self = Self(1_000_066_000);
pub const RENDERING_INFO: Self = Self(1_000_044_000);
pub const RENDERING_ATTACHMENT_INFO: Self = Self(1_000_044_001);
pub const PIPELINE_RENDERING_CREATE_INFO: Self = Self(1_000_044_002);
pub const PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: Self = Self(1_000_044_003);
pub const COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: Self = Self(1_000_044_004);
pub const PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: Self = Self(1_000_280_000);
pub const PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: Self = Self(1_000_280_001);
pub const PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: Self = Self(1_000_281_001);
pub const FORMAT_PROPERTIES_3: Self = Self(1_000_360_000);
pub const PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: Self = Self(1_000_413_000);
pub const PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: Self = Self(1_000_413_001);
pub const DEVICE_BUFFER_MEMORY_REQUIREMENTS: Self = Self(1_000_413_002);
pub const DEVICE_IMAGE_MEMORY_REQUIREMENTS: Self = Self(1_000_413_003);
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit 52a76fd0a693708eb8c25bd0ab7a1008091f64d4
Subproject commit aa18f182ebba65438b1cfdbd571f020bb2e34d04