Update Vulkan-Headers to 1.3.235 (#667)
* Update Vulkan-Headers to 1.3.229 * Update Vulkan-Headers to 1.3.230 * Update Vulkan-Headers to 1.3.231 * Update Vulkan-Headers to 1.3.232 * Update Vulkan-Headers to 1.3.233 * Update Vulkan-Headers to 1.3.235 * README: Document experimental Vulkan Video bindings being semver-exempt
This commit is contained in:
parent
8b4575086e
commit
ba37cf3fc2
|
@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Added
|
||||
|
||||
- Added `VK_EXT_image_drm_format_modifier` device extension (#603)
|
||||
- Update Vulkan-Headers to 1.3.228 (#605, #608, #619, #655)
|
||||
- Update Vulkan-Headers to 1.3.235 (#605, #608, #619, #655, #667)
|
||||
- Added `const STRUCTURE_TYPE` to all Vulkan structures for matching with `match_struct!` macro (#614)
|
||||
- Added `VK_EXT_sample_locations` device extension (#616)
|
||||
- Added `VK_NV_coverage_reduction_mode` device extension (#617)
|
||||
|
|
|
@ -18,6 +18,11 @@ A very lightweight wrapper around Vulkan
|
|||
- [x] Generated from `vk.xml`
|
||||
- [x] Support for Vulkan `1.1`, `1.2`, `1.3`
|
||||
|
||||
## ⚠️ Semver compatibility warning
|
||||
The Vulkan Video bindings are experimental and still seeing breaking changes in their upstream specification, and are only provided by Ash for early adopters. All related functions and types are semver-exempt [^1] (we allow breaking API changes while releasing Ash with non-breaking semver bumps).
|
||||
|
||||
[^1]: `generator` complexity makes it so that we cannot easily hide these bindings behind a non-`default` feature flag, and they are widespread across the generated codebase.
|
||||
|
||||
## Features
|
||||
### Explicit returns with `Result`
|
||||
```rust
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ash"
|
||||
version = "0.37.0+1.3.228"
|
||||
version = "0.37.0+1.3.235"
|
||||
authors = ["maik klein <maikklein@googlemail.com>"]
|
||||
description = "Vulkan bindings for Rust"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
|
|
@ -923,6 +923,14 @@ impl PipelineCreationFeedbackFlags {
|
|||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMemoryDecompressionMethodFlagBitsNV.html>"]
|
||||
pub struct MemoryDecompressionMethodFlagsNV(pub(crate) Flags64);
|
||||
vk_bitflags_wrapped!(MemoryDecompressionMethodFlagsNV, Flags64);
|
||||
impl MemoryDecompressionMethodFlagsNV {
|
||||
pub const GDEFLATE_1_0: 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/VkPerformanceCounterDescriptionFlagBitsKHR.html>"]
|
||||
pub struct PerformanceCounterDescriptionFlagsKHR(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(PerformanceCounterDescriptionFlagsKHR, Flags);
|
||||
|
@ -1127,6 +1135,14 @@ impl GraphicsPipelineLibraryFlagsEXT {
|
|||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDeviceAddressBindingFlagBitsEXT.html>"]
|
||||
pub struct DeviceAddressBindingFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(DeviceAddressBindingFlagsEXT, Flags);
|
||||
impl DeviceAddressBindingFlagsEXT {
|
||||
pub const INTERNAL_OBJECT: 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/VkVideoCodecOperationFlagBitsKHR.html>"]
|
||||
pub struct VideoCodecOperationFlagsKHR(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(VideoCodecOperationFlagsKHR, Flags);
|
||||
|
@ -1542,3 +1558,66 @@ 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);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpticalFlowGridSizeFlagBitsNV.html>"]
|
||||
pub struct OpticalFlowGridSizeFlagsNV(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(OpticalFlowGridSizeFlagsNV, Flags);
|
||||
impl OpticalFlowGridSizeFlagsNV {
|
||||
pub const UNKNOWN: Self = Self(0);
|
||||
pub const TYPE_1X1: Self = Self(0b1);
|
||||
pub const TYPE_2X2: Self = Self(0b10);
|
||||
pub const TYPE_4X4: Self = Self(0b100);
|
||||
pub const TYPE_8X8: 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/VkOpticalFlowUsageFlagBitsNV.html>"]
|
||||
pub struct OpticalFlowUsageFlagsNV(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(OpticalFlowUsageFlagsNV, Flags);
|
||||
impl OpticalFlowUsageFlagsNV {
|
||||
pub const UNKNOWN: Self = Self(0);
|
||||
pub const INPUT: Self = Self(0b1);
|
||||
pub const OUTPUT: Self = Self(0b10);
|
||||
pub const HINT: Self = Self(0b100);
|
||||
pub const COST: Self = Self(0b1000);
|
||||
pub const GLOBAL_FLOW: Self = Self(0b1_0000);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpticalFlowSessionCreateFlagBitsNV.html>"]
|
||||
pub struct OpticalFlowSessionCreateFlagsNV(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(OpticalFlowSessionCreateFlagsNV, Flags);
|
||||
impl OpticalFlowSessionCreateFlagsNV {
|
||||
pub const ENABLE_HINT: Self = Self(0b1);
|
||||
pub const ENABLE_COST: Self = Self(0b10);
|
||||
pub const ENABLE_GLOBAL_FLOW: Self = Self(0b100);
|
||||
pub const ALLOW_REGIONS: Self = Self(0b1000);
|
||||
pub const BOTH_DIRECTIONS: Self = Self(0b1_0000);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpticalFlowExecuteFlagBitsNV.html>"]
|
||||
pub struct OpticalFlowExecuteFlagsNV(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(OpticalFlowExecuteFlagsNV, Flags);
|
||||
impl OpticalFlowExecuteFlagsNV {
|
||||
pub const DISABLE_TEMPORAL_HINTS: 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/VkBuildMicromapFlagBitsEXT.html>"]
|
||||
pub struct BuildMicromapFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(BuildMicromapFlagsEXT, Flags);
|
||||
impl BuildMicromapFlagsEXT {
|
||||
pub const PREFER_FAST_TRACE: Self = Self(0b1);
|
||||
pub const PREFER_FAST_BUILD: Self = Self(0b10);
|
||||
pub const ALLOW_COMPACTION: 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/VkMicromapCreateFlagBitsEXT.html>"]
|
||||
pub struct MicromapCreateFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(MicromapCreateFlagsEXT, Flags);
|
||||
impl MicromapCreateFlagsEXT {
|
||||
pub const DEVICE_ADDRESS_CAPTURE_REPLAY: Self = Self(0b1);
|
||||
}
|
||||
|
|
|
@ -40,8 +40,8 @@ impl fmt::Debug for AccelerationStructureCreateFlagsKHR {
|
|||
"DEVICE_ADDRESS_CAPTURE_REPLAY",
|
||||
),
|
||||
(
|
||||
AccelerationStructureCreateFlagsKHR::RESERVED_3_AMD.0,
|
||||
"RESERVED_3_AMD",
|
||||
AccelerationStructureCreateFlagsKHR::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
|
||||
),
|
||||
(
|
||||
AccelerationStructureCreateFlagsKHR::MOTION_NV.0,
|
||||
|
@ -304,7 +304,10 @@ impl fmt::Debug for AccessFlags2 {
|
|||
AccessFlags2::COLOR_ATTACHMENT_READ_NONCOHERENT_EXT.0,
|
||||
"COLOR_ATTACHMENT_READ_NONCOHERENT_EXT",
|
||||
),
|
||||
(AccessFlags2::RESERVED_41_AMD.0, "RESERVED_41_AMD"),
|
||||
(
|
||||
AccessFlags2::DESCRIPTOR_BUFFER_READ_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_READ_EXT",
|
||||
),
|
||||
(
|
||||
AccessFlags2::INVOCATION_MASK_READ_HUAWEI.0,
|
||||
"INVOCATION_MASK_READ_HUAWEI",
|
||||
|
@ -313,10 +316,13 @@ impl fmt::Debug for AccessFlags2 {
|
|||
AccessFlags2::SHADER_BINDING_TABLE_READ_KHR.0,
|
||||
"SHADER_BINDING_TABLE_READ_KHR",
|
||||
),
|
||||
(AccessFlags2::RESERVED_44_NV.0, "RESERVED_44_NV"),
|
||||
(AccessFlags2::RESERVED_45_NV.0, "RESERVED_45_NV"),
|
||||
(AccessFlags2::RESERVED_42_NV.0, "RESERVED_42_NV"),
|
||||
(AccessFlags2::RESERVED_43_NV.0, "RESERVED_43_NV"),
|
||||
(AccessFlags2::MICROMAP_READ_EXT.0, "MICROMAP_READ_EXT"),
|
||||
(AccessFlags2::MICROMAP_WRITE_EXT.0, "MICROMAP_WRITE_EXT"),
|
||||
(AccessFlags2::OPTICAL_FLOW_READ_NV.0, "OPTICAL_FLOW_READ_NV"),
|
||||
(
|
||||
AccessFlags2::OPTICAL_FLOW_WRITE_NV.0,
|
||||
"OPTICAL_FLOW_WRITE_NV",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -505,7 +511,10 @@ impl fmt::Debug for BufferCreateFlags {
|
|||
(BufferCreateFlags::SPARSE_BINDING.0, "SPARSE_BINDING"),
|
||||
(BufferCreateFlags::SPARSE_RESIDENCY.0, "SPARSE_RESIDENCY"),
|
||||
(BufferCreateFlags::SPARSE_ALIASED.0, "SPARSE_ALIASED"),
|
||||
(BufferCreateFlags::RESERVED_5_AMD.0, "RESERVED_5_AMD"),
|
||||
(
|
||||
BufferCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
|
||||
),
|
||||
(BufferCreateFlags::PROTECTED.0, "PROTECTED"),
|
||||
(
|
||||
BufferCreateFlags::DEVICE_ADDRESS_CAPTURE_REPLAY.0,
|
||||
|
@ -575,10 +584,26 @@ impl fmt::Debug for BufferUsageFlags {
|
|||
BufferUsageFlags::VIDEO_ENCODE_SRC_KHR.0,
|
||||
"VIDEO_ENCODE_SRC_KHR",
|
||||
),
|
||||
(BufferUsageFlags::RESERVED_21_AMD.0, "RESERVED_21_AMD"),
|
||||
(BufferUsageFlags::RESERVED_22_AMD.0, "RESERVED_22_AMD"),
|
||||
(BufferUsageFlags::RESERVED_23_NV.0, "RESERVED_23_NV"),
|
||||
(BufferUsageFlags::RESERVED_24_NV.0, "RESERVED_24_NV"),
|
||||
(
|
||||
BufferUsageFlags::SAMPLER_DESCRIPTOR_BUFFER_EXT.0,
|
||||
"SAMPLER_DESCRIPTOR_BUFFER_EXT",
|
||||
),
|
||||
(
|
||||
BufferUsageFlags::RESOURCE_DESCRIPTOR_BUFFER_EXT.0,
|
||||
"RESOURCE_DESCRIPTOR_BUFFER_EXT",
|
||||
),
|
||||
(
|
||||
BufferUsageFlags::PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT.0,
|
||||
"PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT",
|
||||
),
|
||||
(
|
||||
BufferUsageFlags::MICROMAP_BUILD_INPUT_READ_ONLY_EXT.0,
|
||||
"MICROMAP_BUILD_INPUT_READ_ONLY_EXT",
|
||||
),
|
||||
(
|
||||
BufferUsageFlags::MICROMAP_STORAGE_EXT.0,
|
||||
"MICROMAP_STORAGE_EXT",
|
||||
),
|
||||
(
|
||||
BufferUsageFlags::SHADER_DEVICE_ADDRESS.0,
|
||||
"SHADER_DEVICE_ADDRESS",
|
||||
|
@ -618,12 +643,16 @@ impl fmt::Debug for BuildAccelerationStructureFlagsKHR {
|
|||
),
|
||||
(BuildAccelerationStructureFlagsKHR::MOTION_NV.0, "MOTION_NV"),
|
||||
(
|
||||
BuildAccelerationStructureFlagsKHR::RESERVED_6_NV.0,
|
||||
"RESERVED_6_NV",
|
||||
BuildAccelerationStructureFlagsKHR::ALLOW_OPACITY_MICROMAP_UPDATE_EXT.0,
|
||||
"ALLOW_OPACITY_MICROMAP_UPDATE_EXT",
|
||||
),
|
||||
(
|
||||
BuildAccelerationStructureFlagsKHR::RESERVED_7_NV.0,
|
||||
"RESERVED_7_NV",
|
||||
BuildAccelerationStructureFlagsKHR::ALLOW_DISABLE_OPACITY_MICROMAPS_EXT.0,
|
||||
"ALLOW_DISABLE_OPACITY_MICROMAPS_EXT",
|
||||
),
|
||||
(
|
||||
BuildAccelerationStructureFlagsKHR::ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT.0,
|
||||
"ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT",
|
||||
),
|
||||
(
|
||||
BuildAccelerationStructureFlagsKHR::RESERVED_9_NV.0,
|
||||
|
@ -651,6 +680,38 @@ impl fmt::Debug for BuildAccelerationStructureModeKHR {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for BuildMicromapFlagsEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
(
|
||||
BuildMicromapFlagsEXT::PREFER_FAST_TRACE.0,
|
||||
"PREFER_FAST_TRACE",
|
||||
),
|
||||
(
|
||||
BuildMicromapFlagsEXT::PREFER_FAST_BUILD.0,
|
||||
"PREFER_FAST_BUILD",
|
||||
),
|
||||
(
|
||||
BuildMicromapFlagsEXT::ALLOW_COMPACTION.0,
|
||||
"ALLOW_COMPACTION",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for BuildMicromapModeEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::BUILD => Some("BUILD"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for ChromaLocation {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
|
@ -906,6 +967,22 @@ impl fmt::Debug for CopyAccelerationStructureModeKHR {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for CopyMicromapModeEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::CLONE => Some("CLONE"),
|
||||
Self::SERIALIZE => Some("SERIALIZE"),
|
||||
Self::DESERIALIZE => Some("DESERIALIZE"),
|
||||
Self::COMPACT => Some("COMPACT"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for CoverageModulationModeNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
|
@ -1030,6 +1107,10 @@ impl fmt::Debug for DebugUtilsMessageTypeFlagsEXT {
|
|||
(DebugUtilsMessageTypeFlagsEXT::GENERAL.0, "GENERAL"),
|
||||
(DebugUtilsMessageTypeFlagsEXT::VALIDATION.0, "VALIDATION"),
|
||||
(DebugUtilsMessageTypeFlagsEXT::PERFORMANCE.0, "PERFORMANCE"),
|
||||
(
|
||||
DebugUtilsMessageTypeFlagsEXT::DEVICE_ADDRESS_BINDING.0,
|
||||
"DEVICE_ADDRESS_BINDING",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -1108,12 +1189,12 @@ impl fmt::Debug for DescriptorSetLayoutCreateFlags {
|
|||
"PUSH_DESCRIPTOR_KHR",
|
||||
),
|
||||
(
|
||||
DescriptorSetLayoutCreateFlags::RESERVED_4_AMD.0,
|
||||
"RESERVED_4_AMD",
|
||||
DescriptorSetLayoutCreateFlags::DESCRIPTOR_BUFFER_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_EXT",
|
||||
),
|
||||
(
|
||||
DescriptorSetLayoutCreateFlags::RESERVED_5_AMD.0,
|
||||
"RESERVED_5_AMD",
|
||||
DescriptorSetLayoutCreateFlags::EMBEDDED_IMMUTABLE_SAMPLERS_EXT.0,
|
||||
"EMBEDDED_IMMUTABLE_SAMPLERS_EXT",
|
||||
),
|
||||
(
|
||||
DescriptorSetLayoutCreateFlags::RESERVED_3_AMD.0,
|
||||
|
@ -1180,6 +1261,29 @@ impl fmt::Debug for DescriptorUpdateTemplateType {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceAddressBindingFlagsEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[(
|
||||
DeviceAddressBindingFlagsEXT::INTERNAL_OBJECT.0,
|
||||
"INTERNAL_OBJECT",
|
||||
)];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceAddressBindingTypeEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::BIND => Some("BIND"),
|
||||
Self::UNBIND => Some("UNBIND"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceCreateFlags {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[];
|
||||
|
@ -1222,6 +1326,38 @@ impl fmt::Debug for DeviceEventTypeEXT {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceFaultAddressTypeEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::NONE => Some("NONE"),
|
||||
Self::READ_INVALID => Some("READ_INVALID"),
|
||||
Self::WRITE_INVALID => Some("WRITE_INVALID"),
|
||||
Self::EXECUTE_INVALID => Some("EXECUTE_INVALID"),
|
||||
Self::INSTRUCTION_POINTER_UNKNOWN => Some("INSTRUCTION_POINTER_UNKNOWN"),
|
||||
Self::INSTRUCTION_POINTER_INVALID => Some("INSTRUCTION_POINTER_INVALID"),
|
||||
Self::INSTRUCTION_POINTER_FAULT => Some("INSTRUCTION_POINTER_FAULT"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceFaultVendorBinaryHeaderVersionEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::ONE => Some("ONE"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for DeviceGroupPresentModeFlagsKHR {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
|
@ -1368,6 +1504,7 @@ impl fmt::Debug for DriverId {
|
|||
Self::SAMSUNG_PROPRIETARY => Some("SAMSUNG_PROPRIETARY"),
|
||||
Self::MESA_VENUS => Some("MESA_VENUS"),
|
||||
Self::MESA_DOZEN => Some("MESA_DOZEN"),
|
||||
Self::MESA_NVK => Some("MESA_NVK"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
|
@ -1404,6 +1541,45 @@ impl fmt::Debug for DynamicState {
|
|||
Self::PATCH_CONTROL_POINTS_EXT => Some("PATCH_CONTROL_POINTS_EXT"),
|
||||
Self::LOGIC_OP_EXT => Some("LOGIC_OP_EXT"),
|
||||
Self::COLOR_WRITE_ENABLE_EXT => Some("COLOR_WRITE_ENABLE_EXT"),
|
||||
Self::TESSELLATION_DOMAIN_ORIGIN_EXT => Some("TESSELLATION_DOMAIN_ORIGIN_EXT"),
|
||||
Self::DEPTH_CLAMP_ENABLE_EXT => Some("DEPTH_CLAMP_ENABLE_EXT"),
|
||||
Self::POLYGON_MODE_EXT => Some("POLYGON_MODE_EXT"),
|
||||
Self::RASTERIZATION_SAMPLES_EXT => Some("RASTERIZATION_SAMPLES_EXT"),
|
||||
Self::SAMPLE_MASK_EXT => Some("SAMPLE_MASK_EXT"),
|
||||
Self::ALPHA_TO_COVERAGE_ENABLE_EXT => Some("ALPHA_TO_COVERAGE_ENABLE_EXT"),
|
||||
Self::ALPHA_TO_ONE_ENABLE_EXT => Some("ALPHA_TO_ONE_ENABLE_EXT"),
|
||||
Self::LOGIC_OP_ENABLE_EXT => Some("LOGIC_OP_ENABLE_EXT"),
|
||||
Self::COLOR_BLEND_ENABLE_EXT => Some("COLOR_BLEND_ENABLE_EXT"),
|
||||
Self::COLOR_BLEND_EQUATION_EXT => Some("COLOR_BLEND_EQUATION_EXT"),
|
||||
Self::COLOR_WRITE_MASK_EXT => Some("COLOR_WRITE_MASK_EXT"),
|
||||
Self::RASTERIZATION_STREAM_EXT => Some("RASTERIZATION_STREAM_EXT"),
|
||||
Self::CONSERVATIVE_RASTERIZATION_MODE_EXT => {
|
||||
Some("CONSERVATIVE_RASTERIZATION_MODE_EXT")
|
||||
}
|
||||
Self::EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXT => {
|
||||
Some("EXTRA_PRIMITIVE_OVERESTIMATION_SIZE_EXT")
|
||||
}
|
||||
Self::DEPTH_CLIP_ENABLE_EXT => Some("DEPTH_CLIP_ENABLE_EXT"),
|
||||
Self::SAMPLE_LOCATIONS_ENABLE_EXT => Some("SAMPLE_LOCATIONS_ENABLE_EXT"),
|
||||
Self::COLOR_BLEND_ADVANCED_EXT => Some("COLOR_BLEND_ADVANCED_EXT"),
|
||||
Self::PROVOKING_VERTEX_MODE_EXT => Some("PROVOKING_VERTEX_MODE_EXT"),
|
||||
Self::LINE_RASTERIZATION_MODE_EXT => Some("LINE_RASTERIZATION_MODE_EXT"),
|
||||
Self::LINE_STIPPLE_ENABLE_EXT => Some("LINE_STIPPLE_ENABLE_EXT"),
|
||||
Self::DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXT => Some("DEPTH_CLIP_NEGATIVE_ONE_TO_ONE_EXT"),
|
||||
Self::VIEWPORT_W_SCALING_ENABLE_NV => Some("VIEWPORT_W_SCALING_ENABLE_NV"),
|
||||
Self::VIEWPORT_SWIZZLE_NV => Some("VIEWPORT_SWIZZLE_NV"),
|
||||
Self::COVERAGE_TO_COLOR_ENABLE_NV => Some("COVERAGE_TO_COLOR_ENABLE_NV"),
|
||||
Self::COVERAGE_TO_COLOR_LOCATION_NV => Some("COVERAGE_TO_COLOR_LOCATION_NV"),
|
||||
Self::COVERAGE_MODULATION_MODE_NV => Some("COVERAGE_MODULATION_MODE_NV"),
|
||||
Self::COVERAGE_MODULATION_TABLE_ENABLE_NV => {
|
||||
Some("COVERAGE_MODULATION_TABLE_ENABLE_NV")
|
||||
}
|
||||
Self::COVERAGE_MODULATION_TABLE_NV => Some("COVERAGE_MODULATION_TABLE_NV"),
|
||||
Self::SHADING_RATE_IMAGE_ENABLE_NV => Some("SHADING_RATE_IMAGE_ENABLE_NV"),
|
||||
Self::REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV => {
|
||||
Some("REPRESENTATIVE_FRAGMENT_TEST_ENABLE_NV")
|
||||
}
|
||||
Self::COVERAGE_REDUCTION_MODE_NV => Some("COVERAGE_REDUCTION_MODE_NV"),
|
||||
Self::CULL_MODE => Some("CULL_MODE"),
|
||||
Self::FRONT_FACE => Some("FRONT_FACE"),
|
||||
Self::PRIMITIVE_TOPOLOGY => Some("PRIMITIVE_TOPOLOGY"),
|
||||
|
@ -1890,6 +2066,7 @@ impl fmt::Debug for Format {
|
|||
Self::ASTC_6X6X6_UNORM_BLOCK_EXT => Some("ASTC_6X6X6_UNORM_BLOCK_EXT"),
|
||||
Self::ASTC_6X6X6_SRGB_BLOCK_EXT => Some("ASTC_6X6X6_SRGB_BLOCK_EXT"),
|
||||
Self::ASTC_6X6X6_SFLOAT_BLOCK_EXT => Some("ASTC_6X6X6_SFLOAT_BLOCK_EXT"),
|
||||
Self::R16G16_S10_5_NV => Some("R16G16_S10_5_NV"),
|
||||
Self::G8B8G8R8_422_UNORM => Some("G8B8G8R8_422_UNORM"),
|
||||
Self::B8G8R8G8_422_UNORM => Some("B8G8R8G8_422_UNORM"),
|
||||
Self::G8_B8_R8_3PLANE_420_UNORM => Some("G8_B8_R8_3PLANE_420_UNORM"),
|
||||
|
@ -1993,7 +2170,7 @@ impl fmt::Debug for FormatFeatureFlags {
|
|||
}
|
||||
impl fmt::Debug for FormatFeatureFlags2 {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN : & [(Flags64 , & str)] = & [(FormatFeatureFlags2 :: SAMPLED_IMAGE . 0 , "SAMPLED_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE . 0 , "STORAGE_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE_ATOMIC . 0 , "STORAGE_IMAGE_ATOMIC") , (FormatFeatureFlags2 :: UNIFORM_TEXEL_BUFFER . 0 , "UNIFORM_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER . 0 , "STORAGE_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER_ATOMIC . 0 , "STORAGE_TEXEL_BUFFER_ATOMIC") , (FormatFeatureFlags2 :: VERTEX_BUFFER . 0 , "VERTEX_BUFFER") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT . 0 , "COLOR_ATTACHMENT") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT_BLEND . 0 , "COLOR_ATTACHMENT_BLEND") , (FormatFeatureFlags2 :: DEPTH_STENCIL_ATTACHMENT . 0 , "DEPTH_STENCIL_ATTACHMENT") , (FormatFeatureFlags2 :: BLIT_SRC . 0 , "BLIT_SRC") , (FormatFeatureFlags2 :: BLIT_DST . 0 , "BLIT_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_LINEAR . 0 , "SAMPLED_IMAGE_FILTER_LINEAR") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_CUBIC . 0 , "SAMPLED_IMAGE_FILTER_CUBIC") , (FormatFeatureFlags2 :: TRANSFER_SRC . 0 , "TRANSFER_SRC") , (FormatFeatureFlags2 :: TRANSFER_DST . 0 , "TRANSFER_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_MINMAX . 0 , "SAMPLED_IMAGE_FILTER_MINMAX") , (FormatFeatureFlags2 :: MIDPOINT_CHROMA_SAMPLES . 0 , "MIDPOINT_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE") , (FormatFeatureFlags2 :: DISJOINT . 0 , "DISJOINT") , (FormatFeatureFlags2 :: COSITED_CHROMA_SAMPLES . 0 , "COSITED_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: STORAGE_READ_WITHOUT_FORMAT . 0 , "STORAGE_READ_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: STORAGE_WRITE_WITHOUT_FORMAT . 0 , "STORAGE_WRITE_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_DEPTH_COMPARISON . 0 , "SAMPLED_IMAGE_DEPTH_COMPARISON") , (FormatFeatureFlags2 :: VIDEO_DECODE_OUTPUT_KHR . 0 , "VIDEO_DECODE_OUTPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_DECODE_DPB_KHR . 0 , "VIDEO_DECODE_DPB_KHR") , (FormatFeatureFlags2 :: ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR . 0 , "ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR") , (FormatFeatureFlags2 :: FRAGMENT_DENSITY_MAP_EXT . 0 , "FRAGMENT_DENSITY_MAP_EXT") , (FormatFeatureFlags2 :: FRAGMENT_SHADING_RATE_ATTACHMENT_KHR . 0 , "FRAGMENT_SHADING_RATE_ATTACHMENT_KHR") , (FormatFeatureFlags2 :: RESERVED_44_EXT . 0 , "RESERVED_44_EXT") , (FormatFeatureFlags2 :: RESERVED_45_EXT . 0 , "RESERVED_45_EXT") , (FormatFeatureFlags2 :: VIDEO_ENCODE_INPUT_KHR . 0 , "VIDEO_ENCODE_INPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_DPB_KHR . 0 , "VIDEO_ENCODE_DPB_KHR") , (FormatFeatureFlags2 :: LINEAR_COLOR_ATTACHMENT_NV . 0 , "LINEAR_COLOR_ATTACHMENT_NV") , (FormatFeatureFlags2 :: WEIGHT_IMAGE_QCOM . 0 , "WEIGHT_IMAGE_QCOM") , (FormatFeatureFlags2 :: WEIGHT_SAMPLED_IMAGE_QCOM . 0 , "WEIGHT_SAMPLED_IMAGE_QCOM") , (FormatFeatureFlags2 :: BLOCK_MATCHING_QCOM . 0 , "BLOCK_MATCHING_QCOM") , (FormatFeatureFlags2 :: BOX_FILTER_SAMPLED_QCOM . 0 , "BOX_FILTER_SAMPLED_QCOM") , (FormatFeatureFlags2 :: RESERVED_39_EXT . 0 , "RESERVED_39_EXT") , (FormatFeatureFlags2 :: RESERVED_40_NV . 0 , "RESERVED_40_NV") , (FormatFeatureFlags2 :: RESERVED_41_NV . 0 , "RESERVED_41_NV") , (FormatFeatureFlags2 :: RESERVED_42_NV . 0 , "RESERVED_42_NV") , (FormatFeatureFlags2 :: RESERVED_43_NV . 0 , "RESERVED_43_NV")] ;
|
||||
const KNOWN : & [(Flags64 , & str)] = & [(FormatFeatureFlags2 :: SAMPLED_IMAGE . 0 , "SAMPLED_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE . 0 , "STORAGE_IMAGE") , (FormatFeatureFlags2 :: STORAGE_IMAGE_ATOMIC . 0 , "STORAGE_IMAGE_ATOMIC") , (FormatFeatureFlags2 :: UNIFORM_TEXEL_BUFFER . 0 , "UNIFORM_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER . 0 , "STORAGE_TEXEL_BUFFER") , (FormatFeatureFlags2 :: STORAGE_TEXEL_BUFFER_ATOMIC . 0 , "STORAGE_TEXEL_BUFFER_ATOMIC") , (FormatFeatureFlags2 :: VERTEX_BUFFER . 0 , "VERTEX_BUFFER") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT . 0 , "COLOR_ATTACHMENT") , (FormatFeatureFlags2 :: COLOR_ATTACHMENT_BLEND . 0 , "COLOR_ATTACHMENT_BLEND") , (FormatFeatureFlags2 :: DEPTH_STENCIL_ATTACHMENT . 0 , "DEPTH_STENCIL_ATTACHMENT") , (FormatFeatureFlags2 :: BLIT_SRC . 0 , "BLIT_SRC") , (FormatFeatureFlags2 :: BLIT_DST . 0 , "BLIT_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_LINEAR . 0 , "SAMPLED_IMAGE_FILTER_LINEAR") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_CUBIC . 0 , "SAMPLED_IMAGE_FILTER_CUBIC") , (FormatFeatureFlags2 :: TRANSFER_SRC . 0 , "TRANSFER_SRC") , (FormatFeatureFlags2 :: TRANSFER_DST . 0 , "TRANSFER_DST") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_FILTER_MINMAX . 0 , "SAMPLED_IMAGE_FILTER_MINMAX") , (FormatFeatureFlags2 :: MIDPOINT_CHROMA_SAMPLES . 0 , "MIDPOINT_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE") , (FormatFeatureFlags2 :: DISJOINT . 0 , "DISJOINT") , (FormatFeatureFlags2 :: COSITED_CHROMA_SAMPLES . 0 , "COSITED_CHROMA_SAMPLES") , (FormatFeatureFlags2 :: STORAGE_READ_WITHOUT_FORMAT . 0 , "STORAGE_READ_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: STORAGE_WRITE_WITHOUT_FORMAT . 0 , "STORAGE_WRITE_WITHOUT_FORMAT") , (FormatFeatureFlags2 :: SAMPLED_IMAGE_DEPTH_COMPARISON . 0 , "SAMPLED_IMAGE_DEPTH_COMPARISON") , (FormatFeatureFlags2 :: VIDEO_DECODE_OUTPUT_KHR . 0 , "VIDEO_DECODE_OUTPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_DECODE_DPB_KHR . 0 , "VIDEO_DECODE_DPB_KHR") , (FormatFeatureFlags2 :: ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR . 0 , "ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR") , (FormatFeatureFlags2 :: FRAGMENT_DENSITY_MAP_EXT . 0 , "FRAGMENT_DENSITY_MAP_EXT") , (FormatFeatureFlags2 :: FRAGMENT_SHADING_RATE_ATTACHMENT_KHR . 0 , "FRAGMENT_SHADING_RATE_ATTACHMENT_KHR") , (FormatFeatureFlags2 :: RESERVED_44_EXT . 0 , "RESERVED_44_EXT") , (FormatFeatureFlags2 :: RESERVED_45_EXT . 0 , "RESERVED_45_EXT") , (FormatFeatureFlags2 :: VIDEO_ENCODE_INPUT_KHR . 0 , "VIDEO_ENCODE_INPUT_KHR") , (FormatFeatureFlags2 :: VIDEO_ENCODE_DPB_KHR . 0 , "VIDEO_ENCODE_DPB_KHR") , (FormatFeatureFlags2 :: LINEAR_COLOR_ATTACHMENT_NV . 0 , "LINEAR_COLOR_ATTACHMENT_NV") , (FormatFeatureFlags2 :: WEIGHT_IMAGE_QCOM . 0 , "WEIGHT_IMAGE_QCOM") , (FormatFeatureFlags2 :: WEIGHT_SAMPLED_IMAGE_QCOM . 0 , "WEIGHT_SAMPLED_IMAGE_QCOM") , (FormatFeatureFlags2 :: BLOCK_MATCHING_QCOM . 0 , "BLOCK_MATCHING_QCOM") , (FormatFeatureFlags2 :: BOX_FILTER_SAMPLED_QCOM . 0 , "BOX_FILTER_SAMPLED_QCOM") , (FormatFeatureFlags2 :: RESERVED_39_EXT . 0 , "RESERVED_39_EXT") , (FormatFeatureFlags2 :: OPTICAL_FLOW_IMAGE_NV . 0 , "OPTICAL_FLOW_IMAGE_NV") , (FormatFeatureFlags2 :: OPTICAL_FLOW_VECTOR_NV . 0 , "OPTICAL_FLOW_VECTOR_NV") , (FormatFeatureFlags2 :: OPTICAL_FLOW_COST_NV . 0 , "OPTICAL_FLOW_COST_NV")] ;
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
|
@ -2116,8 +2293,14 @@ impl fmt::Debug for GeometryInstanceFlagsKHR {
|
|||
GeometryInstanceFlagsKHR::FORCE_NO_OPAQUE.0,
|
||||
"FORCE_NO_OPAQUE",
|
||||
),
|
||||
(GeometryInstanceFlagsKHR::RESERVED_4_NV.0, "RESERVED_4_NV"),
|
||||
(GeometryInstanceFlagsKHR::RESERVED_5_NV.0, "RESERVED_5_NV"),
|
||||
(
|
||||
GeometryInstanceFlagsKHR::FORCE_OPACITY_MICROMAP_2_STATE_EXT.0,
|
||||
"FORCE_OPACITY_MICROMAP_2_STATE_EXT",
|
||||
),
|
||||
(
|
||||
GeometryInstanceFlagsKHR::DISABLE_OPACITY_MICROMAPS_EXT.0,
|
||||
"DISABLE_OPACITY_MICROMAPS_EXT",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -2327,7 +2510,10 @@ impl fmt::Debug for ImageCreateFlags {
|
|||
),
|
||||
(ImageCreateFlags::SUBSAMPLED_EXT.0, "SUBSAMPLED_EXT"),
|
||||
(ImageCreateFlags::RESERVED_19_EXT.0, "RESERVED_19_EXT"),
|
||||
(ImageCreateFlags::RESERVED_16_AMD.0, "RESERVED_16_AMD"),
|
||||
(
|
||||
ImageCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
|
||||
),
|
||||
(
|
||||
ImageCreateFlags::MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_EXT.0,
|
||||
"MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_EXT",
|
||||
|
@ -2526,7 +2712,10 @@ impl fmt::Debug for ImageViewCreateFlags {
|
|||
ImageViewCreateFlags::FRAGMENT_DENSITY_MAP_DYNAMIC_EXT.0,
|
||||
"FRAGMENT_DENSITY_MAP_DYNAMIC_EXT",
|
||||
),
|
||||
(ImageViewCreateFlags::RESERVED_2_AMD.0, "RESERVED_2_AMD"),
|
||||
(
|
||||
ImageViewCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
|
||||
),
|
||||
(
|
||||
ImageViewCreateFlags::FRAGMENT_DENSITY_MAP_DEFERRED_EXT.0,
|
||||
"FRAGMENT_DENSITY_MAP_DEFERRED_EXT",
|
||||
|
@ -2703,6 +2892,15 @@ impl fmt::Debug for MemoryAllocateFlags {
|
|||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for MemoryDecompressionMethodFlagsNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags64, &str)] = &[(
|
||||
MemoryDecompressionMethodFlagsNV::GDEFLATE_1_0.0,
|
||||
"GDEFLATE_1_0",
|
||||
)];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for MemoryHeapFlags {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
|
@ -2762,6 +2960,156 @@ impl fmt::Debug for MetalSurfaceCreateFlagsEXT {
|
|||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for MicromapCreateFlagsEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[(
|
||||
MicromapCreateFlagsEXT::DEVICE_ADDRESS_CAPTURE_REPLAY.0,
|
||||
"DEVICE_ADDRESS_CAPTURE_REPLAY",
|
||||
)];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for MicromapTypeEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::OPACITY_MICROMAP => Some("OPACITY_MICROMAP"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpacityMicromapFormatEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::TYPE_2_STATE => Some("TYPE_2_STATE"),
|
||||
Self::TYPE_4_STATE => Some("TYPE_4_STATE"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpacityMicromapSpecialIndexEXT {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::FULLY_TRANSPARENT => Some("FULLY_TRANSPARENT"),
|
||||
Self::FULLY_OPAQUE => Some("FULLY_OPAQUE"),
|
||||
Self::FULLY_UNKNOWN_TRANSPARENT => Some("FULLY_UNKNOWN_TRANSPARENT"),
|
||||
Self::FULLY_UNKNOWN_OPAQUE => Some("FULLY_UNKNOWN_OPAQUE"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowExecuteFlagsNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[(
|
||||
OpticalFlowExecuteFlagsNV::DISABLE_TEMPORAL_HINTS.0,
|
||||
"DISABLE_TEMPORAL_HINTS",
|
||||
)];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowGridSizeFlagsNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
(OpticalFlowGridSizeFlagsNV::UNKNOWN.0, "UNKNOWN"),
|
||||
(OpticalFlowGridSizeFlagsNV::TYPE_1X1.0, "TYPE_1X1"),
|
||||
(OpticalFlowGridSizeFlagsNV::TYPE_2X2.0, "TYPE_2X2"),
|
||||
(OpticalFlowGridSizeFlagsNV::TYPE_4X4.0, "TYPE_4X4"),
|
||||
(OpticalFlowGridSizeFlagsNV::TYPE_8X8.0, "TYPE_8X8"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowPerformanceLevelNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::UNKNOWN => Some("UNKNOWN"),
|
||||
Self::SLOW => Some("SLOW"),
|
||||
Self::MEDIUM => Some("MEDIUM"),
|
||||
Self::FAST => Some("FAST"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowSessionBindingPointNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::UNKNOWN => Some("UNKNOWN"),
|
||||
Self::INPUT => Some("INPUT"),
|
||||
Self::REFERENCE => Some("REFERENCE"),
|
||||
Self::HINT => Some("HINT"),
|
||||
Self::FLOW_VECTOR => Some("FLOW_VECTOR"),
|
||||
Self::BACKWARD_FLOW_VECTOR => Some("BACKWARD_FLOW_VECTOR"),
|
||||
Self::COST => Some("COST"),
|
||||
Self::BACKWARD_COST => Some("BACKWARD_COST"),
|
||||
Self::GLOBAL_FLOW => Some("GLOBAL_FLOW"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowSessionCreateFlagsNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
(
|
||||
OpticalFlowSessionCreateFlagsNV::ENABLE_HINT.0,
|
||||
"ENABLE_HINT",
|
||||
),
|
||||
(
|
||||
OpticalFlowSessionCreateFlagsNV::ENABLE_COST.0,
|
||||
"ENABLE_COST",
|
||||
),
|
||||
(
|
||||
OpticalFlowSessionCreateFlagsNV::ENABLE_GLOBAL_FLOW.0,
|
||||
"ENABLE_GLOBAL_FLOW",
|
||||
),
|
||||
(
|
||||
OpticalFlowSessionCreateFlagsNV::ALLOW_REGIONS.0,
|
||||
"ALLOW_REGIONS",
|
||||
),
|
||||
(
|
||||
OpticalFlowSessionCreateFlagsNV::BOTH_DIRECTIONS.0,
|
||||
"BOTH_DIRECTIONS",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for OpticalFlowUsageFlagsNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
(OpticalFlowUsageFlagsNV::UNKNOWN.0, "UNKNOWN"),
|
||||
(OpticalFlowUsageFlagsNV::INPUT.0, "INPUT"),
|
||||
(OpticalFlowUsageFlagsNV::OUTPUT.0, "OUTPUT"),
|
||||
(OpticalFlowUsageFlagsNV::HINT.0, "HINT"),
|
||||
(OpticalFlowUsageFlagsNV::COST.0, "COST"),
|
||||
(OpticalFlowUsageFlagsNV::GLOBAL_FLOW.0, "GLOBAL_FLOW"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for PeerMemoryFeatureFlags {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
|
@ -3058,7 +3406,10 @@ impl fmt::Debug for PipelineCreateFlags {
|
|||
"INDIRECT_BINDABLE_NV",
|
||||
),
|
||||
(PipelineCreateFlags::LIBRARY_KHR.0, "LIBRARY_KHR"),
|
||||
(PipelineCreateFlags::RESERVED_29_AMD.0, "RESERVED_29_AMD"),
|
||||
(
|
||||
PipelineCreateFlags::DESCRIPTOR_BUFFER_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_EXT",
|
||||
),
|
||||
(
|
||||
PipelineCreateFlags::RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT.0,
|
||||
"RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT",
|
||||
|
@ -3079,10 +3430,19 @@ impl fmt::Debug for PipelineCreateFlags {
|
|||
PipelineCreateFlags::DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT.0,
|
||||
"DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT",
|
||||
),
|
||||
(PipelineCreateFlags::RESERVED_24_NV.0, "RESERVED_24_NV"),
|
||||
(
|
||||
PipelineCreateFlags::RAY_TRACING_OPACITY_MICROMAP_EXT.0,
|
||||
"RAY_TRACING_OPACITY_MICROMAP_EXT",
|
||||
),
|
||||
(PipelineCreateFlags::RESERVED_28_NV.0, "RESERVED_28_NV"),
|
||||
(PipelineCreateFlags::RESERVED_27_EXT.0, "RESERVED_27_EXT"),
|
||||
(PipelineCreateFlags::RESERVED_30_EXT.0, "RESERVED_30_EXT"),
|
||||
(
|
||||
PipelineCreateFlags::NO_PROTECTED_ACCESS_EXT.0,
|
||||
"NO_PROTECTED_ACCESS_EXT",
|
||||
),
|
||||
(
|
||||
PipelineCreateFlags::PROTECTED_ACCESS_ONLY_EXT.0,
|
||||
"PROTECTED_ACCESS_ONLY_EXT",
|
||||
),
|
||||
(
|
||||
PipelineCreateFlags::VIEW_INDEX_FROM_DEVICE_INDEX.0,
|
||||
"VIEW_INDEX_FROM_DEVICE_INDEX",
|
||||
|
@ -3415,8 +3775,15 @@ impl fmt::Debug for PipelineStageFlags2 {
|
|||
PipelineStageFlags2::ACCELERATION_STRUCTURE_COPY_KHR.0,
|
||||
"ACCELERATION_STRUCTURE_COPY_KHR",
|
||||
),
|
||||
(PipelineStageFlags2::RESERVED_30_NV.0, "RESERVED_30_NV"),
|
||||
(PipelineStageFlags2::RESERVED_29_NV.0, "RESERVED_29_NV"),
|
||||
(
|
||||
PipelineStageFlags2::MICROMAP_BUILD_EXT.0,
|
||||
"MICROMAP_BUILD_EXT",
|
||||
),
|
||||
(
|
||||
PipelineStageFlags2::RESEVED_41_HUAWEI.0,
|
||||
"RESEVED_41_HUAWEI",
|
||||
),
|
||||
(PipelineStageFlags2::OPTICAL_FLOW_NV.0, "OPTICAL_FLOW_NV"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -3675,6 +4042,8 @@ impl fmt::Debug for QueryType {
|
|||
Some("ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR")
|
||||
}
|
||||
Self::ACCELERATION_STRUCTURE_SIZE_KHR => Some("ACCELERATION_STRUCTURE_SIZE_KHR"),
|
||||
Self::MICROMAP_SERIALIZATION_SIZE_EXT => Some("MICROMAP_SERIALIZATION_SIZE_EXT"),
|
||||
Self::MICROMAP_COMPACTED_SIZE_EXT => Some("MICROMAP_COMPACTED_SIZE_EXT"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
|
@ -3695,7 +4064,7 @@ impl fmt::Debug for QueueFlags {
|
|||
(QueueFlags::RESERVED_9_EXT.0, "RESERVED_9_EXT"),
|
||||
(QueueFlags::VIDEO_ENCODE_KHR.0, "VIDEO_ENCODE_KHR"),
|
||||
(QueueFlags::RESERVED_7_QCOM.0, "RESERVED_7_QCOM"),
|
||||
(QueueFlags::RESERVED_8_NV.0, "RESERVED_8_NV"),
|
||||
(QueueFlags::OPTICAL_FLOW_NV.0, "OPTICAL_FLOW_NV"),
|
||||
(QueueFlags::PROTECTED.0, "PROTECTED"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
|
@ -3731,6 +4100,20 @@ impl fmt::Debug for RasterizationOrderAMD {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for RayTracingInvocationReorderModeNV {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
Self::NONE => Some("NONE"),
|
||||
Self::REORDER => Some("REORDER"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
f.write_str(x)
|
||||
} else {
|
||||
self.0.fmt(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
impl fmt::Debug for RayTracingShaderGroupTypeKHR {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
|
@ -3823,7 +4206,10 @@ impl fmt::Debug for SamplerCreateFlags {
|
|||
SamplerCreateFlags::SUBSAMPLED_COARSE_RECONSTRUCTION_EXT.0,
|
||||
"SUBSAMPLED_COARSE_RECONSTRUCTION_EXT",
|
||||
),
|
||||
(SamplerCreateFlags::RESERVED_3_AMD.0, "RESERVED_3_AMD"),
|
||||
(
|
||||
SamplerCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
|
||||
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
|
||||
),
|
||||
(
|
||||
SamplerCreateFlags::NON_SEAMLESS_CUBE_MAP_EXT.0,
|
||||
"NON_SEAMLESS_CUBE_MAP_EXT",
|
||||
|
@ -4037,6 +4423,7 @@ impl fmt::Debug for ShaderStageFlags {
|
|||
ShaderStageFlags::SUBPASS_SHADING_HUAWEI.0,
|
||||
"SUBPASS_SHADING_HUAWEI",
|
||||
),
|
||||
(ShaderStageFlags::RESERVED_19_HUAWEI.0, "RESERVED_19_HUAWEI"),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_15.0, "EXT_483_RESERVE_15"),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_16.0, "EXT_483_RESERVE_16"),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_17.0, "EXT_483_RESERVE_17"),
|
||||
|
@ -4359,7 +4746,6 @@ impl fmt::Debug for StructureType {
|
|||
}
|
||||
Self::VIDEO_DECODE_H264_CAPABILITIES_EXT => Some("VIDEO_DECODE_H264_CAPABILITIES_EXT"),
|
||||
Self::VIDEO_DECODE_H264_PICTURE_INFO_EXT => Some("VIDEO_DECODE_H264_PICTURE_INFO_EXT"),
|
||||
Self::VIDEO_DECODE_H264_MVC_INFO_EXT => Some("VIDEO_DECODE_H264_MVC_INFO_EXT"),
|
||||
Self::VIDEO_DECODE_H264_PROFILE_INFO_EXT => Some("VIDEO_DECODE_H264_PROFILE_INFO_EXT"),
|
||||
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT => {
|
||||
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT")
|
||||
|
@ -5008,6 +5394,15 @@ impl fmt::Debug for StructureType {
|
|||
Some("PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT")
|
||||
}
|
||||
Self::PIPELINE_LIBRARY_CREATE_INFO_KHR => Some("PIPELINE_LIBRARY_CREATE_INFO_KHR"),
|
||||
Self::PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV")
|
||||
}
|
||||
Self::SURFACE_CAPABILITIES_PRESENT_BARRIER_NV => {
|
||||
Some("SURFACE_CAPABILITIES_PRESENT_BARRIER_NV")
|
||||
}
|
||||
Self::SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV => {
|
||||
Some("SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV")
|
||||
}
|
||||
Self::PRESENT_ID_KHR => Some("PRESENT_ID_KHR"),
|
||||
Self::PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR => {
|
||||
Some("PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR")
|
||||
|
@ -5046,6 +5441,39 @@ impl fmt::Debug for StructureType {
|
|||
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV")
|
||||
}
|
||||
Self::CHECKPOINT_DATA_2_NV => Some("CHECKPOINT_DATA_2_NV"),
|
||||
Self::PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT")
|
||||
}
|
||||
Self::DESCRIPTOR_ADDRESS_INFO_EXT => Some("DESCRIPTOR_ADDRESS_INFO_EXT"),
|
||||
Self::DESCRIPTOR_GET_INFO_EXT => Some("DESCRIPTOR_GET_INFO_EXT"),
|
||||
Self::BUFFER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT => {
|
||||
Some("BUFFER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT")
|
||||
}
|
||||
Self::IMAGE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT => {
|
||||
Some("IMAGE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT")
|
||||
}
|
||||
Self::IMAGE_VIEW_CAPTURE_DESCRIPTOR_DATA_INFO_EXT => {
|
||||
Some("IMAGE_VIEW_CAPTURE_DESCRIPTOR_DATA_INFO_EXT")
|
||||
}
|
||||
Self::SAMPLER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT => {
|
||||
Some("SAMPLER_CAPTURE_DESCRIPTOR_DATA_INFO_EXT")
|
||||
}
|
||||
Self::OPAQUE_CAPTURE_DESCRIPTOR_DATA_CREATE_INFO_EXT => {
|
||||
Some("OPAQUE_CAPTURE_DESCRIPTOR_DATA_CREATE_INFO_EXT")
|
||||
}
|
||||
Self::DESCRIPTOR_BUFFER_BINDING_INFO_EXT => Some("DESCRIPTOR_BUFFER_BINDING_INFO_EXT"),
|
||||
Self::DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT => {
|
||||
Some("DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT")
|
||||
}
|
||||
Self::ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT => {
|
||||
Some("ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT")
|
||||
}
|
||||
|
@ -5117,6 +5545,9 @@ impl fmt::Debug for StructureType {
|
|||
Self::PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_FAULT_FEATURES_EXT => Some("PHYSICAL_DEVICE_FAULT_FEATURES_EXT"),
|
||||
Self::DEVICE_FAULT_COUNTS_EXT => Some("DEVICE_FAULT_COUNTS_EXT"),
|
||||
Self::DEVICE_FAULT_INFO_EXT => Some("DEVICE_FAULT_INFO_EXT"),
|
||||
Self::PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT")
|
||||
}
|
||||
|
@ -5131,6 +5562,12 @@ impl fmt::Debug for StructureType {
|
|||
Some("VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_DRM_PROPERTIES_EXT => Some("PHYSICAL_DEVICE_DRM_PROPERTIES_EXT"),
|
||||
Self::PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT")
|
||||
}
|
||||
Self::DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT => {
|
||||
Some("DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT")
|
||||
}
|
||||
|
@ -5237,6 +5674,22 @@ impl fmt::Debug for StructureType {
|
|||
Self::PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT")
|
||||
}
|
||||
Self::MICROMAP_BUILD_INFO_EXT => Some("MICROMAP_BUILD_INFO_EXT"),
|
||||
Self::MICROMAP_VERSION_INFO_EXT => Some("MICROMAP_VERSION_INFO_EXT"),
|
||||
Self::COPY_MICROMAP_INFO_EXT => Some("COPY_MICROMAP_INFO_EXT"),
|
||||
Self::COPY_MICROMAP_TO_MEMORY_INFO_EXT => Some("COPY_MICROMAP_TO_MEMORY_INFO_EXT"),
|
||||
Self::COPY_MEMORY_TO_MICROMAP_INFO_EXT => Some("COPY_MEMORY_TO_MICROMAP_INFO_EXT"),
|
||||
Self::PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_EXT")
|
||||
}
|
||||
Self::MICROMAP_CREATE_INFO_EXT => Some("MICROMAP_CREATE_INFO_EXT"),
|
||||
Self::MICROMAP_BUILD_SIZES_INFO_EXT => Some("MICROMAP_BUILD_SIZES_INFO_EXT"),
|
||||
Self::ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT => {
|
||||
Some("ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT")
|
||||
}
|
||||
|
@ -5270,6 +5723,18 @@ impl fmt::Debug for StructureType {
|
|||
Self::SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM => {
|
||||
Some("SUBPASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_QCOM")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV => {
|
||||
Some("PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_NV => {
|
||||
Some("PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV")
|
||||
}
|
||||
|
@ -5285,6 +5750,12 @@ impl fmt::Debug for StructureType {
|
|||
Self::IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM => {
|
||||
Some("IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT")
|
||||
}
|
||||
|
@ -5308,9 +5779,29 @@ impl fmt::Debug for StructureType {
|
|||
Self::PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV => {
|
||||
Some("PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV")
|
||||
}
|
||||
Self::OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV => Some("OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV"),
|
||||
Self::OPTICAL_FLOW_IMAGE_FORMAT_PROPERTIES_NV => {
|
||||
Some("OPTICAL_FLOW_IMAGE_FORMAT_PROPERTIES_NV")
|
||||
}
|
||||
Self::OPTICAL_FLOW_SESSION_CREATE_INFO_NV => {
|
||||
Some("OPTICAL_FLOW_SESSION_CREATE_INFO_NV")
|
||||
}
|
||||
Self::OPTICAL_FLOW_EXECUTE_INFO_NV => Some("OPTICAL_FLOW_EXECUTE_INFO_NV"),
|
||||
Self::OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV => {
|
||||
Some("OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM => {
|
||||
Some("PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM")
|
||||
}
|
||||
|
@ -5319,12 +5810,24 @@ impl fmt::Debug for StructureType {
|
|||
Some("PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC")
|
||||
}
|
||||
Self::AMIGO_PROFILING_SUBMIT_INFO_SEC => Some("AMIGO_PROFILING_SUBMIT_INFO_SEC"),
|
||||
Self::PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV => {
|
||||
Some("PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT")
|
||||
}
|
||||
Self::MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT => {
|
||||
Some("MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM => {
|
||||
Some("PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM => {
|
||||
Some("PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_SUBGROUP_PROPERTIES => {
|
||||
Some("PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")
|
||||
}
|
||||
|
@ -5819,6 +6322,7 @@ impl fmt::Debug for SwapchainCreateFlagsKHR {
|
|||
),
|
||||
(SwapchainCreateFlagsKHR::PROTECTED.0, "PROTECTED"),
|
||||
(SwapchainCreateFlagsKHR::MUTABLE_FORMAT.0, "MUTABLE_FORMAT"),
|
||||
(SwapchainCreateFlagsKHR::RESERVED_4_EXT.0, "RESERVED_4_EXT"),
|
||||
(SwapchainCreateFlagsKHR::RESERVED_3_SEC.0, "RESERVED_3_SEC"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1118,6 +1118,24 @@ impl ObjectType {
|
|||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRayTracingInvocationReorderModeNV.html>"]
|
||||
pub struct RayTracingInvocationReorderModeNV(pub(crate) i32);
|
||||
impl RayTracingInvocationReorderModeNV {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSemaphoreType.html>"]
|
||||
pub struct SemaphoreType(pub(crate) i32);
|
||||
impl SemaphoreType {
|
||||
|
@ -1803,6 +1821,8 @@ impl DriverId {
|
|||
pub const MESA_VENUS: Self = Self(22);
|
||||
#[doc = "Mesa open source project"]
|
||||
pub const MESA_DOZEN: Self = Self(23);
|
||||
#[doc = "Mesa open source project"]
|
||||
pub const MESA_NVK: Self = Self(24);
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
|
@ -2463,6 +2483,24 @@ impl AccelerationStructureMotionInstanceTypeNV {
|
|||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDeviceAddressBindingTypeEXT.html>"]
|
||||
pub struct DeviceAddressBindingTypeEXT(pub(crate) i32);
|
||||
impl DeviceAddressBindingTypeEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkQueryResultStatusKHR.html>"]
|
||||
pub struct QueryResultStatusKHR(pub(crate) i32);
|
||||
impl QueryResultStatusKHR {
|
||||
|
@ -2579,6 +2617,184 @@ impl PipelineRobustnessImageBehaviorEXT {
|
|||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpticalFlowPerformanceLevelNV.html>"]
|
||||
pub struct OpticalFlowPerformanceLevelNV(pub(crate) i32);
|
||||
impl OpticalFlowPerformanceLevelNV {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpticalFlowSessionBindingPointNV.html>"]
|
||||
pub struct OpticalFlowSessionBindingPointNV(pub(crate) i32);
|
||||
impl OpticalFlowSessionBindingPointNV {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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);
|
||||
pub const HINT: Self = Self(3);
|
||||
pub const FLOW_VECTOR: Self = Self(4);
|
||||
pub const BACKWARD_FLOW_VECTOR: Self = Self(5);
|
||||
pub const COST: Self = Self(6);
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMicromapTypeEXT.html>"]
|
||||
pub struct MicromapTypeEXT(pub(crate) i32);
|
||||
impl MicromapTypeEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkCopyMicromapModeEXT.html>"]
|
||||
pub struct CopyMicromapModeEXT(pub(crate) i32);
|
||||
impl CopyMicromapModeEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkBuildMicromapModeEXT.html>"]
|
||||
pub struct BuildMicromapModeEXT(pub(crate) i32);
|
||||
impl BuildMicromapModeEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpacityMicromapFormatEXT.html>"]
|
||||
pub struct OpacityMicromapFormatEXT(pub(crate) i32);
|
||||
impl OpacityMicromapFormatEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkOpacityMicromapSpecialIndexEXT.html>"]
|
||||
pub struct OpacityMicromapSpecialIndexEXT(pub(crate) i32);
|
||||
impl OpacityMicromapSpecialIndexEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDeviceFaultAddressTypeEXT.html>"]
|
||||
pub struct DeviceFaultAddressTypeEXT(pub(crate) i32);
|
||||
impl DeviceFaultAddressTypeEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
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);
|
||||
pub const WRITE_INVALID: Self = Self(2);
|
||||
pub const EXECUTE_INVALID: Self = Self(3);
|
||||
pub const INSTRUCTION_POINTER_UNKNOWN: Self = Self(4);
|
||||
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 = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkDeviceFaultVendorBinaryHeaderVersionEXT.html>"]
|
||||
pub struct DeviceFaultVendorBinaryHeaderVersionEXT(pub(crate) i32);
|
||||
impl DeviceFaultVendorBinaryHeaderVersionEXT {
|
||||
#[inline]
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
#[inline]
|
||||
pub const fn as_raw(self) -> i32 {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
impl DeviceFaultVendorBinaryHeaderVersionEXT {
|
||||
pub const ONE: Self = Self(1);
|
||||
}
|
||||
impl fmt::Debug for ObjectType {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let name = match *self {
|
||||
|
@ -2625,6 +2841,8 @@ impl fmt::Debug for ObjectType {
|
|||
Self::DEFERRED_OPERATION_KHR => Some("DEFERRED_OPERATION_KHR"),
|
||||
Self::INDIRECT_COMMANDS_LAYOUT_NV => Some("INDIRECT_COMMANDS_LAYOUT_NV"),
|
||||
Self::BUFFER_COLLECTION_FUCHSIA => Some("BUFFER_COLLECTION_FUCHSIA"),
|
||||
Self::MICROMAP_EXT => Some("MICROMAP_EXT"),
|
||||
Self::OPTICAL_FLOW_SESSION_NV => Some("OPTICAL_FLOW_SESSION_NV"),
|
||||
Self::SAMPLER_YCBCR_CONVERSION => Some("SAMPLER_YCBCR_CONVERSION"),
|
||||
Self::DESCRIPTOR_UPDATE_TEMPLATE => Some("DESCRIPTOR_UPDATE_TEMPLATE"),
|
||||
Self::PRIVATE_DATA_SLOT => Some("PRIVATE_DATA_SLOT"),
|
||||
|
|
File diff suppressed because it is too large
Load diff
2245
ash/src/vk/native.rs
2245
ash/src/vk/native.rs
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
|||
Subproject commit 5177b119bbdf463b7b909855a83230253c2d8b68
|
||||
Subproject commit b7a86d3b2bf8fbe73fcd40df9ec62a5966e9db89
|
Loading…
Reference in a new issue