Revision control
Copy as Markdown
Other Tools
use crate::prelude::debug_flags;
use crate::vk::bitflags::*;
use crate::vk::definitions::*;
use crate::vk::enums::*;
use core::fmt;
impl fmt::Debug for AccelerationStructureBuildTypeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::HOST => Some("HOST"),
Self::DEVICE => Some("DEVICE"),
Self::HOST_OR_DEVICE => Some("HOST_OR_DEVICE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AccelerationStructureCompatibilityKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::COMPATIBLE => Some("COMPATIBLE"),
Self::INCOMPATIBLE => Some("INCOMPATIBLE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AccelerationStructureCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
AccelerationStructureCreateFlagsKHR::DEVICE_ADDRESS_CAPTURE_REPLAY.0,
"DEVICE_ADDRESS_CAPTURE_REPLAY",
),
(
AccelerationStructureCreateFlagsKHR::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
),
(
AccelerationStructureCreateFlagsKHR::MOTION_NV.0,
"MOTION_NV",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AccelerationStructureMemoryRequirementsTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::OBJECT => Some("OBJECT"),
Self::BUILD_SCRATCH => Some("BUILD_SCRATCH"),
Self::UPDATE_SCRATCH => Some("UPDATE_SCRATCH"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AccelerationStructureMotionInfoFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AccelerationStructureMotionInstanceFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AccelerationStructureMotionInstanceTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::STATIC => Some("STATIC"),
Self::MATRIX_MOTION => Some("MATRIX_MOTION"),
Self::SRT_MOTION => Some("SRT_MOTION"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AccelerationStructureTypeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TOP_LEVEL => Some("TOP_LEVEL"),
Self::BOTTOM_LEVEL => Some("BOTTOM_LEVEL"),
Self::GENERIC => Some("GENERIC"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AccessFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
AccessFlags::INDIRECT_COMMAND_READ.0,
"INDIRECT_COMMAND_READ",
),
(AccessFlags::INDEX_READ.0, "INDEX_READ"),
(
AccessFlags::VERTEX_ATTRIBUTE_READ.0,
"VERTEX_ATTRIBUTE_READ",
),
(AccessFlags::UNIFORM_READ.0, "UNIFORM_READ"),
(
AccessFlags::INPUT_ATTACHMENT_READ.0,
"INPUT_ATTACHMENT_READ",
),
(AccessFlags::SHADER_READ.0, "SHADER_READ"),
(AccessFlags::SHADER_WRITE.0, "SHADER_WRITE"),
(
AccessFlags::COLOR_ATTACHMENT_READ.0,
"COLOR_ATTACHMENT_READ",
),
(
AccessFlags::COLOR_ATTACHMENT_WRITE.0,
"COLOR_ATTACHMENT_WRITE",
),
(
AccessFlags::DEPTH_STENCIL_ATTACHMENT_READ.0,
"DEPTH_STENCIL_ATTACHMENT_READ",
),
(
AccessFlags::DEPTH_STENCIL_ATTACHMENT_WRITE.0,
"DEPTH_STENCIL_ATTACHMENT_WRITE",
),
(AccessFlags::TRANSFER_READ.0, "TRANSFER_READ"),
(AccessFlags::TRANSFER_WRITE.0, "TRANSFER_WRITE"),
(AccessFlags::HOST_READ.0, "HOST_READ"),
(AccessFlags::HOST_WRITE.0, "HOST_WRITE"),
(AccessFlags::MEMORY_READ.0, "MEMORY_READ"),
(AccessFlags::MEMORY_WRITE.0, "MEMORY_WRITE"),
(
AccessFlags::TRANSFORM_FEEDBACK_WRITE_EXT.0,
"TRANSFORM_FEEDBACK_WRITE_EXT",
),
(
AccessFlags::TRANSFORM_FEEDBACK_COUNTER_READ_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_READ_EXT",
),
(
AccessFlags::TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT",
),
(
AccessFlags::CONDITIONAL_RENDERING_READ_EXT.0,
"CONDITIONAL_RENDERING_READ_EXT",
),
(
AccessFlags::COLOR_ATTACHMENT_READ_NONCOHERENT_EXT.0,
"COLOR_ATTACHMENT_READ_NONCOHERENT_EXT",
),
(
AccessFlags::ACCELERATION_STRUCTURE_READ_KHR.0,
"ACCELERATION_STRUCTURE_READ_KHR",
),
(
AccessFlags::ACCELERATION_STRUCTURE_WRITE_KHR.0,
"ACCELERATION_STRUCTURE_WRITE_KHR",
),
(
AccessFlags::FRAGMENT_DENSITY_MAP_READ_EXT.0,
"FRAGMENT_DENSITY_MAP_READ_EXT",
),
(
AccessFlags::FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR",
),
(
AccessFlags::COMMAND_PREPROCESS_READ_NV.0,
"COMMAND_PREPROCESS_READ_NV",
),
(
AccessFlags::COMMAND_PREPROCESS_WRITE_NV.0,
"COMMAND_PREPROCESS_WRITE_NV",
),
(AccessFlags::NONE.0, "NONE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AccessFlags2 {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags64, &str)] = &[
(AccessFlags2::NONE.0, "NONE"),
(
AccessFlags2::INDIRECT_COMMAND_READ.0,
"INDIRECT_COMMAND_READ",
),
(AccessFlags2::INDEX_READ.0, "INDEX_READ"),
(
AccessFlags2::VERTEX_ATTRIBUTE_READ.0,
"VERTEX_ATTRIBUTE_READ",
),
(AccessFlags2::UNIFORM_READ.0, "UNIFORM_READ"),
(
AccessFlags2::INPUT_ATTACHMENT_READ.0,
"INPUT_ATTACHMENT_READ",
),
(AccessFlags2::SHADER_READ.0, "SHADER_READ"),
(AccessFlags2::SHADER_WRITE.0, "SHADER_WRITE"),
(
AccessFlags2::COLOR_ATTACHMENT_READ.0,
"COLOR_ATTACHMENT_READ",
),
(
AccessFlags2::COLOR_ATTACHMENT_WRITE.0,
"COLOR_ATTACHMENT_WRITE",
),
(
AccessFlags2::DEPTH_STENCIL_ATTACHMENT_READ.0,
"DEPTH_STENCIL_ATTACHMENT_READ",
),
(
AccessFlags2::DEPTH_STENCIL_ATTACHMENT_WRITE.0,
"DEPTH_STENCIL_ATTACHMENT_WRITE",
),
(AccessFlags2::TRANSFER_READ.0, "TRANSFER_READ"),
(AccessFlags2::TRANSFER_WRITE.0, "TRANSFER_WRITE"),
(AccessFlags2::HOST_READ.0, "HOST_READ"),
(AccessFlags2::HOST_WRITE.0, "HOST_WRITE"),
(AccessFlags2::MEMORY_READ.0, "MEMORY_READ"),
(AccessFlags2::MEMORY_WRITE.0, "MEMORY_WRITE"),
(AccessFlags2::SHADER_SAMPLED_READ.0, "SHADER_SAMPLED_READ"),
(AccessFlags2::SHADER_STORAGE_READ.0, "SHADER_STORAGE_READ"),
(AccessFlags2::SHADER_STORAGE_WRITE.0, "SHADER_STORAGE_WRITE"),
(
AccessFlags2::VIDEO_DECODE_READ_KHR.0,
"VIDEO_DECODE_READ_KHR",
),
(
AccessFlags2::VIDEO_DECODE_WRITE_KHR.0,
"VIDEO_DECODE_WRITE_KHR",
),
(
AccessFlags2::VIDEO_ENCODE_READ_KHR.0,
"VIDEO_ENCODE_READ_KHR",
),
(
AccessFlags2::VIDEO_ENCODE_WRITE_KHR.0,
"VIDEO_ENCODE_WRITE_KHR",
),
(
AccessFlags2::TRANSFORM_FEEDBACK_WRITE_EXT.0,
"TRANSFORM_FEEDBACK_WRITE_EXT",
),
(
AccessFlags2::TRANSFORM_FEEDBACK_COUNTER_READ_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_READ_EXT",
),
(
AccessFlags2::TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT",
),
(
AccessFlags2::CONDITIONAL_RENDERING_READ_EXT.0,
"CONDITIONAL_RENDERING_READ_EXT",
),
(
AccessFlags2::COMMAND_PREPROCESS_READ_NV.0,
"COMMAND_PREPROCESS_READ_NV",
),
(
AccessFlags2::COMMAND_PREPROCESS_WRITE_NV.0,
"COMMAND_PREPROCESS_WRITE_NV",
),
(
AccessFlags2::FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_READ_KHR",
),
(
AccessFlags2::ACCELERATION_STRUCTURE_READ_KHR.0,
"ACCELERATION_STRUCTURE_READ_KHR",
),
(
AccessFlags2::ACCELERATION_STRUCTURE_WRITE_KHR.0,
"ACCELERATION_STRUCTURE_WRITE_KHR",
),
(
AccessFlags2::FRAGMENT_DENSITY_MAP_READ_EXT.0,
"FRAGMENT_DENSITY_MAP_READ_EXT",
),
(
AccessFlags2::COLOR_ATTACHMENT_READ_NONCOHERENT_EXT.0,
"COLOR_ATTACHMENT_READ_NONCOHERENT_EXT",
),
(
AccessFlags2::DESCRIPTOR_BUFFER_READ_EXT.0,
"DESCRIPTOR_BUFFER_READ_EXT",
),
(
AccessFlags2::INVOCATION_MASK_READ_HUAWEI.0,
"INVOCATION_MASK_READ_HUAWEI",
),
(
AccessFlags2::SHADER_BINDING_TABLE_READ_KHR.0,
"SHADER_BINDING_TABLE_READ_KHR",
),
(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)
}
}
impl fmt::Debug for AcquireProfilingLockFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AndroidSurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AttachmentDescriptionFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(AttachmentDescriptionFlags::MAY_ALIAS.0, "MAY_ALIAS")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for AttachmentLoadOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::LOAD => Some("LOAD"),
Self::CLEAR => Some("CLEAR"),
Self::DONT_CARE => Some("DONT_CARE"),
Self::NONE_KHR => Some("NONE_KHR"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for AttachmentStoreOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::STORE => Some("STORE"),
Self::DONT_CARE => Some("DONT_CARE"),
Self::NONE => Some("NONE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BlendFactor {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ZERO => Some("ZERO"),
Self::ONE => Some("ONE"),
Self::SRC_COLOR => Some("SRC_COLOR"),
Self::ONE_MINUS_SRC_COLOR => Some("ONE_MINUS_SRC_COLOR"),
Self::DST_COLOR => Some("DST_COLOR"),
Self::ONE_MINUS_DST_COLOR => Some("ONE_MINUS_DST_COLOR"),
Self::SRC_ALPHA => Some("SRC_ALPHA"),
Self::ONE_MINUS_SRC_ALPHA => Some("ONE_MINUS_SRC_ALPHA"),
Self::DST_ALPHA => Some("DST_ALPHA"),
Self::ONE_MINUS_DST_ALPHA => Some("ONE_MINUS_DST_ALPHA"),
Self::CONSTANT_COLOR => Some("CONSTANT_COLOR"),
Self::ONE_MINUS_CONSTANT_COLOR => Some("ONE_MINUS_CONSTANT_COLOR"),
Self::CONSTANT_ALPHA => Some("CONSTANT_ALPHA"),
Self::ONE_MINUS_CONSTANT_ALPHA => Some("ONE_MINUS_CONSTANT_ALPHA"),
Self::SRC_ALPHA_SATURATE => Some("SRC_ALPHA_SATURATE"),
Self::SRC1_COLOR => Some("SRC1_COLOR"),
Self::ONE_MINUS_SRC1_COLOR => Some("ONE_MINUS_SRC1_COLOR"),
Self::SRC1_ALPHA => Some("SRC1_ALPHA"),
Self::ONE_MINUS_SRC1_ALPHA => Some("ONE_MINUS_SRC1_ALPHA"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BlendOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ADD => Some("ADD"),
Self::SUBTRACT => Some("SUBTRACT"),
Self::REVERSE_SUBTRACT => Some("REVERSE_SUBTRACT"),
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
Self::ZERO_EXT => Some("ZERO_EXT"),
Self::SRC_EXT => Some("SRC_EXT"),
Self::DST_EXT => Some("DST_EXT"),
Self::SRC_OVER_EXT => Some("SRC_OVER_EXT"),
Self::DST_OVER_EXT => Some("DST_OVER_EXT"),
Self::SRC_IN_EXT => Some("SRC_IN_EXT"),
Self::DST_IN_EXT => Some("DST_IN_EXT"),
Self::SRC_OUT_EXT => Some("SRC_OUT_EXT"),
Self::DST_OUT_EXT => Some("DST_OUT_EXT"),
Self::SRC_ATOP_EXT => Some("SRC_ATOP_EXT"),
Self::DST_ATOP_EXT => Some("DST_ATOP_EXT"),
Self::XOR_EXT => Some("XOR_EXT"),
Self::MULTIPLY_EXT => Some("MULTIPLY_EXT"),
Self::SCREEN_EXT => Some("SCREEN_EXT"),
Self::OVERLAY_EXT => Some("OVERLAY_EXT"),
Self::DARKEN_EXT => Some("DARKEN_EXT"),
Self::LIGHTEN_EXT => Some("LIGHTEN_EXT"),
Self::COLORDODGE_EXT => Some("COLORDODGE_EXT"),
Self::COLORBURN_EXT => Some("COLORBURN_EXT"),
Self::HARDLIGHT_EXT => Some("HARDLIGHT_EXT"),
Self::SOFTLIGHT_EXT => Some("SOFTLIGHT_EXT"),
Self::DIFFERENCE_EXT => Some("DIFFERENCE_EXT"),
Self::EXCLUSION_EXT => Some("EXCLUSION_EXT"),
Self::INVERT_EXT => Some("INVERT_EXT"),
Self::INVERT_RGB_EXT => Some("INVERT_RGB_EXT"),
Self::LINEARDODGE_EXT => Some("LINEARDODGE_EXT"),
Self::LINEARBURN_EXT => Some("LINEARBURN_EXT"),
Self::VIVIDLIGHT_EXT => Some("VIVIDLIGHT_EXT"),
Self::LINEARLIGHT_EXT => Some("LINEARLIGHT_EXT"),
Self::PINLIGHT_EXT => Some("PINLIGHT_EXT"),
Self::HARDMIX_EXT => Some("HARDMIX_EXT"),
Self::HSL_HUE_EXT => Some("HSL_HUE_EXT"),
Self::HSL_SATURATION_EXT => Some("HSL_SATURATION_EXT"),
Self::HSL_COLOR_EXT => Some("HSL_COLOR_EXT"),
Self::HSL_LUMINOSITY_EXT => Some("HSL_LUMINOSITY_EXT"),
Self::PLUS_EXT => Some("PLUS_EXT"),
Self::PLUS_CLAMPED_EXT => Some("PLUS_CLAMPED_EXT"),
Self::PLUS_CLAMPED_ALPHA_EXT => Some("PLUS_CLAMPED_ALPHA_EXT"),
Self::PLUS_DARKER_EXT => Some("PLUS_DARKER_EXT"),
Self::MINUS_EXT => Some("MINUS_EXT"),
Self::MINUS_CLAMPED_EXT => Some("MINUS_CLAMPED_EXT"),
Self::CONTRAST_EXT => Some("CONTRAST_EXT"),
Self::INVERT_OVG_EXT => Some("INVERT_OVG_EXT"),
Self::RED_EXT => Some("RED_EXT"),
Self::GREEN_EXT => Some("GREEN_EXT"),
Self::BLUE_EXT => Some("BLUE_EXT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BlendOverlapEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UNCORRELATED => Some("UNCORRELATED"),
Self::DISJOINT => Some("DISJOINT"),
Self::CONJOINT => Some("CONJOINT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BlockMatchWindowCompareModeQCOM {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BorderColor {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FLOAT_TRANSPARENT_BLACK => Some("FLOAT_TRANSPARENT_BLACK"),
Self::INT_TRANSPARENT_BLACK => Some("INT_TRANSPARENT_BLACK"),
Self::FLOAT_OPAQUE_BLACK => Some("FLOAT_OPAQUE_BLACK"),
Self::INT_OPAQUE_BLACK => Some("INT_OPAQUE_BLACK"),
Self::FLOAT_OPAQUE_WHITE => Some("FLOAT_OPAQUE_WHITE"),
Self::INT_OPAQUE_WHITE => Some("INT_OPAQUE_WHITE"),
Self::FLOAT_CUSTOM_EXT => Some("FLOAT_CUSTOM_EXT"),
Self::INT_CUSTOM_EXT => Some("INT_CUSTOM_EXT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for BufferCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(BufferCreateFlags::SPARSE_BINDING.0, "SPARSE_BINDING"),
(BufferCreateFlags::SPARSE_RESIDENCY.0, "SPARSE_RESIDENCY"),
(BufferCreateFlags::SPARSE_ALIASED.0, "SPARSE_ALIASED"),
(
BufferCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
),
(
BufferCreateFlags::VIDEO_PROFILE_INDEPENDENT_KHR.0,
"VIDEO_PROFILE_INDEPENDENT_KHR",
),
(BufferCreateFlags::PROTECTED.0, "PROTECTED"),
(
BufferCreateFlags::DEVICE_ADDRESS_CAPTURE_REPLAY.0,
"DEVICE_ADDRESS_CAPTURE_REPLAY",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for BufferUsageFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(BufferUsageFlags::TRANSFER_SRC.0, "TRANSFER_SRC"),
(BufferUsageFlags::TRANSFER_DST.0, "TRANSFER_DST"),
(
BufferUsageFlags::UNIFORM_TEXEL_BUFFER.0,
"UNIFORM_TEXEL_BUFFER",
),
(
BufferUsageFlags::STORAGE_TEXEL_BUFFER.0,
"STORAGE_TEXEL_BUFFER",
),
(BufferUsageFlags::UNIFORM_BUFFER.0, "UNIFORM_BUFFER"),
(BufferUsageFlags::STORAGE_BUFFER.0, "STORAGE_BUFFER"),
(BufferUsageFlags::INDEX_BUFFER.0, "INDEX_BUFFER"),
(BufferUsageFlags::VERTEX_BUFFER.0, "VERTEX_BUFFER"),
(BufferUsageFlags::INDIRECT_BUFFER.0, "INDIRECT_BUFFER"),
(
BufferUsageFlags::VIDEO_DECODE_SRC_KHR.0,
"VIDEO_DECODE_SRC_KHR",
),
(
BufferUsageFlags::VIDEO_DECODE_DST_KHR.0,
"VIDEO_DECODE_DST_KHR",
),
(
BufferUsageFlags::TRANSFORM_FEEDBACK_BUFFER_EXT.0,
"TRANSFORM_FEEDBACK_BUFFER_EXT",
),
(
BufferUsageFlags::TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT",
),
(
BufferUsageFlags::CONDITIONAL_RENDERING_EXT.0,
"CONDITIONAL_RENDERING_EXT",
),
(
BufferUsageFlags::EXECUTION_GRAPH_SCRATCH_AMDX.0,
"EXECUTION_GRAPH_SCRATCH_AMDX",
),
(
BufferUsageFlags::ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR.0,
"ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR",
),
(
BufferUsageFlags::ACCELERATION_STRUCTURE_STORAGE_KHR.0,
"ACCELERATION_STRUCTURE_STORAGE_KHR",
),
(
BufferUsageFlags::SHADER_BINDING_TABLE_KHR.0,
"SHADER_BINDING_TABLE_KHR",
),
(
BufferUsageFlags::VIDEO_ENCODE_DST_KHR.0,
"VIDEO_ENCODE_DST_KHR",
),
(
BufferUsageFlags::VIDEO_ENCODE_SRC_KHR.0,
"VIDEO_ENCODE_SRC_KHR",
),
(
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",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for BufferUsageFlags2KHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags64, &str)] = &[
(BufferUsageFlags2KHR::TRANSFER_SRC.0, "TRANSFER_SRC"),
(BufferUsageFlags2KHR::TRANSFER_DST.0, "TRANSFER_DST"),
(
BufferUsageFlags2KHR::UNIFORM_TEXEL_BUFFER.0,
"UNIFORM_TEXEL_BUFFER",
),
(
BufferUsageFlags2KHR::STORAGE_TEXEL_BUFFER.0,
"STORAGE_TEXEL_BUFFER",
),
(BufferUsageFlags2KHR::UNIFORM_BUFFER.0, "UNIFORM_BUFFER"),
(BufferUsageFlags2KHR::STORAGE_BUFFER.0, "STORAGE_BUFFER"),
(BufferUsageFlags2KHR::INDEX_BUFFER.0, "INDEX_BUFFER"),
(BufferUsageFlags2KHR::VERTEX_BUFFER.0, "VERTEX_BUFFER"),
(BufferUsageFlags2KHR::INDIRECT_BUFFER.0, "INDIRECT_BUFFER"),
(
BufferUsageFlags2KHR::EXECUTION_GRAPH_SCRATCH_AMDX.0,
"EXECUTION_GRAPH_SCRATCH_AMDX",
),
(
BufferUsageFlags2KHR::CONDITIONAL_RENDERING_EXT.0,
"CONDITIONAL_RENDERING_EXT",
),
(
BufferUsageFlags2KHR::SHADER_BINDING_TABLE.0,
"SHADER_BINDING_TABLE",
),
(
BufferUsageFlags2KHR::TRANSFORM_FEEDBACK_BUFFER_EXT.0,
"TRANSFORM_FEEDBACK_BUFFER_EXT",
),
(
BufferUsageFlags2KHR::TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT.0,
"TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT",
),
(BufferUsageFlags2KHR::VIDEO_DECODE_SRC.0, "VIDEO_DECODE_SRC"),
(BufferUsageFlags2KHR::VIDEO_DECODE_DST.0, "VIDEO_DECODE_DST"),
(BufferUsageFlags2KHR::VIDEO_ENCODE_DST.0, "VIDEO_ENCODE_DST"),
(BufferUsageFlags2KHR::VIDEO_ENCODE_SRC.0, "VIDEO_ENCODE_SRC"),
(
BufferUsageFlags2KHR::SHADER_DEVICE_ADDRESS.0,
"SHADER_DEVICE_ADDRESS",
),
(
BufferUsageFlags2KHR::ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY.0,
"ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY",
),
(
BufferUsageFlags2KHR::ACCELERATION_STRUCTURE_STORAGE.0,
"ACCELERATION_STRUCTURE_STORAGE",
),
(
BufferUsageFlags2KHR::SAMPLER_DESCRIPTOR_BUFFER_EXT.0,
"SAMPLER_DESCRIPTOR_BUFFER_EXT",
),
(
BufferUsageFlags2KHR::RESOURCE_DESCRIPTOR_BUFFER_EXT.0,
"RESOURCE_DESCRIPTOR_BUFFER_EXT",
),
(
BufferUsageFlags2KHR::PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT.0,
"PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT",
),
(
BufferUsageFlags2KHR::MICROMAP_BUILD_INPUT_READ_ONLY_EXT.0,
"MICROMAP_BUILD_INPUT_READ_ONLY_EXT",
),
(
BufferUsageFlags2KHR::MICROMAP_STORAGE_EXT.0,
"MICROMAP_STORAGE_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for BufferViewCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for BuildAccelerationStructureFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
BuildAccelerationStructureFlagsKHR::ALLOW_UPDATE.0,
"ALLOW_UPDATE",
),
(
BuildAccelerationStructureFlagsKHR::ALLOW_COMPACTION.0,
"ALLOW_COMPACTION",
),
(
BuildAccelerationStructureFlagsKHR::PREFER_FAST_TRACE.0,
"PREFER_FAST_TRACE",
),
(
BuildAccelerationStructureFlagsKHR::PREFER_FAST_BUILD.0,
"PREFER_FAST_BUILD",
),
(
BuildAccelerationStructureFlagsKHR::LOW_MEMORY.0,
"LOW_MEMORY",
),
(BuildAccelerationStructureFlagsKHR::MOTION_NV.0, "MOTION_NV"),
(
BuildAccelerationStructureFlagsKHR::ALLOW_OPACITY_MICROMAP_UPDATE_EXT.0,
"ALLOW_OPACITY_MICROMAP_UPDATE_EXT",
),
(
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::ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV.0,
"ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV",
),
(
BuildAccelerationStructureFlagsKHR::ALLOW_DATA_ACCESS.0,
"ALLOW_DATA_ACCESS",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for BuildAccelerationStructureModeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::BUILD => Some("BUILD"),
Self::UPDATE => Some("UPDATE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
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 {
Self::COSITED_EVEN => Some("COSITED_EVEN"),
Self::MIDPOINT => Some("MIDPOINT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CoarseSampleOrderTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEFAULT => Some("DEFAULT"),
Self::CUSTOM => Some("CUSTOM"),
Self::PIXEL_MAJOR => Some("PIXEL_MAJOR"),
Self::SAMPLE_MAJOR => Some("SAMPLE_MAJOR"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ColorComponentFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ColorComponentFlags::R.0, "R"),
(ColorComponentFlags::G.0, "G"),
(ColorComponentFlags::B.0, "B"),
(ColorComponentFlags::A.0, "A"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ColorSpaceKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::SRGB_NONLINEAR => Some("SRGB_NONLINEAR"),
Self::DISPLAY_P3_NONLINEAR_EXT => Some("DISPLAY_P3_NONLINEAR_EXT"),
Self::EXTENDED_SRGB_LINEAR_EXT => Some("EXTENDED_SRGB_LINEAR_EXT"),
Self::DISPLAY_P3_LINEAR_EXT => Some("DISPLAY_P3_LINEAR_EXT"),
Self::DCI_P3_NONLINEAR_EXT => Some("DCI_P3_NONLINEAR_EXT"),
Self::BT709_LINEAR_EXT => Some("BT709_LINEAR_EXT"),
Self::BT709_NONLINEAR_EXT => Some("BT709_NONLINEAR_EXT"),
Self::BT2020_LINEAR_EXT => Some("BT2020_LINEAR_EXT"),
Self::HDR10_ST2084_EXT => Some("HDR10_ST2084_EXT"),
Self::DOLBYVISION_EXT => Some("DOLBYVISION_EXT"),
Self::HDR10_HLG_EXT => Some("HDR10_HLG_EXT"),
Self::ADOBERGB_LINEAR_EXT => Some("ADOBERGB_LINEAR_EXT"),
Self::ADOBERGB_NONLINEAR_EXT => Some("ADOBERGB_NONLINEAR_EXT"),
Self::PASS_THROUGH_EXT => Some("PASS_THROUGH_EXT"),
Self::EXTENDED_SRGB_NONLINEAR_EXT => Some("EXTENDED_SRGB_NONLINEAR_EXT"),
Self::DISPLAY_NATIVE_AMD => Some("DISPLAY_NATIVE_AMD"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CommandBufferLevel {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::PRIMARY => Some("PRIMARY"),
Self::SECONDARY => Some("SECONDARY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CommandBufferResetFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
CommandBufferResetFlags::RELEASE_RESOURCES.0,
"RELEASE_RESOURCES",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for CommandBufferUsageFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
CommandBufferUsageFlags::ONE_TIME_SUBMIT.0,
"ONE_TIME_SUBMIT",
),
(
CommandBufferUsageFlags::RENDER_PASS_CONTINUE.0,
"RENDER_PASS_CONTINUE",
),
(
CommandBufferUsageFlags::SIMULTANEOUS_USE.0,
"SIMULTANEOUS_USE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for CommandPoolCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(CommandPoolCreateFlags::TRANSIENT.0, "TRANSIENT"),
(
CommandPoolCreateFlags::RESET_COMMAND_BUFFER.0,
"RESET_COMMAND_BUFFER",
),
(CommandPoolCreateFlags::PROTECTED.0, "PROTECTED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for CommandPoolResetFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
CommandPoolResetFlags::RELEASE_RESOURCES.0,
"RELEASE_RESOURCES",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for CommandPoolTrimFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for CompareOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NEVER => Some("NEVER"),
Self::LESS => Some("LESS"),
Self::EQUAL => Some("EQUAL"),
Self::LESS_OR_EQUAL => Some("LESS_OR_EQUAL"),
Self::GREATER => Some("GREATER"),
Self::NOT_EQUAL => Some("NOT_EQUAL"),
Self::GREATER_OR_EQUAL => Some("GREATER_OR_EQUAL"),
Self::ALWAYS => Some("ALWAYS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ComponentSwizzle {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::IDENTITY => Some("IDENTITY"),
Self::ZERO => Some("ZERO"),
Self::ONE => Some("ONE"),
Self::R => Some("R"),
Self::G => Some("G"),
Self::B => Some("B"),
Self::A => Some("A"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ComponentTypeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FLOAT16 => Some("FLOAT16"),
Self::FLOAT32 => Some("FLOAT32"),
Self::FLOAT64 => Some("FLOAT64"),
Self::SINT8 => Some("SINT8"),
Self::SINT16 => Some("SINT16"),
Self::SINT32 => Some("SINT32"),
Self::SINT64 => Some("SINT64"),
Self::UINT8 => Some("UINT8"),
Self::UINT16 => Some("UINT16"),
Self::UINT32 => Some("UINT32"),
Self::UINT64 => Some("UINT64"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CompositeAlphaFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(CompositeAlphaFlagsKHR::OPAQUE.0, "OPAQUE"),
(CompositeAlphaFlagsKHR::PRE_MULTIPLIED.0, "PRE_MULTIPLIED"),
(CompositeAlphaFlagsKHR::POST_MULTIPLIED.0, "POST_MULTIPLIED"),
(CompositeAlphaFlagsKHR::INHERIT.0, "INHERIT"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ConditionalRenderingFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(ConditionalRenderingFlagsEXT::INVERTED.0, "INVERTED")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ConservativeRasterizationModeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DISABLED => Some("DISABLED"),
Self::OVERESTIMATE => Some("OVERESTIMATE"),
Self::UNDERESTIMATE => Some("UNDERESTIMATE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CopyAccelerationStructureModeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::CLONE => Some("CLONE"),
Self::COMPACT => Some("COMPACT"),
Self::SERIALIZE => Some("SERIALIZE"),
Self::DESERIALIZE => Some("DESERIALIZE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
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 {
Self::NONE => Some("NONE"),
Self::RGB => Some("RGB"),
Self::ALPHA => Some("ALPHA"),
Self::RGBA => Some("RGBA"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CoverageReductionModeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::MERGE => Some("MERGE"),
Self::TRUNCATE => Some("TRUNCATE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CubicFilterWeightsQCOM {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::CATMULL_ROM => Some("CATMULL_ROM"),
Self::ZERO_TANGENT_CARDINAL => Some("ZERO_TANGENT_CARDINAL"),
Self::B_SPLINE => Some("B_SPLINE"),
Self::MITCHELL_NETRAVALI => Some("MITCHELL_NETRAVALI"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for CullModeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(CullModeFlags::NONE.0, "NONE"),
(CullModeFlags::FRONT.0, "FRONT"),
(CullModeFlags::BACK.0, "BACK"),
(CullModeFlags::FRONT_AND_BACK.0, "FRONT_AND_BACK"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DebugReportFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(DebugReportFlagsEXT::INFORMATION.0, "INFORMATION"),
(DebugReportFlagsEXT::WARNING.0, "WARNING"),
(
DebugReportFlagsEXT::PERFORMANCE_WARNING.0,
"PERFORMANCE_WARNING",
),
(DebugReportFlagsEXT::ERROR.0, "ERROR"),
(DebugReportFlagsEXT::DEBUG.0, "DEBUG"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DebugReportObjectTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UNKNOWN => Some("UNKNOWN"),
Self::INSTANCE => Some("INSTANCE"),
Self::PHYSICAL_DEVICE => Some("PHYSICAL_DEVICE"),
Self::DEVICE => Some("DEVICE"),
Self::QUEUE => Some("QUEUE"),
Self::SEMAPHORE => Some("SEMAPHORE"),
Self::COMMAND_BUFFER => Some("COMMAND_BUFFER"),
Self::FENCE => Some("FENCE"),
Self::DEVICE_MEMORY => Some("DEVICE_MEMORY"),
Self::BUFFER => Some("BUFFER"),
Self::IMAGE => Some("IMAGE"),
Self::EVENT => Some("EVENT"),
Self::QUERY_POOL => Some("QUERY_POOL"),
Self::BUFFER_VIEW => Some("BUFFER_VIEW"),
Self::IMAGE_VIEW => Some("IMAGE_VIEW"),
Self::SHADER_MODULE => Some("SHADER_MODULE"),
Self::PIPELINE_CACHE => Some("PIPELINE_CACHE"),
Self::PIPELINE_LAYOUT => Some("PIPELINE_LAYOUT"),
Self::RENDER_PASS => Some("RENDER_PASS"),
Self::PIPELINE => Some("PIPELINE"),
Self::DESCRIPTOR_SET_LAYOUT => Some("DESCRIPTOR_SET_LAYOUT"),
Self::SAMPLER => Some("SAMPLER"),
Self::DESCRIPTOR_POOL => Some("DESCRIPTOR_POOL"),
Self::DESCRIPTOR_SET => Some("DESCRIPTOR_SET"),
Self::FRAMEBUFFER => Some("FRAMEBUFFER"),
Self::COMMAND_POOL => Some("COMMAND_POOL"),
Self::SURFACE_KHR => Some("SURFACE_KHR"),
Self::SWAPCHAIN_KHR => Some("SWAPCHAIN_KHR"),
Self::DEBUG_REPORT_CALLBACK_EXT => Some("DEBUG_REPORT_CALLBACK_EXT"),
Self::DISPLAY_KHR => Some("DISPLAY_KHR"),
Self::DISPLAY_MODE_KHR => Some("DISPLAY_MODE_KHR"),
Self::VALIDATION_CACHE_EXT => Some("VALIDATION_CACHE_EXT"),
Self::SAMPLER_YCBCR_CONVERSION => Some("SAMPLER_YCBCR_CONVERSION"),
Self::DESCRIPTOR_UPDATE_TEMPLATE => Some("DESCRIPTOR_UPDATE_TEMPLATE"),
Self::CU_MODULE_NVX => Some("CU_MODULE_NVX"),
Self::CU_FUNCTION_NVX => Some("CU_FUNCTION_NVX"),
Self::ACCELERATION_STRUCTURE_KHR => Some("ACCELERATION_STRUCTURE_KHR"),
Self::ACCELERATION_STRUCTURE_NV => Some("ACCELERATION_STRUCTURE_NV"),
Self::CUDA_MODULE_NV => Some("CUDA_MODULE_NV"),
Self::CUDA_FUNCTION_NV => Some("CUDA_FUNCTION_NV"),
Self::BUFFER_COLLECTION_FUCHSIA => Some("BUFFER_COLLECTION_FUCHSIA"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DebugUtilsMessageSeverityFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(DebugUtilsMessageSeverityFlagsEXT::VERBOSE.0, "VERBOSE"),
(DebugUtilsMessageSeverityFlagsEXT::INFO.0, "INFO"),
(DebugUtilsMessageSeverityFlagsEXT::WARNING.0, "WARNING"),
(DebugUtilsMessageSeverityFlagsEXT::ERROR.0, "ERROR"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DebugUtilsMessageTypeFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(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)
}
}
impl fmt::Debug for DebugUtilsMessengerCallbackDataFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DebugUtilsMessengerCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DependencyFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(DependencyFlags::BY_REGION.0, "BY_REGION"),
(DependencyFlags::FEEDBACK_LOOP_EXT.0, "FEEDBACK_LOOP_EXT"),
(DependencyFlags::DEVICE_GROUP.0, "DEVICE_GROUP"),
(DependencyFlags::VIEW_LOCAL.0, "VIEW_LOCAL"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DepthBiasRepresentationEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::LEAST_REPRESENTABLE_VALUE_FORMAT => Some("LEAST_REPRESENTABLE_VALUE_FORMAT"),
Self::LEAST_REPRESENTABLE_VALUE_FORCE_UNORM => {
Some("LEAST_REPRESENTABLE_VALUE_FORCE_UNORM")
}
Self::FLOAT => Some("FLOAT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DescriptorBindingFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
DescriptorBindingFlags::UPDATE_AFTER_BIND.0,
"UPDATE_AFTER_BIND",
),
(
DescriptorBindingFlags::UPDATE_UNUSED_WHILE_PENDING.0,
"UPDATE_UNUSED_WHILE_PENDING",
),
(DescriptorBindingFlags::PARTIALLY_BOUND.0, "PARTIALLY_BOUND"),
(
DescriptorBindingFlags::VARIABLE_DESCRIPTOR_COUNT.0,
"VARIABLE_DESCRIPTOR_COUNT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DescriptorPoolCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
DescriptorPoolCreateFlags::FREE_DESCRIPTOR_SET.0,
"FREE_DESCRIPTOR_SET",
),
(DescriptorPoolCreateFlags::HOST_ONLY_EXT.0, "HOST_ONLY_EXT"),
(
DescriptorPoolCreateFlags::ALLOW_OVERALLOCATION_SETS_NV.0,
"ALLOW_OVERALLOCATION_SETS_NV",
),
(
DescriptorPoolCreateFlags::ALLOW_OVERALLOCATION_POOLS_NV.0,
"ALLOW_OVERALLOCATION_POOLS_NV",
),
(
DescriptorPoolCreateFlags::UPDATE_AFTER_BIND.0,
"UPDATE_AFTER_BIND",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DescriptorPoolResetFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DescriptorSetLayoutCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
DescriptorSetLayoutCreateFlags::PUSH_DESCRIPTOR_KHR.0,
"PUSH_DESCRIPTOR_KHR",
),
(
DescriptorSetLayoutCreateFlags::DESCRIPTOR_BUFFER_EXT.0,
"DESCRIPTOR_BUFFER_EXT",
),
(
DescriptorSetLayoutCreateFlags::EMBEDDED_IMMUTABLE_SAMPLERS_EXT.0,
"EMBEDDED_IMMUTABLE_SAMPLERS_EXT",
),
(
DescriptorSetLayoutCreateFlags::INDIRECT_BINDABLE_NV.0,
"INDIRECT_BINDABLE_NV",
),
(
DescriptorSetLayoutCreateFlags::HOST_ONLY_POOL_EXT.0,
"HOST_ONLY_POOL_EXT",
),
(
DescriptorSetLayoutCreateFlags::PER_STAGE_NV.0,
"PER_STAGE_NV",
),
(
DescriptorSetLayoutCreateFlags::UPDATE_AFTER_BIND_POOL.0,
"UPDATE_AFTER_BIND_POOL",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DescriptorType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::SAMPLER => Some("SAMPLER"),
Self::COMBINED_IMAGE_SAMPLER => Some("COMBINED_IMAGE_SAMPLER"),
Self::SAMPLED_IMAGE => Some("SAMPLED_IMAGE"),
Self::STORAGE_IMAGE => Some("STORAGE_IMAGE"),
Self::UNIFORM_TEXEL_BUFFER => Some("UNIFORM_TEXEL_BUFFER"),
Self::STORAGE_TEXEL_BUFFER => Some("STORAGE_TEXEL_BUFFER"),
Self::UNIFORM_BUFFER => Some("UNIFORM_BUFFER"),
Self::STORAGE_BUFFER => Some("STORAGE_BUFFER"),
Self::UNIFORM_BUFFER_DYNAMIC => Some("UNIFORM_BUFFER_DYNAMIC"),
Self::STORAGE_BUFFER_DYNAMIC => Some("STORAGE_BUFFER_DYNAMIC"),
Self::INPUT_ATTACHMENT => Some("INPUT_ATTACHMENT"),
Self::ACCELERATION_STRUCTURE_KHR => Some("ACCELERATION_STRUCTURE_KHR"),
Self::ACCELERATION_STRUCTURE_NV => Some("ACCELERATION_STRUCTURE_NV"),
Self::SAMPLE_WEIGHT_IMAGE_QCOM => Some("SAMPLE_WEIGHT_IMAGE_QCOM"),
Self::BLOCK_MATCH_IMAGE_QCOM => Some("BLOCK_MATCH_IMAGE_QCOM"),
Self::MUTABLE_EXT => Some("MUTABLE_EXT"),
Self::INLINE_UNIFORM_BLOCK => Some("INLINE_UNIFORM_BLOCK"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DescriptorUpdateTemplateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DescriptorUpdateTemplateType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DESCRIPTOR_SET => Some("DESCRIPTOR_SET"),
Self::PUSH_DESCRIPTORS_KHR => Some("PUSH_DESCRIPTORS_KHR"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
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)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DeviceDiagnosticsConfigFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
DeviceDiagnosticsConfigFlagsNV::ENABLE_SHADER_DEBUG_INFO.0,
"ENABLE_SHADER_DEBUG_INFO",
),
(
DeviceDiagnosticsConfigFlagsNV::ENABLE_RESOURCE_TRACKING.0,
"ENABLE_RESOURCE_TRACKING",
),
(
DeviceDiagnosticsConfigFlagsNV::ENABLE_AUTOMATIC_CHECKPOINTS.0,
"ENABLE_AUTOMATIC_CHECKPOINTS",
),
(
DeviceDiagnosticsConfigFlagsNV::ENABLE_SHADER_ERROR_REPORTING.0,
"ENABLE_SHADER_ERROR_REPORTING",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DeviceEventTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DISPLAY_HOTPLUG => Some("DISPLAY_HOTPLUG"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
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)] = &[
(DeviceGroupPresentModeFlagsKHR::LOCAL.0, "LOCAL"),
(DeviceGroupPresentModeFlagsKHR::REMOTE.0, "REMOTE"),
(DeviceGroupPresentModeFlagsKHR::SUM.0, "SUM"),
(
DeviceGroupPresentModeFlagsKHR::LOCAL_MULTI_DEVICE.0,
"LOCAL_MULTI_DEVICE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DeviceMemoryReportEventTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ALLOCATE => Some("ALLOCATE"),
Self::FREE => Some("FREE"),
Self::IMPORT => Some("IMPORT"),
Self::UNIMPORT => Some("UNIMPORT"),
Self::ALLOCATION_FAILED => Some("ALLOCATION_FAILED"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DeviceMemoryReportFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DeviceQueueCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(DeviceQueueCreateFlags::PROTECTED.0, "PROTECTED")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DirectDriverLoadingFlagsLUNARG {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DirectDriverLoadingModeLUNARG {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::EXCLUSIVE => Some("EXCLUSIVE"),
Self::INCLUSIVE => Some("INCLUSIVE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DirectFBSurfaceCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DiscardRectangleModeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::INCLUSIVE => Some("INCLUSIVE"),
Self::EXCLUSIVE => Some("EXCLUSIVE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DisplacementMicromapFormatNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TYPE_64_TRIANGLES_64_BYTES => Some("TYPE_64_TRIANGLES_64_BYTES"),
Self::TYPE_256_TRIANGLES_128_BYTES => Some("TYPE_256_TRIANGLES_128_BYTES"),
Self::TYPE_1024_TRIANGLES_128_BYTES => Some("TYPE_1024_TRIANGLES_128_BYTES"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DisplayEventTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FIRST_PIXEL_OUT => Some("FIRST_PIXEL_OUT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DisplayModeCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DisplayPlaneAlphaFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(DisplayPlaneAlphaFlagsKHR::OPAQUE.0, "OPAQUE"),
(DisplayPlaneAlphaFlagsKHR::GLOBAL.0, "GLOBAL"),
(DisplayPlaneAlphaFlagsKHR::PER_PIXEL.0, "PER_PIXEL"),
(
DisplayPlaneAlphaFlagsKHR::PER_PIXEL_PREMULTIPLIED.0,
"PER_PIXEL_PREMULTIPLIED",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DisplayPowerStateEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::OFF => Some("OFF"),
Self::SUSPEND => Some("SUSPEND"),
Self::ON => Some("ON"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DisplaySurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for DriverId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::AMD_PROPRIETARY => Some("AMD_PROPRIETARY"),
Self::AMD_OPEN_SOURCE => Some("AMD_OPEN_SOURCE"),
Self::MESA_RADV => Some("MESA_RADV"),
Self::NVIDIA_PROPRIETARY => Some("NVIDIA_PROPRIETARY"),
Self::INTEL_PROPRIETARY_WINDOWS => Some("INTEL_PROPRIETARY_WINDOWS"),
Self::INTEL_OPEN_SOURCE_MESA => Some("INTEL_OPEN_SOURCE_MESA"),
Self::IMAGINATION_PROPRIETARY => Some("IMAGINATION_PROPRIETARY"),
Self::QUALCOMM_PROPRIETARY => Some("QUALCOMM_PROPRIETARY"),
Self::ARM_PROPRIETARY => Some("ARM_PROPRIETARY"),
Self::GOOGLE_SWIFTSHADER => Some("GOOGLE_SWIFTSHADER"),
Self::GGP_PROPRIETARY => Some("GGP_PROPRIETARY"),
Self::BROADCOM_PROPRIETARY => Some("BROADCOM_PROPRIETARY"),
Self::MESA_LLVMPIPE => Some("MESA_LLVMPIPE"),
Self::MOLTENVK => Some("MOLTENVK"),
Self::COREAVI_PROPRIETARY => Some("COREAVI_PROPRIETARY"),
Self::JUICE_PROPRIETARY => Some("JUICE_PROPRIETARY"),
Self::VERISILICON_PROPRIETARY => Some("VERISILICON_PROPRIETARY"),
Self::MESA_TURNIP => Some("MESA_TURNIP"),
Self::MESA_V3DV => Some("MESA_V3DV"),
Self::MESA_PANVK => Some("MESA_PANVK"),
Self::SAMSUNG_PROPRIETARY => Some("SAMSUNG_PROPRIETARY"),
Self::MESA_VENUS => Some("MESA_VENUS"),
Self::MESA_DOZEN => Some("MESA_DOZEN"),
Self::MESA_NVK => Some("MESA_NVK"),
Self::IMAGINATION_OPEN_SOURCE_MESA => Some("IMAGINATION_OPEN_SOURCE_MESA"),
Self::MESA_AGXV => Some("MESA_AGXV"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for DynamicState {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::VIEWPORT => Some("VIEWPORT"),
Self::SCISSOR => Some("SCISSOR"),
Self::LINE_WIDTH => Some("LINE_WIDTH"),
Self::DEPTH_BIAS => Some("DEPTH_BIAS"),
Self::BLEND_CONSTANTS => Some("BLEND_CONSTANTS"),
Self::DEPTH_BOUNDS => Some("DEPTH_BOUNDS"),
Self::STENCIL_COMPARE_MASK => Some("STENCIL_COMPARE_MASK"),
Self::STENCIL_WRITE_MASK => Some("STENCIL_WRITE_MASK"),
Self::STENCIL_REFERENCE => Some("STENCIL_REFERENCE"),
Self::VIEWPORT_W_SCALING_NV => Some("VIEWPORT_W_SCALING_NV"),
Self::DISCARD_RECTANGLE_EXT => Some("DISCARD_RECTANGLE_EXT"),
Self::DISCARD_RECTANGLE_ENABLE_EXT => Some("DISCARD_RECTANGLE_ENABLE_EXT"),
Self::DISCARD_RECTANGLE_MODE_EXT => Some("DISCARD_RECTANGLE_MODE_EXT"),
Self::SAMPLE_LOCATIONS_EXT => Some("SAMPLE_LOCATIONS_EXT"),
Self::RAY_TRACING_PIPELINE_STACK_SIZE_KHR => {
Some("RAY_TRACING_PIPELINE_STACK_SIZE_KHR")
}
Self::VIEWPORT_SHADING_RATE_PALETTE_NV => Some("VIEWPORT_SHADING_RATE_PALETTE_NV"),
Self::VIEWPORT_COARSE_SAMPLE_ORDER_NV => Some("VIEWPORT_COARSE_SAMPLE_ORDER_NV"),
Self::EXCLUSIVE_SCISSOR_ENABLE_NV => Some("EXCLUSIVE_SCISSOR_ENABLE_NV"),
Self::EXCLUSIVE_SCISSOR_NV => Some("EXCLUSIVE_SCISSOR_NV"),
Self::FRAGMENT_SHADING_RATE_KHR => Some("FRAGMENT_SHADING_RATE_KHR"),
Self::VERTEX_INPUT_EXT => Some("VERTEX_INPUT_EXT"),
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::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::TESSELLATION_DOMAIN_ORIGIN_EXT => Some("TESSELLATION_DOMAIN_ORIGIN_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::ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT => {
Some("ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT")
}
Self::LINE_STIPPLE_KHR => Some("LINE_STIPPLE_KHR"),
Self::CULL_MODE => Some("CULL_MODE"),
Self::FRONT_FACE => Some("FRONT_FACE"),
Self::PRIMITIVE_TOPOLOGY => Some("PRIMITIVE_TOPOLOGY"),
Self::VIEWPORT_WITH_COUNT => Some("VIEWPORT_WITH_COUNT"),
Self::SCISSOR_WITH_COUNT => Some("SCISSOR_WITH_COUNT"),
Self::VERTEX_INPUT_BINDING_STRIDE => Some("VERTEX_INPUT_BINDING_STRIDE"),
Self::DEPTH_TEST_ENABLE => Some("DEPTH_TEST_ENABLE"),
Self::DEPTH_WRITE_ENABLE => Some("DEPTH_WRITE_ENABLE"),
Self::DEPTH_COMPARE_OP => Some("DEPTH_COMPARE_OP"),
Self::DEPTH_BOUNDS_TEST_ENABLE => Some("DEPTH_BOUNDS_TEST_ENABLE"),
Self::STENCIL_TEST_ENABLE => Some("STENCIL_TEST_ENABLE"),
Self::STENCIL_OP => Some("STENCIL_OP"),
Self::RASTERIZER_DISCARD_ENABLE => Some("RASTERIZER_DISCARD_ENABLE"),
Self::DEPTH_BIAS_ENABLE => Some("DEPTH_BIAS_ENABLE"),
Self::PRIMITIVE_RESTART_ENABLE => Some("PRIMITIVE_RESTART_ENABLE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for EventCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(EventCreateFlags::DEVICE_ONLY.0, "DEVICE_ONLY")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExportMetalObjectTypeFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ExportMetalObjectTypeFlagsEXT::METAL_DEVICE.0,
"METAL_DEVICE",
),
(
ExportMetalObjectTypeFlagsEXT::METAL_COMMAND_QUEUE.0,
"METAL_COMMAND_QUEUE",
),
(
ExportMetalObjectTypeFlagsEXT::METAL_BUFFER.0,
"METAL_BUFFER",
),
(
ExportMetalObjectTypeFlagsEXT::METAL_TEXTURE.0,
"METAL_TEXTURE",
),
(
ExportMetalObjectTypeFlagsEXT::METAL_IOSURFACE.0,
"METAL_IOSURFACE",
),
(
ExportMetalObjectTypeFlagsEXT::METAL_SHARED_EVENT.0,
"METAL_SHARED_EVENT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalFenceFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ExternalFenceFeatureFlags::EXPORTABLE.0, "EXPORTABLE"),
(ExternalFenceFeatureFlags::IMPORTABLE.0, "IMPORTABLE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalFenceHandleTypeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ExternalFenceHandleTypeFlags::OPAQUE_FD.0, "OPAQUE_FD"),
(ExternalFenceHandleTypeFlags::OPAQUE_WIN32.0, "OPAQUE_WIN32"),
(
ExternalFenceHandleTypeFlags::OPAQUE_WIN32_KMT.0,
"OPAQUE_WIN32_KMT",
),
(ExternalFenceHandleTypeFlags::SYNC_FD.0, "SYNC_FD"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalMemoryFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ExternalMemoryFeatureFlags::DEDICATED_ONLY.0,
"DEDICATED_ONLY",
),
(ExternalMemoryFeatureFlags::EXPORTABLE.0, "EXPORTABLE"),
(ExternalMemoryFeatureFlags::IMPORTABLE.0, "IMPORTABLE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalMemoryFeatureFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ExternalMemoryFeatureFlagsNV::DEDICATED_ONLY.0,
"DEDICATED_ONLY",
),
(ExternalMemoryFeatureFlagsNV::EXPORTABLE.0, "EXPORTABLE"),
(ExternalMemoryFeatureFlagsNV::IMPORTABLE.0, "IMPORTABLE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalMemoryHandleTypeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ExternalMemoryHandleTypeFlags::OPAQUE_FD.0, "OPAQUE_FD"),
(
ExternalMemoryHandleTypeFlags::OPAQUE_WIN32.0,
"OPAQUE_WIN32",
),
(
ExternalMemoryHandleTypeFlags::OPAQUE_WIN32_KMT.0,
"OPAQUE_WIN32_KMT",
),
(
ExternalMemoryHandleTypeFlags::D3D11_TEXTURE.0,
"D3D11_TEXTURE",
),
(
ExternalMemoryHandleTypeFlags::D3D11_TEXTURE_KMT.0,
"D3D11_TEXTURE_KMT",
),
(ExternalMemoryHandleTypeFlags::D3D12_HEAP.0, "D3D12_HEAP"),
(
ExternalMemoryHandleTypeFlags::D3D12_RESOURCE.0,
"D3D12_RESOURCE",
),
(ExternalMemoryHandleTypeFlags::DMA_BUF_EXT.0, "DMA_BUF_EXT"),
(
ExternalMemoryHandleTypeFlags::ANDROID_HARDWARE_BUFFER_ANDROID.0,
"ANDROID_HARDWARE_BUFFER_ANDROID",
),
(
ExternalMemoryHandleTypeFlags::HOST_ALLOCATION_EXT.0,
"HOST_ALLOCATION_EXT",
),
(
ExternalMemoryHandleTypeFlags::HOST_MAPPED_FOREIGN_MEMORY_EXT.0,
"HOST_MAPPED_FOREIGN_MEMORY_EXT",
),
(
ExternalMemoryHandleTypeFlags::ZIRCON_VMO_FUCHSIA.0,
"ZIRCON_VMO_FUCHSIA",
),
(
ExternalMemoryHandleTypeFlags::RDMA_ADDRESS_NV.0,
"RDMA_ADDRESS_NV",
),
(
ExternalMemoryHandleTypeFlags::SCREEN_BUFFER_QNX.0,
"SCREEN_BUFFER_QNX",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalMemoryHandleTypeFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ExternalMemoryHandleTypeFlagsNV::OPAQUE_WIN32.0,
"OPAQUE_WIN32",
),
(
ExternalMemoryHandleTypeFlagsNV::OPAQUE_WIN32_KMT.0,
"OPAQUE_WIN32_KMT",
),
(
ExternalMemoryHandleTypeFlagsNV::D3D11_IMAGE.0,
"D3D11_IMAGE",
),
(
ExternalMemoryHandleTypeFlagsNV::D3D11_IMAGE_KMT.0,
"D3D11_IMAGE_KMT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalSemaphoreFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ExternalSemaphoreFeatureFlags::EXPORTABLE.0, "EXPORTABLE"),
(ExternalSemaphoreFeatureFlags::IMPORTABLE.0, "IMPORTABLE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ExternalSemaphoreHandleTypeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ExternalSemaphoreHandleTypeFlags::OPAQUE_FD.0, "OPAQUE_FD"),
(
ExternalSemaphoreHandleTypeFlags::OPAQUE_WIN32.0,
"OPAQUE_WIN32",
),
(
ExternalSemaphoreHandleTypeFlags::OPAQUE_WIN32_KMT.0,
"OPAQUE_WIN32_KMT",
),
(
ExternalSemaphoreHandleTypeFlags::D3D12_FENCE.0,
"D3D12_FENCE",
),
(ExternalSemaphoreHandleTypeFlags::SYNC_FD.0, "SYNC_FD"),
(
ExternalSemaphoreHandleTypeFlags::ZIRCON_EVENT_FUCHSIA.0,
"ZIRCON_EVENT_FUCHSIA",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for FenceCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(FenceCreateFlags::SIGNALED.0, "SIGNALED")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for FenceImportFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(FenceImportFlags::TEMPORARY.0, "TEMPORARY")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for Filter {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NEAREST => Some("NEAREST"),
Self::LINEAR => Some("LINEAR"),
Self::CUBIC_EXT => Some("CUBIC_EXT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for Format {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UNDEFINED => Some("UNDEFINED"),
Self::R4G4_UNORM_PACK8 => Some("R4G4_UNORM_PACK8"),
Self::R4G4B4A4_UNORM_PACK16 => Some("R4G4B4A4_UNORM_PACK16"),
Self::B4G4R4A4_UNORM_PACK16 => Some("B4G4R4A4_UNORM_PACK16"),
Self::R5G6B5_UNORM_PACK16 => Some("R5G6B5_UNORM_PACK16"),
Self::B5G6R5_UNORM_PACK16 => Some("B5G6R5_UNORM_PACK16"),
Self::R5G5B5A1_UNORM_PACK16 => Some("R5G5B5A1_UNORM_PACK16"),
Self::B5G5R5A1_UNORM_PACK16 => Some("B5G5R5A1_UNORM_PACK16"),
Self::A1R5G5B5_UNORM_PACK16 => Some("A1R5G5B5_UNORM_PACK16"),
Self::R8_UNORM => Some("R8_UNORM"),
Self::R8_SNORM => Some("R8_SNORM"),
Self::R8_USCALED => Some("R8_USCALED"),
Self::R8_SSCALED => Some("R8_SSCALED"),
Self::R8_UINT => Some("R8_UINT"),
Self::R8_SINT => Some("R8_SINT"),
Self::R8_SRGB => Some("R8_SRGB"),
Self::R8G8_UNORM => Some("R8G8_UNORM"),
Self::R8G8_SNORM => Some("R8G8_SNORM"),
Self::R8G8_USCALED => Some("R8G8_USCALED"),
Self::R8G8_SSCALED => Some("R8G8_SSCALED"),
Self::R8G8_UINT => Some("R8G8_UINT"),
Self::R8G8_SINT => Some("R8G8_SINT"),
Self::R8G8_SRGB => Some("R8G8_SRGB"),
Self::R8G8B8_UNORM => Some("R8G8B8_UNORM"),
Self::R8G8B8_SNORM => Some("R8G8B8_SNORM"),
Self::R8G8B8_USCALED => Some("R8G8B8_USCALED"),
Self::R8G8B8_SSCALED => Some("R8G8B8_SSCALED"),
Self::R8G8B8_UINT => Some("R8G8B8_UINT"),
Self::R8G8B8_SINT => Some("R8G8B8_SINT"),
Self::R8G8B8_SRGB => Some("R8G8B8_SRGB"),
Self::B8G8R8_UNORM => Some("B8G8R8_UNORM"),
Self::B8G8R8_SNORM => Some("B8G8R8_SNORM"),
Self::B8G8R8_USCALED => Some("B8G8R8_USCALED"),
Self::B8G8R8_SSCALED => Some("B8G8R8_SSCALED"),
Self::B8G8R8_UINT => Some("B8G8R8_UINT"),
Self::B8G8R8_SINT => Some("B8G8R8_SINT"),
Self::B8G8R8_SRGB => Some("B8G8R8_SRGB"),
Self::R8G8B8A8_UNORM => Some("R8G8B8A8_UNORM"),
Self::R8G8B8A8_SNORM => Some("R8G8B8A8_SNORM"),
Self::R8G8B8A8_USCALED => Some("R8G8B8A8_USCALED"),
Self::R8G8B8A8_SSCALED => Some("R8G8B8A8_SSCALED"),
Self::R8G8B8A8_UINT => Some("R8G8B8A8_UINT"),
Self::R8G8B8A8_SINT => Some("R8G8B8A8_SINT"),
Self::R8G8B8A8_SRGB => Some("R8G8B8A8_SRGB"),
Self::B8G8R8A8_UNORM => Some("B8G8R8A8_UNORM"),
Self::B8G8R8A8_SNORM => Some("B8G8R8A8_SNORM"),
Self::B8G8R8A8_USCALED => Some("B8G8R8A8_USCALED"),
Self::B8G8R8A8_SSCALED => Some("B8G8R8A8_SSCALED"),
Self::B8G8R8A8_UINT => Some("B8G8R8A8_UINT"),
Self::B8G8R8A8_SINT => Some("B8G8R8A8_SINT"),
Self::B8G8R8A8_SRGB => Some("B8G8R8A8_SRGB"),
Self::A8B8G8R8_UNORM_PACK32 => Some("A8B8G8R8_UNORM_PACK32"),
Self::A8B8G8R8_SNORM_PACK32 => Some("A8B8G8R8_SNORM_PACK32"),
Self::A8B8G8R8_USCALED_PACK32 => Some("A8B8G8R8_USCALED_PACK32"),
Self::A8B8G8R8_SSCALED_PACK32 => Some("A8B8G8R8_SSCALED_PACK32"),
Self::A8B8G8R8_UINT_PACK32 => Some("A8B8G8R8_UINT_PACK32"),
Self::A8B8G8R8_SINT_PACK32 => Some("A8B8G8R8_SINT_PACK32"),
Self::A8B8G8R8_SRGB_PACK32 => Some("A8B8G8R8_SRGB_PACK32"),
Self::A2R10G10B10_UNORM_PACK32 => Some("A2R10G10B10_UNORM_PACK32"),
Self::A2R10G10B10_SNORM_PACK32 => Some("A2R10G10B10_SNORM_PACK32"),
Self::A2R10G10B10_USCALED_PACK32 => Some("A2R10G10B10_USCALED_PACK32"),
Self::A2R10G10B10_SSCALED_PACK32 => Some("A2R10G10B10_SSCALED_PACK32"),
Self::A2R10G10B10_UINT_PACK32 => Some("A2R10G10B10_UINT_PACK32"),
Self::A2R10G10B10_SINT_PACK32 => Some("A2R10G10B10_SINT_PACK32"),
Self::A2B10G10R10_UNORM_PACK32 => Some("A2B10G10R10_UNORM_PACK32"),
Self::A2B10G10R10_SNORM_PACK32 => Some("A2B10G10R10_SNORM_PACK32"),
Self::A2B10G10R10_USCALED_PACK32 => Some("A2B10G10R10_USCALED_PACK32"),
Self::A2B10G10R10_SSCALED_PACK32 => Some("A2B10G10R10_SSCALED_PACK32"),
Self::A2B10G10R10_UINT_PACK32 => Some("A2B10G10R10_UINT_PACK32"),
Self::A2B10G10R10_SINT_PACK32 => Some("A2B10G10R10_SINT_PACK32"),
Self::R16_UNORM => Some("R16_UNORM"),
Self::R16_SNORM => Some("R16_SNORM"),
Self::R16_USCALED => Some("R16_USCALED"),
Self::R16_SSCALED => Some("R16_SSCALED"),
Self::R16_UINT => Some("R16_UINT"),
Self::R16_SINT => Some("R16_SINT"),
Self::R16_SFLOAT => Some("R16_SFLOAT"),
Self::R16G16_UNORM => Some("R16G16_UNORM"),
Self::R16G16_SNORM => Some("R16G16_SNORM"),
Self::R16G16_USCALED => Some("R16G16_USCALED"),
Self::R16G16_SSCALED => Some("R16G16_SSCALED"),
Self::R16G16_UINT => Some("R16G16_UINT"),
Self::R16G16_SINT => Some("R16G16_SINT"),
Self::R16G16_SFLOAT => Some("R16G16_SFLOAT"),
Self::R16G16B16_UNORM => Some("R16G16B16_UNORM"),
Self::R16G16B16_SNORM => Some("R16G16B16_SNORM"),
Self::R16G16B16_USCALED => Some("R16G16B16_USCALED"),
Self::R16G16B16_SSCALED => Some("R16G16B16_SSCALED"),
Self::R16G16B16_UINT => Some("R16G16B16_UINT"),
Self::R16G16B16_SINT => Some("R16G16B16_SINT"),
Self::R16G16B16_SFLOAT => Some("R16G16B16_SFLOAT"),
Self::R16G16B16A16_UNORM => Some("R16G16B16A16_UNORM"),
Self::R16G16B16A16_SNORM => Some("R16G16B16A16_SNORM"),
Self::R16G16B16A16_USCALED => Some("R16G16B16A16_USCALED"),
Self::R16G16B16A16_SSCALED => Some("R16G16B16A16_SSCALED"),
Self::R16G16B16A16_UINT => Some("R16G16B16A16_UINT"),
Self::R16G16B16A16_SINT => Some("R16G16B16A16_SINT"),
Self::R16G16B16A16_SFLOAT => Some("R16G16B16A16_SFLOAT"),
Self::R32_UINT => Some("R32_UINT"),
Self::R32_SINT => Some("R32_SINT"),
Self::R32_SFLOAT => Some("R32_SFLOAT"),
Self::R32G32_UINT => Some("R32G32_UINT"),
Self::R32G32_SINT => Some("R32G32_SINT"),
Self::R32G32_SFLOAT => Some("R32G32_SFLOAT"),
Self::R32G32B32_UINT => Some("R32G32B32_UINT"),
Self::R32G32B32_SINT => Some("R32G32B32_SINT"),
Self::R32G32B32_SFLOAT => Some("R32G32B32_SFLOAT"),
Self::R32G32B32A32_UINT => Some("R32G32B32A32_UINT"),
Self::R32G32B32A32_SINT => Some("R32G32B32A32_SINT"),
Self::R32G32B32A32_SFLOAT => Some("R32G32B32A32_SFLOAT"),
Self::R64_UINT => Some("R64_UINT"),
Self::R64_SINT => Some("R64_SINT"),
Self::R64_SFLOAT => Some("R64_SFLOAT"),
Self::R64G64_UINT => Some("R64G64_UINT"),
Self::R64G64_SINT => Some("R64G64_SINT"),
Self::R64G64_SFLOAT => Some("R64G64_SFLOAT"),
Self::R64G64B64_UINT => Some("R64G64B64_UINT"),
Self::R64G64B64_SINT => Some("R64G64B64_SINT"),
Self::R64G64B64_SFLOAT => Some("R64G64B64_SFLOAT"),
Self::R64G64B64A64_UINT => Some("R64G64B64A64_UINT"),
Self::R64G64B64A64_SINT => Some("R64G64B64A64_SINT"),
Self::R64G64B64A64_SFLOAT => Some("R64G64B64A64_SFLOAT"),
Self::B10G11R11_UFLOAT_PACK32 => Some("B10G11R11_UFLOAT_PACK32"),
Self::E5B9G9R9_UFLOAT_PACK32 => Some("E5B9G9R9_UFLOAT_PACK32"),
Self::D16_UNORM => Some("D16_UNORM"),
Self::X8_D24_UNORM_PACK32 => Some("X8_D24_UNORM_PACK32"),
Self::D32_SFLOAT => Some("D32_SFLOAT"),
Self::S8_UINT => Some("S8_UINT"),
Self::D16_UNORM_S8_UINT => Some("D16_UNORM_S8_UINT"),
Self::D24_UNORM_S8_UINT => Some("D24_UNORM_S8_UINT"),
Self::D32_SFLOAT_S8_UINT => Some("D32_SFLOAT_S8_UINT"),
Self::BC1_RGB_UNORM_BLOCK => Some("BC1_RGB_UNORM_BLOCK"),
Self::BC1_RGB_SRGB_BLOCK => Some("BC1_RGB_SRGB_BLOCK"),
Self::BC1_RGBA_UNORM_BLOCK => Some("BC1_RGBA_UNORM_BLOCK"),
Self::BC1_RGBA_SRGB_BLOCK => Some("BC1_RGBA_SRGB_BLOCK"),
Self::BC2_UNORM_BLOCK => Some("BC2_UNORM_BLOCK"),
Self::BC2_SRGB_BLOCK => Some("BC2_SRGB_BLOCK"),
Self::BC3_UNORM_BLOCK => Some("BC3_UNORM_BLOCK"),
Self::BC3_SRGB_BLOCK => Some("BC3_SRGB_BLOCK"),
Self::BC4_UNORM_BLOCK => Some("BC4_UNORM_BLOCK"),
Self::BC4_SNORM_BLOCK => Some("BC4_SNORM_BLOCK"),
Self::BC5_UNORM_BLOCK => Some("BC5_UNORM_BLOCK"),
Self::BC5_SNORM_BLOCK => Some("BC5_SNORM_BLOCK"),
Self::BC6H_UFLOAT_BLOCK => Some("BC6H_UFLOAT_BLOCK"),
Self::BC6H_SFLOAT_BLOCK => Some("BC6H_SFLOAT_BLOCK"),
Self::BC7_UNORM_BLOCK => Some("BC7_UNORM_BLOCK"),
Self::BC7_SRGB_BLOCK => Some("BC7_SRGB_BLOCK"),
Self::ETC2_R8G8B8_UNORM_BLOCK => Some("ETC2_R8G8B8_UNORM_BLOCK"),
Self::ETC2_R8G8B8_SRGB_BLOCK => Some("ETC2_R8G8B8_SRGB_BLOCK"),
Self::ETC2_R8G8B8A1_UNORM_BLOCK => Some("ETC2_R8G8B8A1_UNORM_BLOCK"),
Self::ETC2_R8G8B8A1_SRGB_BLOCK => Some("ETC2_R8G8B8A1_SRGB_BLOCK"),
Self::ETC2_R8G8B8A8_UNORM_BLOCK => Some("ETC2_R8G8B8A8_UNORM_BLOCK"),
Self::ETC2_R8G8B8A8_SRGB_BLOCK => Some("ETC2_R8G8B8A8_SRGB_BLOCK"),
Self::EAC_R11_UNORM_BLOCK => Some("EAC_R11_UNORM_BLOCK"),
Self::EAC_R11_SNORM_BLOCK => Some("EAC_R11_SNORM_BLOCK"),
Self::EAC_R11G11_UNORM_BLOCK => Some("EAC_R11G11_UNORM_BLOCK"),
Self::EAC_R11G11_SNORM_BLOCK => Some("EAC_R11G11_SNORM_BLOCK"),
Self::ASTC_4X4_UNORM_BLOCK => Some("ASTC_4X4_UNORM_BLOCK"),
Self::ASTC_4X4_SRGB_BLOCK => Some("ASTC_4X4_SRGB_BLOCK"),
Self::ASTC_5X4_UNORM_BLOCK => Some("ASTC_5X4_UNORM_BLOCK"),
Self::ASTC_5X4_SRGB_BLOCK => Some("ASTC_5X4_SRGB_BLOCK"),
Self::ASTC_5X5_UNORM_BLOCK => Some("ASTC_5X5_UNORM_BLOCK"),
Self::ASTC_5X5_SRGB_BLOCK => Some("ASTC_5X5_SRGB_BLOCK"),
Self::ASTC_6X5_UNORM_BLOCK => Some("ASTC_6X5_UNORM_BLOCK"),
Self::ASTC_6X5_SRGB_BLOCK => Some("ASTC_6X5_SRGB_BLOCK"),
Self::ASTC_6X6_UNORM_BLOCK => Some("ASTC_6X6_UNORM_BLOCK"),
Self::ASTC_6X6_SRGB_BLOCK => Some("ASTC_6X6_SRGB_BLOCK"),
Self::ASTC_8X5_UNORM_BLOCK => Some("ASTC_8X5_UNORM_BLOCK"),
Self::ASTC_8X5_SRGB_BLOCK => Some("ASTC_8X5_SRGB_BLOCK"),
Self::ASTC_8X6_UNORM_BLOCK => Some("ASTC_8X6_UNORM_BLOCK"),
Self::ASTC_8X6_SRGB_BLOCK => Some("ASTC_8X6_SRGB_BLOCK"),
Self::ASTC_8X8_UNORM_BLOCK => Some("ASTC_8X8_UNORM_BLOCK"),
Self::ASTC_8X8_SRGB_BLOCK => Some("ASTC_8X8_SRGB_BLOCK"),
Self::ASTC_10X5_UNORM_BLOCK => Some("ASTC_10X5_UNORM_BLOCK"),
Self::ASTC_10X5_SRGB_BLOCK => Some("ASTC_10X5_SRGB_BLOCK"),
Self::ASTC_10X6_UNORM_BLOCK => Some("ASTC_10X6_UNORM_BLOCK"),
Self::ASTC_10X6_SRGB_BLOCK => Some("ASTC_10X6_SRGB_BLOCK"),
Self::ASTC_10X8_UNORM_BLOCK => Some("ASTC_10X8_UNORM_BLOCK"),
Self::ASTC_10X8_SRGB_BLOCK => Some("ASTC_10X8_SRGB_BLOCK"),
Self::ASTC_10X10_UNORM_BLOCK => Some("ASTC_10X10_UNORM_BLOCK"),
Self::ASTC_10X10_SRGB_BLOCK => Some("ASTC_10X10_SRGB_BLOCK"),
Self::ASTC_12X10_UNORM_BLOCK => Some("ASTC_12X10_UNORM_BLOCK"),
Self::ASTC_12X10_SRGB_BLOCK => Some("ASTC_12X10_SRGB_BLOCK"),
Self::ASTC_12X12_UNORM_BLOCK => Some("ASTC_12X12_UNORM_BLOCK"),
Self::ASTC_12X12_SRGB_BLOCK => Some("ASTC_12X12_SRGB_BLOCK"),
Self::PVRTC1_2BPP_UNORM_BLOCK_IMG => Some("PVRTC1_2BPP_UNORM_BLOCK_IMG"),
Self::PVRTC1_4BPP_UNORM_BLOCK_IMG => Some("PVRTC1_4BPP_UNORM_BLOCK_IMG"),
Self::PVRTC2_2BPP_UNORM_BLOCK_IMG => Some("PVRTC2_2BPP_UNORM_BLOCK_IMG"),
Self::PVRTC2_4BPP_UNORM_BLOCK_IMG => Some("PVRTC2_4BPP_UNORM_BLOCK_IMG"),
Self::PVRTC1_2BPP_SRGB_BLOCK_IMG => Some("PVRTC1_2BPP_SRGB_BLOCK_IMG"),
Self::PVRTC1_4BPP_SRGB_BLOCK_IMG => Some("PVRTC1_4BPP_SRGB_BLOCK_IMG"),
Self::PVRTC2_2BPP_SRGB_BLOCK_IMG => Some("PVRTC2_2BPP_SRGB_BLOCK_IMG"),
Self::PVRTC2_4BPP_SRGB_BLOCK_IMG => Some("PVRTC2_4BPP_SRGB_BLOCK_IMG"),
Self::R16G16_S10_5_NV => Some("R16G16_S10_5_NV"),
Self::A1B5G5R5_UNORM_PACK16_KHR => Some("A1B5G5R5_UNORM_PACK16_KHR"),
Self::A8_UNORM_KHR => Some("A8_UNORM_KHR"),
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"),
Self::G8_B8R8_2PLANE_420_UNORM => Some("G8_B8R8_2PLANE_420_UNORM"),
Self::G8_B8_R8_3PLANE_422_UNORM => Some("G8_B8_R8_3PLANE_422_UNORM"),
Self::G8_B8R8_2PLANE_422_UNORM => Some("G8_B8R8_2PLANE_422_UNORM"),
Self::G8_B8_R8_3PLANE_444_UNORM => Some("G8_B8_R8_3PLANE_444_UNORM"),
Self::R10X6_UNORM_PACK16 => Some("R10X6_UNORM_PACK16"),
Self::R10X6G10X6_UNORM_2PACK16 => Some("R10X6G10X6_UNORM_2PACK16"),
Self::R10X6G10X6B10X6A10X6_UNORM_4PACK16 => Some("R10X6G10X6B10X6A10X6_UNORM_4PACK16"),
Self::G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 => {
Some("G10X6B10X6G10X6R10X6_422_UNORM_4PACK16")
}
Self::B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 => {
Some("B10X6G10X6R10X6G10X6_422_UNORM_4PACK16")
}
Self::G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 => {
Some("G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16")
}
Self::G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 => {
Some("G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16")
}
Self::G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 => {
Some("G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16")
}
Self::G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 => {
Some("G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16")
}
Self::G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 => {
Some("G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16")
}
Self::R12X4_UNORM_PACK16 => Some("R12X4_UNORM_PACK16"),
Self::R12X4G12X4_UNORM_2PACK16 => Some("R12X4G12X4_UNORM_2PACK16"),
Self::R12X4G12X4B12X4A12X4_UNORM_4PACK16 => Some("R12X4G12X4B12X4A12X4_UNORM_4PACK16"),
Self::G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 => {
Some("G12X4B12X4G12X4R12X4_422_UNORM_4PACK16")
}
Self::B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 => {
Some("B12X4G12X4R12X4G12X4_422_UNORM_4PACK16")
}
Self::G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 => {
Some("G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16")
}
Self::G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 => {
Some("G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16")
}
Self::G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 => {
Some("G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16")
}
Self::G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 => {
Some("G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16")
}
Self::G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 => {
Some("G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16")
}
Self::G16B16G16R16_422_UNORM => Some("G16B16G16R16_422_UNORM"),
Self::B16G16R16G16_422_UNORM => Some("B16G16R16G16_422_UNORM"),
Self::G16_B16_R16_3PLANE_420_UNORM => Some("G16_B16_R16_3PLANE_420_UNORM"),
Self::G16_B16R16_2PLANE_420_UNORM => Some("G16_B16R16_2PLANE_420_UNORM"),
Self::G16_B16_R16_3PLANE_422_UNORM => Some("G16_B16_R16_3PLANE_422_UNORM"),
Self::G16_B16R16_2PLANE_422_UNORM => Some("G16_B16R16_2PLANE_422_UNORM"),
Self::G16_B16_R16_3PLANE_444_UNORM => Some("G16_B16_R16_3PLANE_444_UNORM"),
Self::G8_B8R8_2PLANE_444_UNORM => Some("G8_B8R8_2PLANE_444_UNORM"),
Self::G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16 => {
Some("G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16")
}
Self::G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16 => {
Some("G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16")
}
Self::G16_B16R16_2PLANE_444_UNORM => Some("G16_B16R16_2PLANE_444_UNORM"),
Self::A4R4G4B4_UNORM_PACK16 => Some("A4R4G4B4_UNORM_PACK16"),
Self::A4B4G4R4_UNORM_PACK16 => Some("A4B4G4R4_UNORM_PACK16"),
Self::ASTC_4X4_SFLOAT_BLOCK => Some("ASTC_4X4_SFLOAT_BLOCK"),
Self::ASTC_5X4_SFLOAT_BLOCK => Some("ASTC_5X4_SFLOAT_BLOCK"),
Self::ASTC_5X5_SFLOAT_BLOCK => Some("ASTC_5X5_SFLOAT_BLOCK"),
Self::ASTC_6X5_SFLOAT_BLOCK => Some("ASTC_6X5_SFLOAT_BLOCK"),
Self::ASTC_6X6_SFLOAT_BLOCK => Some("ASTC_6X6_SFLOAT_BLOCK"),
Self::ASTC_8X5_SFLOAT_BLOCK => Some("ASTC_8X5_SFLOAT_BLOCK"),
Self::ASTC_8X6_SFLOAT_BLOCK => Some("ASTC_8X6_SFLOAT_BLOCK"),
Self::ASTC_8X8_SFLOAT_BLOCK => Some("ASTC_8X8_SFLOAT_BLOCK"),
Self::ASTC_10X5_SFLOAT_BLOCK => Some("ASTC_10X5_SFLOAT_BLOCK"),
Self::ASTC_10X6_SFLOAT_BLOCK => Some("ASTC_10X6_SFLOAT_BLOCK"),
Self::ASTC_10X8_SFLOAT_BLOCK => Some("ASTC_10X8_SFLOAT_BLOCK"),
Self::ASTC_10X10_SFLOAT_BLOCK => Some("ASTC_10X10_SFLOAT_BLOCK"),
Self::ASTC_12X10_SFLOAT_BLOCK => Some("ASTC_12X10_SFLOAT_BLOCK"),
Self::ASTC_12X12_SFLOAT_BLOCK => Some("ASTC_12X12_SFLOAT_BLOCK"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for FormatFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN : & [(Flags , & str)] = & [(FormatFeatureFlags :: SAMPLED_IMAGE . 0 , "SAMPLED_IMAGE") , (FormatFeatureFlags :: STORAGE_IMAGE . 0 , "STORAGE_IMAGE") , (FormatFeatureFlags :: STORAGE_IMAGE_ATOMIC . 0 , "STORAGE_IMAGE_ATOMIC") , (FormatFeatureFlags :: UNIFORM_TEXEL_BUFFER . 0 , "UNIFORM_TEXEL_BUFFER") , (FormatFeatureFlags :: STORAGE_TEXEL_BUFFER . 0 , "STORAGE_TEXEL_BUFFER") , (FormatFeatureFlags :: STORAGE_TEXEL_BUFFER_ATOMIC . 0 , "STORAGE_TEXEL_BUFFER_ATOMIC") , (FormatFeatureFlags :: VERTEX_BUFFER . 0 , "VERTEX_BUFFER") , (FormatFeatureFlags :: COLOR_ATTACHMENT . 0 , "COLOR_ATTACHMENT") , (FormatFeatureFlags :: COLOR_ATTACHMENT_BLEND . 0 , "COLOR_ATTACHMENT_BLEND") , (FormatFeatureFlags :: DEPTH_STENCIL_ATTACHMENT . 0 , "DEPTH_STENCIL_ATTACHMENT") , (FormatFeatureFlags :: BLIT_SRC . 0 , "BLIT_SRC") , (FormatFeatureFlags :: BLIT_DST . 0 , "BLIT_DST") , (FormatFeatureFlags :: SAMPLED_IMAGE_FILTER_LINEAR . 0 , "SAMPLED_IMAGE_FILTER_LINEAR") , (FormatFeatureFlags :: VIDEO_DECODE_OUTPUT_KHR . 0 , "VIDEO_DECODE_OUTPUT_KHR") , (FormatFeatureFlags :: VIDEO_DECODE_DPB_KHR . 0 , "VIDEO_DECODE_DPB_KHR") , (FormatFeatureFlags :: ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR . 0 , "ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR") , (FormatFeatureFlags :: SAMPLED_IMAGE_FILTER_CUBIC_EXT . 0 , "SAMPLED_IMAGE_FILTER_CUBIC_EXT") , (FormatFeatureFlags :: FRAGMENT_DENSITY_MAP_EXT . 0 , "FRAGMENT_DENSITY_MAP_EXT") , (FormatFeatureFlags :: FRAGMENT_SHADING_RATE_ATTACHMENT_KHR . 0 , "FRAGMENT_SHADING_RATE_ATTACHMENT_KHR") , (FormatFeatureFlags :: VIDEO_ENCODE_INPUT_KHR . 0 , "VIDEO_ENCODE_INPUT_KHR") , (FormatFeatureFlags :: VIDEO_ENCODE_DPB_KHR . 0 , "VIDEO_ENCODE_DPB_KHR") , (FormatFeatureFlags :: TRANSFER_SRC . 0 , "TRANSFER_SRC") , (FormatFeatureFlags :: TRANSFER_DST . 0 , "TRANSFER_DST") , (FormatFeatureFlags :: MIDPOINT_CHROMA_SAMPLES . 0 , "MIDPOINT_CHROMA_SAMPLES") , (FormatFeatureFlags :: SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER") , (FormatFeatureFlags :: SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER") , (FormatFeatureFlags :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT") , (FormatFeatureFlags :: SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE . 0 , "SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE") , (FormatFeatureFlags :: DISJOINT . 0 , "DISJOINT") , (FormatFeatureFlags :: COSITED_CHROMA_SAMPLES . 0 , "COSITED_CHROMA_SAMPLES") , (FormatFeatureFlags :: SAMPLED_IMAGE_FILTER_MINMAX . 0 , "SAMPLED_IMAGE_FILTER_MINMAX")] ;
debug_flags(f, KNOWN, self.0)
}
}
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 :: HOST_IMAGE_TRANSFER_EXT . 0 , "HOST_IMAGE_TRANSFER_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 :: 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)
}
}
impl fmt::Debug for FragmentShadingRateCombinerOpKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::KEEP => Some("KEEP"),
Self::REPLACE => Some("REPLACE"),
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
Self::MUL => Some("MUL"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for FragmentShadingRateNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TYPE_1_INVOCATION_PER_PIXEL => Some("TYPE_1_INVOCATION_PER_PIXEL"),
Self::TYPE_1_INVOCATION_PER_1X2_PIXELS => Some("TYPE_1_INVOCATION_PER_1X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_2X1_PIXELS => Some("TYPE_1_INVOCATION_PER_2X1_PIXELS"),
Self::TYPE_1_INVOCATION_PER_2X2_PIXELS => Some("TYPE_1_INVOCATION_PER_2X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_2X4_PIXELS => Some("TYPE_1_INVOCATION_PER_2X4_PIXELS"),
Self::TYPE_1_INVOCATION_PER_4X2_PIXELS => Some("TYPE_1_INVOCATION_PER_4X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_4X4_PIXELS => Some("TYPE_1_INVOCATION_PER_4X4_PIXELS"),
Self::TYPE_2_INVOCATIONS_PER_PIXEL => Some("TYPE_2_INVOCATIONS_PER_PIXEL"),
Self::TYPE_4_INVOCATIONS_PER_PIXEL => Some("TYPE_4_INVOCATIONS_PER_PIXEL"),
Self::TYPE_8_INVOCATIONS_PER_PIXEL => Some("TYPE_8_INVOCATIONS_PER_PIXEL"),
Self::TYPE_16_INVOCATIONS_PER_PIXEL => Some("TYPE_16_INVOCATIONS_PER_PIXEL"),
Self::NO_INVOCATIONS => Some("NO_INVOCATIONS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for FragmentShadingRateTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FRAGMENT_SIZE => Some("FRAGMENT_SIZE"),
Self::ENUMS => Some("ENUMS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for FrameBoundaryFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(FrameBoundaryFlagsEXT::FRAME_END.0, "FRAME_END")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for FramebufferCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(FramebufferCreateFlags::IMAGELESS.0, "IMAGELESS")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for FrontFace {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::COUNTER_CLOCKWISE => Some("COUNTER_CLOCKWISE"),
Self::CLOCKWISE => Some("CLOCKWISE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for FullScreenExclusiveEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEFAULT => Some("DEFAULT"),
Self::ALLOWED => Some("ALLOWED"),
Self::DISALLOWED => Some("DISALLOWED"),
Self::APPLICATION_CONTROLLED => Some("APPLICATION_CONTROLLED"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for GeometryFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(GeometryFlagsKHR::OPAQUE.0, "OPAQUE"),
(
GeometryFlagsKHR::NO_DUPLICATE_ANY_HIT_INVOCATION.0,
"NO_DUPLICATE_ANY_HIT_INVOCATION",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for GeometryInstanceFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
GeometryInstanceFlagsKHR::TRIANGLE_FACING_CULL_DISABLE.0,
"TRIANGLE_FACING_CULL_DISABLE",
),
(
GeometryInstanceFlagsKHR::TRIANGLE_FLIP_FACING.0,
"TRIANGLE_FLIP_FACING",
),
(GeometryInstanceFlagsKHR::FORCE_OPAQUE.0, "FORCE_OPAQUE"),
(
GeometryInstanceFlagsKHR::FORCE_NO_OPAQUE.0,
"FORCE_NO_OPAQUE",
),
(
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)
}
}
impl fmt::Debug for GeometryTypeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TRIANGLES => Some("TRIANGLES"),
Self::AABBS => Some("AABBS"),
Self::INSTANCES => Some("INSTANCES"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for GraphicsPipelineLibraryFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
GraphicsPipelineLibraryFlagsEXT::VERTEX_INPUT_INTERFACE.0,
"VERTEX_INPUT_INTERFACE",
),
(
GraphicsPipelineLibraryFlagsEXT::PRE_RASTERIZATION_SHADERS.0,
"PRE_RASTERIZATION_SHADERS",
),
(
GraphicsPipelineLibraryFlagsEXT::FRAGMENT_SHADER.0,
"FRAGMENT_SHADER",
),
(
GraphicsPipelineLibraryFlagsEXT::FRAGMENT_OUTPUT_INTERFACE.0,
"FRAGMENT_OUTPUT_INTERFACE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for HeadlessSurfaceCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for HostImageCopyFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(HostImageCopyFlagsEXT::MEMCPY.0, "MEMCPY")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for IOSSurfaceCreateFlagsMVK {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageAspectFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ImageAspectFlags::COLOR.0, "COLOR"),
(ImageAspectFlags::DEPTH.0, "DEPTH"),
(ImageAspectFlags::STENCIL.0, "STENCIL"),
(ImageAspectFlags::METADATA.0, "METADATA"),
(ImageAspectFlags::MEMORY_PLANE_0_EXT.0, "MEMORY_PLANE_0_EXT"),
(ImageAspectFlags::MEMORY_PLANE_1_EXT.0, "MEMORY_PLANE_1_EXT"),
(ImageAspectFlags::MEMORY_PLANE_2_EXT.0, "MEMORY_PLANE_2_EXT"),
(ImageAspectFlags::MEMORY_PLANE_3_EXT.0, "MEMORY_PLANE_3_EXT"),
(ImageAspectFlags::PLANE_0.0, "PLANE_0"),
(ImageAspectFlags::PLANE_1.0, "PLANE_1"),
(ImageAspectFlags::PLANE_2.0, "PLANE_2"),
(ImageAspectFlags::NONE.0, "NONE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageCompressionFixedRateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ImageCompressionFixedRateFlagsEXT::NONE.0, "NONE"),
(ImageCompressionFixedRateFlagsEXT::TYPE_1BPC.0, "TYPE_1BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_2BPC.0, "TYPE_2BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_3BPC.0, "TYPE_3BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_4BPC.0, "TYPE_4BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_5BPC.0, "TYPE_5BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_6BPC.0, "TYPE_6BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_7BPC.0, "TYPE_7BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_8BPC.0, "TYPE_8BPC"),
(ImageCompressionFixedRateFlagsEXT::TYPE_9BPC.0, "TYPE_9BPC"),
(
ImageCompressionFixedRateFlagsEXT::TYPE_10BPC.0,
"TYPE_10BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_11BPC.0,
"TYPE_11BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_12BPC.0,
"TYPE_12BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_13BPC.0,
"TYPE_13BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_14BPC.0,
"TYPE_14BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_15BPC.0,
"TYPE_15BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_16BPC.0,
"TYPE_16BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_17BPC.0,
"TYPE_17BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_18BPC.0,
"TYPE_18BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_19BPC.0,
"TYPE_19BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_20BPC.0,
"TYPE_20BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_21BPC.0,
"TYPE_21BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_22BPC.0,
"TYPE_22BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_23BPC.0,
"TYPE_23BPC",
),
(
ImageCompressionFixedRateFlagsEXT::TYPE_24BPC.0,
"TYPE_24BPC",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageCompressionFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ImageCompressionFlagsEXT::DEFAULT.0, "DEFAULT"),
(
ImageCompressionFlagsEXT::FIXED_RATE_DEFAULT.0,
"FIXED_RATE_DEFAULT",
),
(
ImageCompressionFlagsEXT::FIXED_RATE_EXPLICIT.0,
"FIXED_RATE_EXPLICIT",
),
(ImageCompressionFlagsEXT::DISABLED.0, "DISABLED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageConstraintsInfoFlagsFUCHSIA {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ImageConstraintsInfoFlagsFUCHSIA::CPU_READ_RARELY.0,
"CPU_READ_RARELY",
),
(
ImageConstraintsInfoFlagsFUCHSIA::CPU_READ_OFTEN.0,
"CPU_READ_OFTEN",
),
(
ImageConstraintsInfoFlagsFUCHSIA::CPU_WRITE_RARELY.0,
"CPU_WRITE_RARELY",
),
(
ImageConstraintsInfoFlagsFUCHSIA::CPU_WRITE_OFTEN.0,
"CPU_WRITE_OFTEN",
),
(
ImageConstraintsInfoFlagsFUCHSIA::PROTECTED_OPTIONAL.0,
"PROTECTED_OPTIONAL",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ImageCreateFlags::SPARSE_BINDING.0, "SPARSE_BINDING"),
(ImageCreateFlags::SPARSE_RESIDENCY.0, "SPARSE_RESIDENCY"),
(ImageCreateFlags::SPARSE_ALIASED.0, "SPARSE_ALIASED"),
(ImageCreateFlags::MUTABLE_FORMAT.0, "MUTABLE_FORMAT"),
(ImageCreateFlags::CUBE_COMPATIBLE.0, "CUBE_COMPATIBLE"),
(ImageCreateFlags::CORNER_SAMPLED_NV.0, "CORNER_SAMPLED_NV"),
(
ImageCreateFlags::SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT.0,
"SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_EXT",
),
(ImageCreateFlags::SUBSAMPLED_EXT.0, "SUBSAMPLED_EXT"),
(
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",
),
(
ImageCreateFlags::TYPE_2D_VIEW_COMPATIBLE_EXT.0,
"TYPE_2D_VIEW_COMPATIBLE_EXT",
),
(
ImageCreateFlags::FRAGMENT_DENSITY_MAP_OFFSET_QCOM.0,
"FRAGMENT_DENSITY_MAP_OFFSET_QCOM",
),
(
ImageCreateFlags::VIDEO_PROFILE_INDEPENDENT_KHR.0,
"VIDEO_PROFILE_INDEPENDENT_KHR",
),
(ImageCreateFlags::ALIAS.0, "ALIAS"),
(
ImageCreateFlags::SPLIT_INSTANCE_BIND_REGIONS.0,
"SPLIT_INSTANCE_BIND_REGIONS",
),
(
ImageCreateFlags::TYPE_2D_ARRAY_COMPATIBLE.0,
"TYPE_2D_ARRAY_COMPATIBLE",
),
(
ImageCreateFlags::BLOCK_TEXEL_VIEW_COMPATIBLE.0,
"BLOCK_TEXEL_VIEW_COMPATIBLE",
),
(ImageCreateFlags::EXTENDED_USAGE.0, "EXTENDED_USAGE"),
(ImageCreateFlags::PROTECTED.0, "PROTECTED"),
(ImageCreateFlags::DISJOINT.0, "DISJOINT"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageFormatConstraintsFlagsFUCHSIA {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageLayout {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UNDEFINED => Some("UNDEFINED"),
Self::GENERAL => Some("GENERAL"),
Self::COLOR_ATTACHMENT_OPTIMAL => Some("COLOR_ATTACHMENT_OPTIMAL"),
Self::DEPTH_STENCIL_ATTACHMENT_OPTIMAL => Some("DEPTH_STENCIL_ATTACHMENT_OPTIMAL"),
Self::DEPTH_STENCIL_READ_ONLY_OPTIMAL => Some("DEPTH_STENCIL_READ_ONLY_OPTIMAL"),
Self::SHADER_READ_ONLY_OPTIMAL => Some("SHADER_READ_ONLY_OPTIMAL"),
Self::TRANSFER_SRC_OPTIMAL => Some("TRANSFER_SRC_OPTIMAL"),
Self::TRANSFER_DST_OPTIMAL => Some("TRANSFER_DST_OPTIMAL"),
Self::PREINITIALIZED => Some("PREINITIALIZED"),
Self::PRESENT_SRC_KHR => Some("PRESENT_SRC_KHR"),
Self::VIDEO_DECODE_DST_KHR => Some("VIDEO_DECODE_DST_KHR"),
Self::VIDEO_DECODE_SRC_KHR => Some("VIDEO_DECODE_SRC_KHR"),
Self::VIDEO_DECODE_DPB_KHR => Some("VIDEO_DECODE_DPB_KHR"),
Self::SHARED_PRESENT_KHR => Some("SHARED_PRESENT_KHR"),
Self::FRAGMENT_DENSITY_MAP_OPTIMAL_EXT => Some("FRAGMENT_DENSITY_MAP_OPTIMAL_EXT"),
Self::FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR => {
Some("FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR")
}
Self::RENDERING_LOCAL_READ_KHR => Some("RENDERING_LOCAL_READ_KHR"),
Self::VIDEO_ENCODE_DST_KHR => Some("VIDEO_ENCODE_DST_KHR"),
Self::VIDEO_ENCODE_SRC_KHR => Some("VIDEO_ENCODE_SRC_KHR"),
Self::VIDEO_ENCODE_DPB_KHR => Some("VIDEO_ENCODE_DPB_KHR"),
Self::ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT => {
Some("ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT")
}
Self::DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL => {
Some("DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL")
}
Self::DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL => {
Some("DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL")
}
Self::DEPTH_ATTACHMENT_OPTIMAL => Some("DEPTH_ATTACHMENT_OPTIMAL"),
Self::DEPTH_READ_ONLY_OPTIMAL => Some("DEPTH_READ_ONLY_OPTIMAL"),
Self::STENCIL_ATTACHMENT_OPTIMAL => Some("STENCIL_ATTACHMENT_OPTIMAL"),
Self::STENCIL_READ_ONLY_OPTIMAL => Some("STENCIL_READ_ONLY_OPTIMAL"),
Self::READ_ONLY_OPTIMAL => Some("READ_ONLY_OPTIMAL"),
Self::ATTACHMENT_OPTIMAL => Some("ATTACHMENT_OPTIMAL"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ImagePipeSurfaceCreateFlagsFUCHSIA {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageTiling {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::OPTIMAL => Some("OPTIMAL"),
Self::LINEAR => Some("LINEAR"),
Self::DRM_FORMAT_MODIFIER_EXT => Some("DRM_FORMAT_MODIFIER_EXT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ImageType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TYPE_1D => Some("TYPE_1D"),
Self::TYPE_2D => Some("TYPE_2D"),
Self::TYPE_3D => Some("TYPE_3D"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ImageUsageFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ImageUsageFlags::TRANSFER_SRC.0, "TRANSFER_SRC"),
(ImageUsageFlags::TRANSFER_DST.0, "TRANSFER_DST"),
(ImageUsageFlags::SAMPLED.0, "SAMPLED"),
(ImageUsageFlags::STORAGE.0, "STORAGE"),
(ImageUsageFlags::COLOR_ATTACHMENT.0, "COLOR_ATTACHMENT"),
(
ImageUsageFlags::DEPTH_STENCIL_ATTACHMENT.0,
"DEPTH_STENCIL_ATTACHMENT",
),
(
ImageUsageFlags::TRANSIENT_ATTACHMENT.0,
"TRANSIENT_ATTACHMENT",
),
(ImageUsageFlags::INPUT_ATTACHMENT.0, "INPUT_ATTACHMENT"),
(
ImageUsageFlags::VIDEO_DECODE_DST_KHR.0,
"VIDEO_DECODE_DST_KHR",
),
(
ImageUsageFlags::VIDEO_DECODE_SRC_KHR.0,
"VIDEO_DECODE_SRC_KHR",
),
(
ImageUsageFlags::VIDEO_DECODE_DPB_KHR.0,
"VIDEO_DECODE_DPB_KHR",
),
(
ImageUsageFlags::FRAGMENT_DENSITY_MAP_EXT.0,
"FRAGMENT_DENSITY_MAP_EXT",
),
(
ImageUsageFlags::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(ImageUsageFlags::HOST_TRANSFER_EXT.0, "HOST_TRANSFER_EXT"),
(
ImageUsageFlags::VIDEO_ENCODE_DST_KHR.0,
"VIDEO_ENCODE_DST_KHR",
),
(
ImageUsageFlags::VIDEO_ENCODE_SRC_KHR.0,
"VIDEO_ENCODE_SRC_KHR",
),
(
ImageUsageFlags::VIDEO_ENCODE_DPB_KHR.0,
"VIDEO_ENCODE_DPB_KHR",
),
(
ImageUsageFlags::ATTACHMENT_FEEDBACK_LOOP_EXT.0,
"ATTACHMENT_FEEDBACK_LOOP_EXT",
),
(
ImageUsageFlags::INVOCATION_MASK_HUAWEI.0,
"INVOCATION_MASK_HUAWEI",
),
(ImageUsageFlags::SAMPLE_WEIGHT_QCOM.0, "SAMPLE_WEIGHT_QCOM"),
(
ImageUsageFlags::SAMPLE_BLOCK_MATCH_QCOM.0,
"SAMPLE_BLOCK_MATCH_QCOM",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageViewCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
ImageViewCreateFlags::FRAGMENT_DENSITY_MAP_DYNAMIC_EXT.0,
"FRAGMENT_DENSITY_MAP_DYNAMIC_EXT",
),
(
ImageViewCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
),
(
ImageViewCreateFlags::FRAGMENT_DENSITY_MAP_DEFERRED_EXT.0,
"FRAGMENT_DENSITY_MAP_DEFERRED_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ImageViewType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TYPE_1D => Some("TYPE_1D"),
Self::TYPE_2D => Some("TYPE_2D"),
Self::TYPE_3D => Some("TYPE_3D"),
Self::CUBE => Some("CUBE"),
Self::TYPE_1D_ARRAY => Some("TYPE_1D_ARRAY"),
Self::TYPE_2D_ARRAY => Some("TYPE_2D_ARRAY"),
Self::CUBE_ARRAY => Some("CUBE_ARRAY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for IndexType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UINT16 => Some("UINT16"),
Self::UINT32 => Some("UINT32"),
Self::NONE_KHR => Some("NONE_KHR"),
Self::UINT8_KHR => Some("UINT8_KHR"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for IndirectCommandsLayoutUsageFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
IndirectCommandsLayoutUsageFlagsNV::EXPLICIT_PREPROCESS.0,
"EXPLICIT_PREPROCESS",
),
(
IndirectCommandsLayoutUsageFlagsNV::INDEXED_SEQUENCES.0,
"INDEXED_SEQUENCES",
),
(
IndirectCommandsLayoutUsageFlagsNV::UNORDERED_SEQUENCES.0,
"UNORDERED_SEQUENCES",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for IndirectCommandsTokenTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::SHADER_GROUP => Some("SHADER_GROUP"),
Self::STATE_FLAGS => Some("STATE_FLAGS"),
Self::INDEX_BUFFER => Some("INDEX_BUFFER"),
Self::VERTEX_BUFFER => Some("VERTEX_BUFFER"),
Self::PUSH_CONSTANT => Some("PUSH_CONSTANT"),
Self::DRAW_INDEXED => Some("DRAW_INDEXED"),
Self::DRAW => Some("DRAW"),
Self::DRAW_TASKS => Some("DRAW_TASKS"),
Self::DRAW_MESH_TASKS => Some("DRAW_MESH_TASKS"),
Self::PIPELINE => Some("PIPELINE"),
Self::DISPATCH => Some("DISPATCH"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for IndirectStateFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] =
&[(IndirectStateFlagsNV::FLAG_FRONTFACE.0, "FLAG_FRONTFACE")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for InstanceCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR.0,
"ENUMERATE_PORTABILITY_KHR",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for InternalAllocationType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::EXECUTABLE => Some("EXECUTABLE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for LatencyMarkerNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::SIMULATION_START => Some("SIMULATION_START"),
Self::SIMULATION_END => Some("SIMULATION_END"),
Self::RENDERSUBMIT_START => Some("RENDERSUBMIT_START"),
Self::RENDERSUBMIT_END => Some("RENDERSUBMIT_END"),
Self::PRESENT_START => Some("PRESENT_START"),
Self::PRESENT_END => Some("PRESENT_END"),
Self::INPUT_SAMPLE => Some("INPUT_SAMPLE"),
Self::TRIGGER_FLASH => Some("TRIGGER_FLASH"),
Self::OUT_OF_BAND_RENDERSUBMIT_START => Some("OUT_OF_BAND_RENDERSUBMIT_START"),
Self::OUT_OF_BAND_RENDERSUBMIT_END => Some("OUT_OF_BAND_RENDERSUBMIT_END"),
Self::OUT_OF_BAND_PRESENT_START => Some("OUT_OF_BAND_PRESENT_START"),
Self::OUT_OF_BAND_PRESENT_END => Some("OUT_OF_BAND_PRESENT_END"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for LayerSettingTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::BOOL32 => Some("BOOL32"),
Self::INT32 => Some("INT32"),
Self::INT64 => Some("INT64"),
Self::UINT32 => Some("UINT32"),
Self::UINT64 => Some("UINT64"),
Self::FLOAT32 => Some("FLOAT32"),
Self::FLOAT64 => Some("FLOAT64"),
Self::STRING => Some("STRING"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for LayeredDriverUnderlyingApiMSFT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NONE => Some("NONE"),
Self::D3D12 => Some("D3D12"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for LineRasterizationModeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEFAULT => Some("DEFAULT"),
Self::RECTANGULAR => Some("RECTANGULAR"),
Self::BRESENHAM => Some("BRESENHAM"),
Self::RECTANGULAR_SMOOTH => Some("RECTANGULAR_SMOOTH"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for LogicOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::CLEAR => Some("CLEAR"),
Self::AND => Some("AND"),
Self::AND_REVERSE => Some("AND_REVERSE"),
Self::COPY => Some("COPY"),
Self::AND_INVERTED => Some("AND_INVERTED"),
Self::NO_OP => Some("NO_OP"),
Self::XOR => Some("XOR"),
Self::OR => Some("OR"),
Self::NOR => Some("NOR"),
Self::EQUIVALENT => Some("EQUIVALENT"),
Self::INVERT => Some("INVERT"),
Self::OR_REVERSE => Some("OR_REVERSE"),
Self::COPY_INVERTED => Some("COPY_INVERTED"),
Self::OR_INVERTED => Some("OR_INVERTED"),
Self::NAND => Some("NAND"),
Self::SET => Some("SET"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for MacOSSurfaceCreateFlagsMVK {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for MemoryAllocateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(MemoryAllocateFlags::DEVICE_MASK.0, "DEVICE_MASK"),
(MemoryAllocateFlags::DEVICE_ADDRESS.0, "DEVICE_ADDRESS"),
(
MemoryAllocateFlags::DEVICE_ADDRESS_CAPTURE_REPLAY.0,
"DEVICE_ADDRESS_CAPTURE_REPLAY",
),
];
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)] = &[
(MemoryHeapFlags::DEVICE_LOCAL.0, "DEVICE_LOCAL"),
(MemoryHeapFlags::MULTI_INSTANCE.0, "MULTI_INSTANCE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for MemoryMapFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(MemoryMapFlags::PLACED_EXT.0, "PLACED_EXT")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for MemoryOverallocationBehaviorAMD {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEFAULT => Some("DEFAULT"),
Self::ALLOWED => Some("ALLOWED"),
Self::DISALLOWED => Some("DISALLOWED"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for MemoryPropertyFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(MemoryPropertyFlags::DEVICE_LOCAL.0, "DEVICE_LOCAL"),
(MemoryPropertyFlags::HOST_VISIBLE.0, "HOST_VISIBLE"),
(MemoryPropertyFlags::HOST_COHERENT.0, "HOST_COHERENT"),
(MemoryPropertyFlags::HOST_CACHED.0, "HOST_CACHED"),
(MemoryPropertyFlags::LAZILY_ALLOCATED.0, "LAZILY_ALLOCATED"),
(
MemoryPropertyFlags::DEVICE_COHERENT_AMD.0,
"DEVICE_COHERENT_AMD",
),
(
MemoryPropertyFlags::DEVICE_UNCACHED_AMD.0,
"DEVICE_UNCACHED_AMD",
),
(MemoryPropertyFlags::RDMA_CAPABLE_NV.0, "RDMA_CAPABLE_NV"),
(MemoryPropertyFlags::PROTECTED.0, "PROTECTED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for MemoryUnmapFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(MemoryUnmapFlagsKHR::RESERVE_EXT.0, "RESERVE_EXT")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for MetalSurfaceCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
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"),
Self::DISPLACEMENT_MICROMAP_NV => Some("DISPLACEMENT_MICROMAP_NV"),
_ => 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 OutOfBandQueueTypeNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::RENDER => Some("RENDER"),
Self::PRESENT => Some("PRESENT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PeerMemoryFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(PeerMemoryFeatureFlags::COPY_SRC.0, "COPY_SRC"),
(PeerMemoryFeatureFlags::COPY_DST.0, "COPY_DST"),
(PeerMemoryFeatureFlags::GENERIC_SRC.0, "GENERIC_SRC"),
(PeerMemoryFeatureFlags::GENERIC_DST.0, "GENERIC_DST"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PerformanceConfigurationTypeINTEL {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED => {
Some("COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED")
}
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceCounterDescriptionFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
PerformanceCounterDescriptionFlagsKHR::PERFORMANCE_IMPACTING.0,
"PERFORMANCE_IMPACTING",
),
(
PerformanceCounterDescriptionFlagsKHR::CONCURRENTLY_IMPACTED.0,
"CONCURRENTLY_IMPACTED",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PerformanceCounterScopeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::COMMAND_BUFFER => Some("COMMAND_BUFFER"),
Self::RENDER_PASS => Some("RENDER_PASS"),
Self::COMMAND => Some("COMMAND"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceCounterStorageKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::INT32 => Some("INT32"),
Self::INT64 => Some("INT64"),
Self::UINT32 => Some("UINT32"),
Self::UINT64 => Some("UINT64"),
Self::FLOAT32 => Some("FLOAT32"),
Self::FLOAT64 => Some("FLOAT64"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceCounterUnitKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::GENERIC => Some("GENERIC"),
Self::PERCENTAGE => Some("PERCENTAGE"),
Self::NANOSECONDS => Some("NANOSECONDS"),
Self::BYTES => Some("BYTES"),
Self::BYTES_PER_SECOND => Some("BYTES_PER_SECOND"),
Self::KELVIN => Some("KELVIN"),
Self::WATTS => Some("WATTS"),
Self::VOLTS => Some("VOLTS"),
Self::AMPS => Some("AMPS"),
Self::HERTZ => Some("HERTZ"),
Self::CYCLES => Some("CYCLES"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceOverrideTypeINTEL {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NULL_HARDWARE => Some("NULL_HARDWARE"),
Self::FLUSH_GPU_CACHES => Some("FLUSH_GPU_CACHES"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceParameterTypeINTEL {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::HW_COUNTERS_SUPPORTED => Some("HW_COUNTERS_SUPPORTED"),
Self::STREAM_MARKER_VALIDS => Some("STREAM_MARKER_VALIDS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PerformanceValueTypeINTEL {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UINT32 => Some("UINT32"),
Self::UINT64 => Some("UINT64"),
Self::FLOAT => Some("FLOAT"),
Self::BOOL => Some("BOOL"),
Self::STRING => Some("STRING"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PhysicalDeviceSchedulingControlsFlagsARM {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags64, &str)] = &[(
PhysicalDeviceSchedulingControlsFlagsARM::SHADER_CORE_COUNT.0,
"SHADER_CORE_COUNT",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PhysicalDeviceType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::OTHER => Some("OTHER"),
Self::INTEGRATED_GPU => Some("INTEGRATED_GPU"),
Self::DISCRETE_GPU => Some("DISCRETE_GPU"),
Self::VIRTUAL_GPU => Some("VIRTUAL_GPU"),
Self::CPU => Some("CPU"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PipelineBindPoint {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::GRAPHICS => Some("GRAPHICS"),
Self::COMPUTE => Some("COMPUTE"),
Self::EXECUTION_GRAPH_AMDX => Some("EXECUTION_GRAPH_AMDX"),
Self::RAY_TRACING_KHR => Some("RAY_TRACING_KHR"),
Self::SUBPASS_SHADING_HUAWEI => Some("SUBPASS_SHADING_HUAWEI"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PipelineCacheCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
PipelineCacheCreateFlags::EXTERNALLY_SYNCHRONIZED.0,
"EXTERNALLY_SYNCHRONIZED",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCacheHeaderVersion {
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 PipelineColorBlendStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
PipelineColorBlendStateCreateFlags::RASTERIZATION_ORDER_ATTACHMENT_ACCESS_EXT.0,
"RASTERIZATION_ORDER_ATTACHMENT_ACCESS_EXT",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCompilerControlFlagsAMD {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCoverageModulationStateCreateFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCoverageReductionStateCreateFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCoverageToColorStateCreateFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
PipelineCreateFlags::DISABLE_OPTIMIZATION.0,
"DISABLE_OPTIMIZATION",
),
(
PipelineCreateFlags::ALLOW_DERIVATIVES.0,
"ALLOW_DERIVATIVES",
),
(PipelineCreateFlags::DERIVATIVE.0, "DERIVATIVE"),
(
PipelineCreateFlags::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(
PipelineCreateFlags::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT.0,
"RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT",
),
(
PipelineCreateFlags::RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_KHR.0,
"RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_KHR.0,
"RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_NO_NULL_MISS_SHADERS_KHR.0,
"RAY_TRACING_NO_NULL_MISS_SHADERS_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_KHR.0,
"RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_SKIP_TRIANGLES_KHR.0,
"RAY_TRACING_SKIP_TRIANGLES_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_SKIP_AABBS_KHR.0,
"RAY_TRACING_SKIP_AABBS_KHR",
),
(
PipelineCreateFlags::RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_KHR.0,
"RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_KHR",
),
(PipelineCreateFlags::DEFER_COMPILE_NV.0, "DEFER_COMPILE_NV"),
(
PipelineCreateFlags::CAPTURE_STATISTICS_KHR.0,
"CAPTURE_STATISTICS_KHR",
),
(
PipelineCreateFlags::CAPTURE_INTERNAL_REPRESENTATIONS_KHR.0,
"CAPTURE_INTERNAL_REPRESENTATIONS_KHR",
),
(
PipelineCreateFlags::INDIRECT_BINDABLE_NV.0,
"INDIRECT_BINDABLE_NV",
),
(PipelineCreateFlags::LIBRARY_KHR.0, "LIBRARY_KHR"),
(
PipelineCreateFlags::DESCRIPTOR_BUFFER_EXT.0,
"DESCRIPTOR_BUFFER_EXT",
),
(
PipelineCreateFlags::RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT.0,
"RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT",
),
(
PipelineCreateFlags::LINK_TIME_OPTIMIZATION_EXT.0,
"LINK_TIME_OPTIMIZATION_EXT",
),
(
PipelineCreateFlags::RAY_TRACING_ALLOW_MOTION_NV.0,
"RAY_TRACING_ALLOW_MOTION_NV",
),
(
PipelineCreateFlags::COLOR_ATTACHMENT_FEEDBACK_LOOP_EXT.0,
"COLOR_ATTACHMENT_FEEDBACK_LOOP_EXT",
),
(
PipelineCreateFlags::DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT.0,
"DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT",
),
(
PipelineCreateFlags::RAY_TRACING_OPACITY_MICROMAP_EXT.0,
"RAY_TRACING_OPACITY_MICROMAP_EXT",
),
(
PipelineCreateFlags::RAY_TRACING_DISPLACEMENT_MICROMAP_NV.0,
"RAY_TRACING_DISPLACEMENT_MICROMAP_NV",
),
(
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",
),
(PipelineCreateFlags::DISPATCH_BASE.0, "DISPATCH_BASE"),
(
PipelineCreateFlags::FAIL_ON_PIPELINE_COMPILE_REQUIRED.0,
"FAIL_ON_PIPELINE_COMPILE_REQUIRED",
),
(
PipelineCreateFlags::EARLY_RETURN_ON_FAILURE.0,
"EARLY_RETURN_ON_FAILURE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCreateFlags2KHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags64, &str)] = &[
(
PipelineCreateFlags2KHR::DISABLE_OPTIMIZATION.0,
"DISABLE_OPTIMIZATION",
),
(
PipelineCreateFlags2KHR::ALLOW_DERIVATIVES.0,
"ALLOW_DERIVATIVES",
),
(PipelineCreateFlags2KHR::DERIVATIVE.0, "DERIVATIVE"),
(
PipelineCreateFlags2KHR::VIEW_INDEX_FROM_DEVICE_INDEX.0,
"VIEW_INDEX_FROM_DEVICE_INDEX",
),
(PipelineCreateFlags2KHR::DISPATCH_BASE.0, "DISPATCH_BASE"),
(
PipelineCreateFlags2KHR::DEFER_COMPILE_NV.0,
"DEFER_COMPILE_NV",
),
(
PipelineCreateFlags2KHR::CAPTURE_STATISTICS.0,
"CAPTURE_STATISTICS",
),
(
PipelineCreateFlags2KHR::CAPTURE_INTERNAL_REPRESENTATIONS.0,
"CAPTURE_INTERNAL_REPRESENTATIONS",
),
(
PipelineCreateFlags2KHR::FAIL_ON_PIPELINE_COMPILE_REQUIRED.0,
"FAIL_ON_PIPELINE_COMPILE_REQUIRED",
),
(
PipelineCreateFlags2KHR::EARLY_RETURN_ON_FAILURE.0,
"EARLY_RETURN_ON_FAILURE",
),
(
PipelineCreateFlags2KHR::LINK_TIME_OPTIMIZATION_EXT.0,
"LINK_TIME_OPTIMIZATION_EXT",
),
(
PipelineCreateFlags2KHR::RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT.0,
"RETAIN_LINK_TIME_OPTIMIZATION_INFO_EXT",
),
(PipelineCreateFlags2KHR::LIBRARY.0, "LIBRARY"),
(
PipelineCreateFlags2KHR::RAY_TRACING_SKIP_TRIANGLES.0,
"RAY_TRACING_SKIP_TRIANGLES",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_SKIP_AABBS.0,
"RAY_TRACING_SKIP_AABBS",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_NO_NULL_ANY_HIT_SHADERS.0,
"RAY_TRACING_NO_NULL_ANY_HIT_SHADERS",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS.0,
"RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_NO_NULL_MISS_SHADERS.0,
"RAY_TRACING_NO_NULL_MISS_SHADERS",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_NO_NULL_INTERSECTION_SHADERS.0,
"RAY_TRACING_NO_NULL_INTERSECTION_SHADERS",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY.0,
"RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY",
),
(
PipelineCreateFlags2KHR::INDIRECT_BINDABLE_NV.0,
"INDIRECT_BINDABLE_NV",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_ALLOW_MOTION_NV.0,
"RAY_TRACING_ALLOW_MOTION_NV",
),
(
PipelineCreateFlags2KHR::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT.0,
"RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT",
),
(
PipelineCreateFlags2KHR::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT.0,
"RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_OPACITY_MICROMAP_EXT.0,
"RAY_TRACING_OPACITY_MICROMAP_EXT",
),
(
PipelineCreateFlags2KHR::COLOR_ATTACHMENT_FEEDBACK_LOOP_EXT.0,
"COLOR_ATTACHMENT_FEEDBACK_LOOP_EXT",
),
(
PipelineCreateFlags2KHR::DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT.0,
"DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_EXT",
),
(
PipelineCreateFlags2KHR::NO_PROTECTED_ACCESS_EXT.0,
"NO_PROTECTED_ACCESS_EXT",
),
(
PipelineCreateFlags2KHR::PROTECTED_ACCESS_ONLY_EXT.0,
"PROTECTED_ACCESS_ONLY_EXT",
),
(
PipelineCreateFlags2KHR::RAY_TRACING_DISPLACEMENT_MICROMAP_NV.0,
"RAY_TRACING_DISPLACEMENT_MICROMAP_NV",
),
(
PipelineCreateFlags2KHR::DESCRIPTOR_BUFFER_EXT.0,
"DESCRIPTOR_BUFFER_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineCreationFeedbackFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(PipelineCreationFeedbackFlags::VALID.0, "VALID"),
(
PipelineCreationFeedbackFlags::APPLICATION_PIPELINE_CACHE_HIT.0,
"APPLICATION_PIPELINE_CACHE_HIT",
),
(
PipelineCreationFeedbackFlags::BASE_PIPELINE_ACCELERATION.0,
"BASE_PIPELINE_ACCELERATION",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineDepthStencilStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN : & [(Flags , & str)] = & [(PipelineDepthStencilStateCreateFlags :: RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT . 0 , "RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT") , (PipelineDepthStencilStateCreateFlags :: RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT . 0 , "RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT")] ;
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineDiscardRectangleStateCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineDynamicStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineExecutableStatisticFormatKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::BOOL32 => Some("BOOL32"),
Self::INT64 => Some("INT64"),
Self::UINT64 => Some("UINT64"),
Self::FLOAT64 => Some("FLOAT64"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PipelineInputAssemblyStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineLayoutCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(
PipelineLayoutCreateFlags::INDEPENDENT_SETS_EXT.0,
"INDEPENDENT_SETS_EXT",
)];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineMultisampleStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineRasterizationConservativeStateCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineRasterizationDepthClipStateCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineRasterizationStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineRasterizationStateStreamCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineRobustnessBufferBehaviorEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEVICE_DEFAULT => Some("DEVICE_DEFAULT"),
Self::DISABLED => Some("DISABLED"),
Self::ROBUST_BUFFER_ACCESS => Some("ROBUST_BUFFER_ACCESS"),
Self::ROBUST_BUFFER_ACCESS_2 => Some("ROBUST_BUFFER_ACCESS_2"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PipelineRobustnessImageBehaviorEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEVICE_DEFAULT => Some("DEVICE_DEFAULT"),
Self::DISABLED => Some("DISABLED"),
Self::ROBUST_IMAGE_ACCESS => Some("ROBUST_IMAGE_ACCESS"),
Self::ROBUST_IMAGE_ACCESS_2 => Some("ROBUST_IMAGE_ACCESS_2"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PipelineShaderStageCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
PipelineShaderStageCreateFlags::ALLOW_VARYING_SUBGROUP_SIZE.0,
"ALLOW_VARYING_SUBGROUP_SIZE",
),
(
PipelineShaderStageCreateFlags::REQUIRE_FULL_SUBGROUPS.0,
"REQUIRE_FULL_SUBGROUPS",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineStageFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(PipelineStageFlags::TOP_OF_PIPE.0, "TOP_OF_PIPE"),
(PipelineStageFlags::DRAW_INDIRECT.0, "DRAW_INDIRECT"),
(PipelineStageFlags::VERTEX_INPUT.0, "VERTEX_INPUT"),
(PipelineStageFlags::VERTEX_SHADER.0, "VERTEX_SHADER"),
(
PipelineStageFlags::TESSELLATION_CONTROL_SHADER.0,
"TESSELLATION_CONTROL_SHADER",
),
(
PipelineStageFlags::TESSELLATION_EVALUATION_SHADER.0,
"TESSELLATION_EVALUATION_SHADER",
),
(PipelineStageFlags::GEOMETRY_SHADER.0, "GEOMETRY_SHADER"),
(PipelineStageFlags::FRAGMENT_SHADER.0, "FRAGMENT_SHADER"),
(
PipelineStageFlags::EARLY_FRAGMENT_TESTS.0,
"EARLY_FRAGMENT_TESTS",
),
(
PipelineStageFlags::LATE_FRAGMENT_TESTS.0,
"LATE_FRAGMENT_TESTS",
),
(
PipelineStageFlags::COLOR_ATTACHMENT_OUTPUT.0,
"COLOR_ATTACHMENT_OUTPUT",
),
(PipelineStageFlags::COMPUTE_SHADER.0, "COMPUTE_SHADER"),
(PipelineStageFlags::TRANSFER.0, "TRANSFER"),
(PipelineStageFlags::BOTTOM_OF_PIPE.0, "BOTTOM_OF_PIPE"),
(PipelineStageFlags::HOST.0, "HOST"),
(PipelineStageFlags::ALL_GRAPHICS.0, "ALL_GRAPHICS"),
(PipelineStageFlags::ALL_COMMANDS.0, "ALL_COMMANDS"),
(
PipelineStageFlags::TRANSFORM_FEEDBACK_EXT.0,
"TRANSFORM_FEEDBACK_EXT",
),
(
PipelineStageFlags::CONDITIONAL_RENDERING_EXT.0,
"CONDITIONAL_RENDERING_EXT",
),
(
PipelineStageFlags::ACCELERATION_STRUCTURE_BUILD_KHR.0,
"ACCELERATION_STRUCTURE_BUILD_KHR",
),
(
PipelineStageFlags::RAY_TRACING_SHADER_KHR.0,
"RAY_TRACING_SHADER_KHR",
),
(
PipelineStageFlags::FRAGMENT_DENSITY_PROCESS_EXT.0,
"FRAGMENT_DENSITY_PROCESS_EXT",
),
(
PipelineStageFlags::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(
PipelineStageFlags::COMMAND_PREPROCESS_NV.0,
"COMMAND_PREPROCESS_NV",
),
(PipelineStageFlags::TASK_SHADER_EXT.0, "TASK_SHADER_EXT"),
(PipelineStageFlags::MESH_SHADER_EXT.0, "MESH_SHADER_EXT"),
(PipelineStageFlags::NONE.0, "NONE"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineStageFlags2 {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags64, &str)] = &[
(PipelineStageFlags2::NONE.0, "NONE"),
(PipelineStageFlags2::TOP_OF_PIPE.0, "TOP_OF_PIPE"),
(PipelineStageFlags2::DRAW_INDIRECT.0, "DRAW_INDIRECT"),
(PipelineStageFlags2::VERTEX_INPUT.0, "VERTEX_INPUT"),
(PipelineStageFlags2::VERTEX_SHADER.0, "VERTEX_SHADER"),
(
PipelineStageFlags2::TESSELLATION_CONTROL_SHADER.0,
"TESSELLATION_CONTROL_SHADER",
),
(
PipelineStageFlags2::TESSELLATION_EVALUATION_SHADER.0,
"TESSELLATION_EVALUATION_SHADER",
),
(PipelineStageFlags2::GEOMETRY_SHADER.0, "GEOMETRY_SHADER"),
(PipelineStageFlags2::FRAGMENT_SHADER.0, "FRAGMENT_SHADER"),
(
PipelineStageFlags2::EARLY_FRAGMENT_TESTS.0,
"EARLY_FRAGMENT_TESTS",
),
(
PipelineStageFlags2::LATE_FRAGMENT_TESTS.0,
"LATE_FRAGMENT_TESTS",
),
(
PipelineStageFlags2::COLOR_ATTACHMENT_OUTPUT.0,
"COLOR_ATTACHMENT_OUTPUT",
),
(PipelineStageFlags2::COMPUTE_SHADER.0, "COMPUTE_SHADER"),
(PipelineStageFlags2::ALL_TRANSFER.0, "ALL_TRANSFER"),
(PipelineStageFlags2::BOTTOM_OF_PIPE.0, "BOTTOM_OF_PIPE"),
(PipelineStageFlags2::HOST.0, "HOST"),
(PipelineStageFlags2::ALL_GRAPHICS.0, "ALL_GRAPHICS"),
(PipelineStageFlags2::ALL_COMMANDS.0, "ALL_COMMANDS"),
(PipelineStageFlags2::COPY.0, "COPY"),
(PipelineStageFlags2::RESOLVE.0, "RESOLVE"),
(PipelineStageFlags2::BLIT.0, "BLIT"),
(PipelineStageFlags2::CLEAR.0, "CLEAR"),
(PipelineStageFlags2::INDEX_INPUT.0, "INDEX_INPUT"),
(
PipelineStageFlags2::VERTEX_ATTRIBUTE_INPUT.0,
"VERTEX_ATTRIBUTE_INPUT",
),
(
PipelineStageFlags2::PRE_RASTERIZATION_SHADERS.0,
"PRE_RASTERIZATION_SHADERS",
),
(PipelineStageFlags2::VIDEO_DECODE_KHR.0, "VIDEO_DECODE_KHR"),
(PipelineStageFlags2::VIDEO_ENCODE_KHR.0, "VIDEO_ENCODE_KHR"),
(
PipelineStageFlags2::TRANSFORM_FEEDBACK_EXT.0,
"TRANSFORM_FEEDBACK_EXT",
),
(
PipelineStageFlags2::CONDITIONAL_RENDERING_EXT.0,
"CONDITIONAL_RENDERING_EXT",
),
(
PipelineStageFlags2::COMMAND_PREPROCESS_NV.0,
"COMMAND_PREPROCESS_NV",
),
(
PipelineStageFlags2::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(
PipelineStageFlags2::ACCELERATION_STRUCTURE_BUILD_KHR.0,
"ACCELERATION_STRUCTURE_BUILD_KHR",
),
(
PipelineStageFlags2::RAY_TRACING_SHADER_KHR.0,
"RAY_TRACING_SHADER_KHR",
),
(
PipelineStageFlags2::FRAGMENT_DENSITY_PROCESS_EXT.0,
"FRAGMENT_DENSITY_PROCESS_EXT",
),
(PipelineStageFlags2::TASK_SHADER_EXT.0, "TASK_SHADER_EXT"),
(PipelineStageFlags2::MESH_SHADER_EXT.0, "MESH_SHADER_EXT"),
(
PipelineStageFlags2::SUBPASS_SHADER_HUAWEI.0,
"SUBPASS_SHADER_HUAWEI",
),
(
PipelineStageFlags2::INVOCATION_MASK_HUAWEI.0,
"INVOCATION_MASK_HUAWEI",
),
(
PipelineStageFlags2::ACCELERATION_STRUCTURE_COPY_KHR.0,
"ACCELERATION_STRUCTURE_COPY_KHR",
),
(
PipelineStageFlags2::MICROMAP_BUILD_EXT.0,
"MICROMAP_BUILD_EXT",
),
(
PipelineStageFlags2::CLUSTER_CULLING_SHADER_HUAWEI.0,
"CLUSTER_CULLING_SHADER_HUAWEI",
),
(PipelineStageFlags2::OPTICAL_FLOW_NV.0, "OPTICAL_FLOW_NV"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineTessellationStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineVertexInputStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineViewportStateCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PipelineViewportSwizzleStateCreateFlagsNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PointClippingBehavior {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ALL_CLIP_PLANES => Some("ALL_CLIP_PLANES"),
Self::USER_CLIP_PLANES_ONLY => Some("USER_CLIP_PLANES_ONLY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PolygonMode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FILL => Some("FILL"),
Self::LINE => Some("LINE"),
Self::POINT => Some("POINT"),
Self::FILL_RECTANGLE_NV => Some("FILL_RECTANGLE_NV"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PresentGravityFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(PresentGravityFlagsEXT::MIN.0, "MIN"),
(PresentGravityFlagsEXT::MAX.0, "MAX"),
(PresentGravityFlagsEXT::CENTERED.0, "CENTERED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PresentModeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::IMMEDIATE => Some("IMMEDIATE"),
Self::MAILBOX => Some("MAILBOX"),
Self::FIFO => Some("FIFO"),
Self::FIFO_RELAXED => Some("FIFO_RELAXED"),
Self::SHARED_DEMAND_REFRESH => Some("SHARED_DEMAND_REFRESH"),
Self::SHARED_CONTINUOUS_REFRESH => Some("SHARED_CONTINUOUS_REFRESH"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PresentScalingFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(PresentScalingFlagsEXT::ONE_TO_ONE.0, "ONE_TO_ONE"),
(
PresentScalingFlagsEXT::ASPECT_RATIO_STRETCH.0,
"ASPECT_RATIO_STRETCH",
),
(PresentScalingFlagsEXT::STRETCH.0, "STRETCH"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for PrimitiveTopology {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::POINT_LIST => Some("POINT_LIST"),
Self::LINE_LIST => Some("LINE_LIST"),
Self::LINE_STRIP => Some("LINE_STRIP"),
Self::TRIANGLE_LIST => Some("TRIANGLE_LIST"),
Self::TRIANGLE_STRIP => Some("TRIANGLE_STRIP"),
Self::TRIANGLE_FAN => Some("TRIANGLE_FAN"),
Self::LINE_LIST_WITH_ADJACENCY => Some("LINE_LIST_WITH_ADJACENCY"),
Self::LINE_STRIP_WITH_ADJACENCY => Some("LINE_STRIP_WITH_ADJACENCY"),
Self::TRIANGLE_LIST_WITH_ADJACENCY => Some("TRIANGLE_LIST_WITH_ADJACENCY"),
Self::TRIANGLE_STRIP_WITH_ADJACENCY => Some("TRIANGLE_STRIP_WITH_ADJACENCY"),
Self::PATCH_LIST => Some("PATCH_LIST"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for PrivateDataSlotCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ProvokingVertexModeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::FIRST_VERTEX => Some("FIRST_VERTEX"),
Self::LAST_VERTEX => Some("LAST_VERTEX"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for QueryControlFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(QueryControlFlags::PRECISE.0, "PRECISE")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for QueryPipelineStatisticFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
QueryPipelineStatisticFlags::INPUT_ASSEMBLY_VERTICES.0,
"INPUT_ASSEMBLY_VERTICES",
),
(
QueryPipelineStatisticFlags::INPUT_ASSEMBLY_PRIMITIVES.0,
"INPUT_ASSEMBLY_PRIMITIVES",
),
(
QueryPipelineStatisticFlags::VERTEX_SHADER_INVOCATIONS.0,
"VERTEX_SHADER_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::GEOMETRY_SHADER_INVOCATIONS.0,
"GEOMETRY_SHADER_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::GEOMETRY_SHADER_PRIMITIVES.0,
"GEOMETRY_SHADER_PRIMITIVES",
),
(
QueryPipelineStatisticFlags::CLIPPING_INVOCATIONS.0,
"CLIPPING_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::CLIPPING_PRIMITIVES.0,
"CLIPPING_PRIMITIVES",
),
(
QueryPipelineStatisticFlags::FRAGMENT_SHADER_INVOCATIONS.0,
"FRAGMENT_SHADER_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::TESSELLATION_CONTROL_SHADER_PATCHES.0,
"TESSELLATION_CONTROL_SHADER_PATCHES",
),
(
QueryPipelineStatisticFlags::TESSELLATION_EVALUATION_SHADER_INVOCATIONS.0,
"TESSELLATION_EVALUATION_SHADER_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::COMPUTE_SHADER_INVOCATIONS.0,
"COMPUTE_SHADER_INVOCATIONS",
),
(
QueryPipelineStatisticFlags::TASK_SHADER_INVOCATIONS_EXT.0,
"TASK_SHADER_INVOCATIONS_EXT",
),
(
QueryPipelineStatisticFlags::MESH_SHADER_INVOCATIONS_EXT.0,
"MESH_SHADER_INVOCATIONS_EXT",
),
(
QueryPipelineStatisticFlags::CLUSTER_CULLING_SHADER_INVOCATIONS_HUAWEI.0,
"CLUSTER_CULLING_SHADER_INVOCATIONS_HUAWEI",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for QueryPoolCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for QueryPoolSamplingModeINTEL {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::MANUAL => Some("MANUAL"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for QueryResultFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(QueryResultFlags::TYPE_64.0, "TYPE_64"),
(QueryResultFlags::WAIT.0, "WAIT"),
(QueryResultFlags::WITH_AVAILABILITY.0, "WITH_AVAILABILITY"),
(QueryResultFlags::PARTIAL.0, "PARTIAL"),
(QueryResultFlags::WITH_STATUS_KHR.0, "WITH_STATUS_KHR"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for QueryResultStatusKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ERROR => Some("ERROR"),
Self::NOT_READY => Some("NOT_READY"),
Self::COMPLETE => Some("COMPLETE"),
Self::INSUFFICIENTSTREAM_BUFFER_RANGE => Some("INSUFFICIENTSTREAM_BUFFER_RANGE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for QueryType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::OCCLUSION => Some("OCCLUSION"),
Self::PIPELINE_STATISTICS => Some("PIPELINE_STATISTICS"),
Self::TIMESTAMP => Some("TIMESTAMP"),
Self::RESULT_STATUS_ONLY_KHR => Some("RESULT_STATUS_ONLY_KHR"),
Self::TRANSFORM_FEEDBACK_STREAM_EXT => Some("TRANSFORM_FEEDBACK_STREAM_EXT"),
Self::PERFORMANCE_QUERY_KHR => Some("PERFORMANCE_QUERY_KHR"),
Self::ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR => {
Some("ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR")
}
Self::ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR => {
Some("ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR")
}
Self::ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV => {
Some("ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV")
}
Self::PERFORMANCE_QUERY_INTEL => Some("PERFORMANCE_QUERY_INTEL"),
Self::VIDEO_ENCODE_FEEDBACK_KHR => Some("VIDEO_ENCODE_FEEDBACK_KHR"),
Self::MESH_PRIMITIVES_GENERATED_EXT => Some("MESH_PRIMITIVES_GENERATED_EXT"),
Self::PRIMITIVES_GENERATED_EXT => Some("PRIMITIVES_GENERATED_EXT"),
Self::ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR => {
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 {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for QueueFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(QueueFlags::GRAPHICS.0, "GRAPHICS"),
(QueueFlags::COMPUTE.0, "COMPUTE"),
(QueueFlags::TRANSFER.0, "TRANSFER"),
(QueueFlags::SPARSE_BINDING.0, "SPARSE_BINDING"),
(QueueFlags::VIDEO_DECODE_KHR.0, "VIDEO_DECODE_KHR"),
(QueueFlags::VIDEO_ENCODE_KHR.0, "VIDEO_ENCODE_KHR"),
(QueueFlags::OPTICAL_FLOW_NV.0, "OPTICAL_FLOW_NV"),
(QueueFlags::PROTECTED.0, "PROTECTED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for QueueGlobalPriorityKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::LOW => Some("LOW"),
Self::MEDIUM => Some("MEDIUM"),
Self::HIGH => Some("HIGH"),
Self::REALTIME => Some("REALTIME"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for RasterizationOrderAMD {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::STRICT => Some("STRICT"),
Self::RELAXED => Some("RELAXED"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
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 {
Self::GENERAL => Some("GENERAL"),
Self::TRIANGLES_HIT_GROUP => Some("TRIANGLES_HIT_GROUP"),
Self::PROCEDURAL_HIT_GROUP => Some("PROCEDURAL_HIT_GROUP"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for RenderPassCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] =
&[(RenderPassCreateFlags::TRANSFORM_QCOM.0, "TRANSFORM_QCOM")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for RenderingFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
RenderingFlags::CONTENTS_SECONDARY_COMMAND_BUFFERS.0,
"CONTENTS_SECONDARY_COMMAND_BUFFERS",
),
(RenderingFlags::SUSPENDING.0, "SUSPENDING"),
(RenderingFlags::RESUMING.0, "RESUMING"),
(RenderingFlags::CONTENTS_INLINE_EXT.0, "CONTENTS_INLINE_EXT"),
(
RenderingFlags::ENABLE_LEGACY_DITHERING_EXT.0,
"ENABLE_LEGACY_DITHERING_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ResolveModeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ResolveModeFlags::NONE.0, "NONE"),
(ResolveModeFlags::SAMPLE_ZERO.0, "SAMPLE_ZERO"),
(ResolveModeFlags::AVERAGE.0, "AVERAGE"),
(ResolveModeFlags::MIN.0, "MIN"),
(ResolveModeFlags::MAX.0, "MAX"),
(
ResolveModeFlags::EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID.0,
"EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SampleCountFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(SampleCountFlags::TYPE_1.0, "TYPE_1"),
(SampleCountFlags::TYPE_2.0, "TYPE_2"),
(SampleCountFlags::TYPE_4.0, "TYPE_4"),
(SampleCountFlags::TYPE_8.0, "TYPE_8"),
(SampleCountFlags::TYPE_16.0, "TYPE_16"),
(SampleCountFlags::TYPE_32.0, "TYPE_32"),
(SampleCountFlags::TYPE_64.0, "TYPE_64"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SamplerAddressMode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::REPEAT => Some("REPEAT"),
Self::MIRRORED_REPEAT => Some("MIRRORED_REPEAT"),
Self::CLAMP_TO_EDGE => Some("CLAMP_TO_EDGE"),
Self::CLAMP_TO_BORDER => Some("CLAMP_TO_BORDER"),
Self::MIRROR_CLAMP_TO_EDGE => Some("MIRROR_CLAMP_TO_EDGE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SamplerCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(SamplerCreateFlags::SUBSAMPLED_EXT.0, "SUBSAMPLED_EXT"),
(
SamplerCreateFlags::SUBSAMPLED_COARSE_RECONSTRUCTION_EXT.0,
"SUBSAMPLED_COARSE_RECONSTRUCTION_EXT",
),
(
SamplerCreateFlags::DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT.0,
"DESCRIPTOR_BUFFER_CAPTURE_REPLAY_EXT",
),
(
SamplerCreateFlags::NON_SEAMLESS_CUBE_MAP_EXT.0,
"NON_SEAMLESS_CUBE_MAP_EXT",
),
(
SamplerCreateFlags::IMAGE_PROCESSING_QCOM.0,
"IMAGE_PROCESSING_QCOM",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SamplerMipmapMode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NEAREST => Some("NEAREST"),
Self::LINEAR => Some("LINEAR"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SamplerReductionMode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::WEIGHTED_AVERAGE => Some("WEIGHTED_AVERAGE"),
Self::MIN => Some("MIN"),
Self::MAX => Some("MAX"),
Self::WEIGHTED_AVERAGE_RANGECLAMP_QCOM => Some("WEIGHTED_AVERAGE_RANGECLAMP_QCOM"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SamplerYcbcrModelConversion {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::RGB_IDENTITY => Some("RGB_IDENTITY"),
Self::YCBCR_IDENTITY => Some("YCBCR_IDENTITY"),
Self::YCBCR_709 => Some("YCBCR_709"),
Self::YCBCR_601 => Some("YCBCR_601"),
Self::YCBCR_2020 => Some("YCBCR_2020"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SamplerYcbcrRange {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ITU_FULL => Some("ITU_FULL"),
Self::ITU_NARROW => Some("ITU_NARROW"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ScopeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEVICE => Some("DEVICE"),
Self::WORKGROUP => Some("WORKGROUP"),
Self::SUBGROUP => Some("SUBGROUP"),
Self::QUEUE_FAMILY => Some("QUEUE_FAMILY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ScreenSurfaceCreateFlagsQNX {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SemaphoreCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SemaphoreImportFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SemaphoreImportFlags::TEMPORARY.0, "TEMPORARY")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SemaphoreType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::BINARY => Some("BINARY"),
Self::TIMELINE => Some("TIMELINE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SemaphoreWaitFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SemaphoreWaitFlags::ANY.0, "ANY")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ShaderCodeTypeEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::BINARY => Some("BINARY"),
Self::SPIRV => Some("SPIRV"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ShaderCorePropertiesFlagsAMD {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ShaderCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ShaderCreateFlagsEXT::LINK_STAGE.0, "LINK_STAGE"),
(
ShaderCreateFlagsEXT::ALLOW_VARYING_SUBGROUP_SIZE.0,
"ALLOW_VARYING_SUBGROUP_SIZE",
),
(
ShaderCreateFlagsEXT::REQUIRE_FULL_SUBGROUPS.0,
"REQUIRE_FULL_SUBGROUPS",
),
(ShaderCreateFlagsEXT::NO_TASK_SHADER.0, "NO_TASK_SHADER"),
(ShaderCreateFlagsEXT::DISPATCH_BASE.0, "DISPATCH_BASE"),
(
ShaderCreateFlagsEXT::FRAGMENT_SHADING_RATE_ATTACHMENT.0,
"FRAGMENT_SHADING_RATE_ATTACHMENT",
),
(
ShaderCreateFlagsEXT::FRAGMENT_DENSITY_MAP_ATTACHMENT.0,
"FRAGMENT_DENSITY_MAP_ATTACHMENT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ShaderFloatControlsIndependence {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::TYPE_32_ONLY => Some("TYPE_32_ONLY"),
Self::ALL => Some("ALL"),
Self::NONE => Some("NONE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ShaderGroupShaderKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::GENERAL => Some("GENERAL"),
Self::CLOSEST_HIT => Some("CLOSEST_HIT"),
Self::ANY_HIT => Some("ANY_HIT"),
Self::INTERSECTION => Some("INTERSECTION"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ShaderInfoTypeAMD {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::STATISTICS => Some("STATISTICS"),
Self::BINARY => Some("BINARY"),
Self::DISASSEMBLY => Some("DISASSEMBLY"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ShaderModuleCreateFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ShaderStageFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ShaderStageFlags::VERTEX.0, "VERTEX"),
(
ShaderStageFlags::TESSELLATION_CONTROL.0,
"TESSELLATION_CONTROL",
),
(
ShaderStageFlags::TESSELLATION_EVALUATION.0,
"TESSELLATION_EVALUATION",
),
(ShaderStageFlags::GEOMETRY.0, "GEOMETRY"),
(ShaderStageFlags::FRAGMENT.0, "FRAGMENT"),
(ShaderStageFlags::COMPUTE.0, "COMPUTE"),
(ShaderStageFlags::ALL_GRAPHICS.0, "ALL_GRAPHICS"),
(ShaderStageFlags::ALL.0, "ALL"),
(ShaderStageFlags::RAYGEN_KHR.0, "RAYGEN_KHR"),
(ShaderStageFlags::ANY_HIT_KHR.0, "ANY_HIT_KHR"),
(ShaderStageFlags::CLOSEST_HIT_KHR.0, "CLOSEST_HIT_KHR"),
(ShaderStageFlags::MISS_KHR.0, "MISS_KHR"),
(ShaderStageFlags::INTERSECTION_KHR.0, "INTERSECTION_KHR"),
(ShaderStageFlags::CALLABLE_KHR.0, "CALLABLE_KHR"),
(ShaderStageFlags::TASK_EXT.0, "TASK_EXT"),
(ShaderStageFlags::MESH_EXT.0, "MESH_EXT"),
(
ShaderStageFlags::SUBPASS_SHADING_HUAWEI.0,
"SUBPASS_SHADING_HUAWEI",
),
(
ShaderStageFlags::CLUSTER_CULLING_HUAWEI.0,
"CLUSTER_CULLING_HUAWEI",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ShadingRatePaletteEntryNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::NO_INVOCATIONS => Some("NO_INVOCATIONS"),
Self::TYPE_16_INVOCATIONS_PER_PIXEL => Some("TYPE_16_INVOCATIONS_PER_PIXEL"),
Self::TYPE_8_INVOCATIONS_PER_PIXEL => Some("TYPE_8_INVOCATIONS_PER_PIXEL"),
Self::TYPE_4_INVOCATIONS_PER_PIXEL => Some("TYPE_4_INVOCATIONS_PER_PIXEL"),
Self::TYPE_2_INVOCATIONS_PER_PIXEL => Some("TYPE_2_INVOCATIONS_PER_PIXEL"),
Self::TYPE_1_INVOCATION_PER_PIXEL => Some("TYPE_1_INVOCATION_PER_PIXEL"),
Self::TYPE_1_INVOCATION_PER_2X1_PIXELS => Some("TYPE_1_INVOCATION_PER_2X1_PIXELS"),
Self::TYPE_1_INVOCATION_PER_1X2_PIXELS => Some("TYPE_1_INVOCATION_PER_1X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_2X2_PIXELS => Some("TYPE_1_INVOCATION_PER_2X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_4X2_PIXELS => Some("TYPE_1_INVOCATION_PER_4X2_PIXELS"),
Self::TYPE_1_INVOCATION_PER_2X4_PIXELS => Some("TYPE_1_INVOCATION_PER_2X4_PIXELS"),
Self::TYPE_1_INVOCATION_PER_4X4_PIXELS => Some("TYPE_1_INVOCATION_PER_4X4_PIXELS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SharingMode {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::EXCLUSIVE => Some("EXCLUSIVE"),
Self::CONCURRENT => Some("CONCURRENT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SparseImageFormatFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(SparseImageFormatFlags::SINGLE_MIPTAIL.0, "SINGLE_MIPTAIL"),
(
SparseImageFormatFlags::ALIGNED_MIP_SIZE.0,
"ALIGNED_MIP_SIZE",
),
(
SparseImageFormatFlags::NONSTANDARD_BLOCK_SIZE.0,
"NONSTANDARD_BLOCK_SIZE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SparseMemoryBindFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SparseMemoryBindFlags::METADATA.0, "METADATA")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for StencilFaceFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(StencilFaceFlags::FRONT.0, "FRONT"),
(StencilFaceFlags::BACK.0, "BACK"),
(StencilFaceFlags::FRONT_AND_BACK.0, "FRONT_AND_BACK"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for StencilOp {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::KEEP => Some("KEEP"),
Self::ZERO => Some("ZERO"),
Self::REPLACE => Some("REPLACE"),
Self::INCREMENT_AND_CLAMP => Some("INCREMENT_AND_CLAMP"),
Self::DECREMENT_AND_CLAMP => Some("DECREMENT_AND_CLAMP"),
Self::INVERT => Some("INVERT"),
Self::INCREMENT_AND_WRAP => Some("INCREMENT_AND_WRAP"),
Self::DECREMENT_AND_WRAP => Some("DECREMENT_AND_WRAP"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for StreamDescriptorSurfaceCreateFlagsGGP {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for StructureType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::APPLICATION_INFO => Some("APPLICATION_INFO"),
Self::INSTANCE_CREATE_INFO => Some("INSTANCE_CREATE_INFO"),
Self::DEVICE_QUEUE_CREATE_INFO => Some("DEVICE_QUEUE_CREATE_INFO"),
Self::DEVICE_CREATE_INFO => Some("DEVICE_CREATE_INFO"),
Self::SUBMIT_INFO => Some("SUBMIT_INFO"),
Self::MEMORY_ALLOCATE_INFO => Some("MEMORY_ALLOCATE_INFO"),
Self::MAPPED_MEMORY_RANGE => Some("MAPPED_MEMORY_RANGE"),
Self::BIND_SPARSE_INFO => Some("BIND_SPARSE_INFO"),
Self::FENCE_CREATE_INFO => Some("FENCE_CREATE_INFO"),
Self::SEMAPHORE_CREATE_INFO => Some("SEMAPHORE_CREATE_INFO"),
Self::EVENT_CREATE_INFO => Some("EVENT_CREATE_INFO"),
Self::QUERY_POOL_CREATE_INFO => Some("QUERY_POOL_CREATE_INFO"),
Self::BUFFER_CREATE_INFO => Some("BUFFER_CREATE_INFO"),
Self::BUFFER_VIEW_CREATE_INFO => Some("BUFFER_VIEW_CREATE_INFO"),
Self::IMAGE_CREATE_INFO => Some("IMAGE_CREATE_INFO"),
Self::IMAGE_VIEW_CREATE_INFO => Some("IMAGE_VIEW_CREATE_INFO"),
Self::SHADER_MODULE_CREATE_INFO => Some("SHADER_MODULE_CREATE_INFO"),
Self::PIPELINE_CACHE_CREATE_INFO => Some("PIPELINE_CACHE_CREATE_INFO"),
Self::PIPELINE_SHADER_STAGE_CREATE_INFO => Some("PIPELINE_SHADER_STAGE_CREATE_INFO"),
Self::PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO => {
Some("PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO")
}
Self::PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO => {
Some("PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO")
}
Self::PIPELINE_TESSELLATION_STATE_CREATE_INFO => {
Some("PIPELINE_TESSELLATION_STATE_CREATE_INFO")
}
Self::PIPELINE_VIEWPORT_STATE_CREATE_INFO => {
Some("PIPELINE_VIEWPORT_STATE_CREATE_INFO")
}
Self::PIPELINE_RASTERIZATION_STATE_CREATE_INFO => {
Some("PIPELINE_RASTERIZATION_STATE_CREATE_INFO")
}
Self::PIPELINE_MULTISAMPLE_STATE_CREATE_INFO => {
Some("PIPELINE_MULTISAMPLE_STATE_CREATE_INFO")
}
Self::PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO => {
Some("PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO")
}
Self::PIPELINE_COLOR_BLEND_STATE_CREATE_INFO => {
Some("PIPELINE_COLOR_BLEND_STATE_CREATE_INFO")
}
Self::PIPELINE_DYNAMIC_STATE_CREATE_INFO => Some("PIPELINE_DYNAMIC_STATE_CREATE_INFO"),
Self::GRAPHICS_PIPELINE_CREATE_INFO => Some("GRAPHICS_PIPELINE_CREATE_INFO"),
Self::COMPUTE_PIPELINE_CREATE_INFO => Some("COMPUTE_PIPELINE_CREATE_INFO"),
Self::PIPELINE_LAYOUT_CREATE_INFO => Some("PIPELINE_LAYOUT_CREATE_INFO"),
Self::SAMPLER_CREATE_INFO => Some("SAMPLER_CREATE_INFO"),
Self::DESCRIPTOR_SET_LAYOUT_CREATE_INFO => Some("DESCRIPTOR_SET_LAYOUT_CREATE_INFO"),
Self::DESCRIPTOR_POOL_CREATE_INFO => Some("DESCRIPTOR_POOL_CREATE_INFO"),
Self::DESCRIPTOR_SET_ALLOCATE_INFO => Some("DESCRIPTOR_SET_ALLOCATE_INFO"),
Self::WRITE_DESCRIPTOR_SET => Some("WRITE_DESCRIPTOR_SET"),
Self::COPY_DESCRIPTOR_SET => Some("COPY_DESCRIPTOR_SET"),
Self::FRAMEBUFFER_CREATE_INFO => Some("FRAMEBUFFER_CREATE_INFO"),
Self::RENDER_PASS_CREATE_INFO => Some("RENDER_PASS_CREATE_INFO"),
Self::COMMAND_POOL_CREATE_INFO => Some("COMMAND_POOL_CREATE_INFO"),
Self::COMMAND_BUFFER_ALLOCATE_INFO => Some("COMMAND_BUFFER_ALLOCATE_INFO"),
Self::COMMAND_BUFFER_INHERITANCE_INFO => Some("COMMAND_BUFFER_INHERITANCE_INFO"),
Self::COMMAND_BUFFER_BEGIN_INFO => Some("COMMAND_BUFFER_BEGIN_INFO"),
Self::RENDER_PASS_BEGIN_INFO => Some("RENDER_PASS_BEGIN_INFO"),
Self::BUFFER_MEMORY_BARRIER => Some("BUFFER_MEMORY_BARRIER"),
Self::IMAGE_MEMORY_BARRIER => Some("IMAGE_MEMORY_BARRIER"),
Self::MEMORY_BARRIER => Some("MEMORY_BARRIER"),
Self::LOADER_INSTANCE_CREATE_INFO => Some("LOADER_INSTANCE_CREATE_INFO"),
Self::LOADER_DEVICE_CREATE_INFO => Some("LOADER_DEVICE_CREATE_INFO"),
Self::SWAPCHAIN_CREATE_INFO_KHR => Some("SWAPCHAIN_CREATE_INFO_KHR"),
Self::PRESENT_INFO_KHR => Some("PRESENT_INFO_KHR"),
Self::DEVICE_GROUP_PRESENT_CAPABILITIES_KHR => {
Some("DEVICE_GROUP_PRESENT_CAPABILITIES_KHR")
}
Self::IMAGE_SWAPCHAIN_CREATE_INFO_KHR => Some("IMAGE_SWAPCHAIN_CREATE_INFO_KHR"),
Self::BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR => {
Some("BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR")
}
Self::ACQUIRE_NEXT_IMAGE_INFO_KHR => Some("ACQUIRE_NEXT_IMAGE_INFO_KHR"),
Self::DEVICE_GROUP_PRESENT_INFO_KHR => Some("DEVICE_GROUP_PRESENT_INFO_KHR"),
Self::DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR => {
Some("DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR")
}
Self::DISPLAY_MODE_CREATE_INFO_KHR => Some("DISPLAY_MODE_CREATE_INFO_KHR"),
Self::DISPLAY_SURFACE_CREATE_INFO_KHR => Some("DISPLAY_SURFACE_CREATE_INFO_KHR"),
Self::DISPLAY_PRESENT_INFO_KHR => Some("DISPLAY_PRESENT_INFO_KHR"),
Self::XLIB_SURFACE_CREATE_INFO_KHR => Some("XLIB_SURFACE_CREATE_INFO_KHR"),
Self::XCB_SURFACE_CREATE_INFO_KHR => Some("XCB_SURFACE_CREATE_INFO_KHR"),
Self::WAYLAND_SURFACE_CREATE_INFO_KHR => Some("WAYLAND_SURFACE_CREATE_INFO_KHR"),
Self::ANDROID_SURFACE_CREATE_INFO_KHR => Some("ANDROID_SURFACE_CREATE_INFO_KHR"),
Self::WIN32_SURFACE_CREATE_INFO_KHR => Some("WIN32_SURFACE_CREATE_INFO_KHR"),
Self::NATIVE_BUFFER_ANDROID => Some("NATIVE_BUFFER_ANDROID"),
Self::SWAPCHAIN_IMAGE_CREATE_INFO_ANDROID => {
Some("SWAPCHAIN_IMAGE_CREATE_INFO_ANDROID")
}
Self::PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_ANDROID => {
Some("PHYSICAL_DEVICE_PRESENTATION_PROPERTIES_ANDROID")
}
Self::DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT => {
Some("DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT")
}
Self::PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD => {
Some("PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD")
}
Self::DEBUG_MARKER_OBJECT_NAME_INFO_EXT => Some("DEBUG_MARKER_OBJECT_NAME_INFO_EXT"),
Self::DEBUG_MARKER_OBJECT_TAG_INFO_EXT => Some("DEBUG_MARKER_OBJECT_TAG_INFO_EXT"),
Self::DEBUG_MARKER_MARKER_INFO_EXT => Some("DEBUG_MARKER_MARKER_INFO_EXT"),
Self::VIDEO_PROFILE_INFO_KHR => Some("VIDEO_PROFILE_INFO_KHR"),
Self::VIDEO_CAPABILITIES_KHR => Some("VIDEO_CAPABILITIES_KHR"),
Self::VIDEO_PICTURE_RESOURCE_INFO_KHR => Some("VIDEO_PICTURE_RESOURCE_INFO_KHR"),
Self::VIDEO_SESSION_MEMORY_REQUIREMENTS_KHR => {
Some("VIDEO_SESSION_MEMORY_REQUIREMENTS_KHR")
}
Self::BIND_VIDEO_SESSION_MEMORY_INFO_KHR => Some("BIND_VIDEO_SESSION_MEMORY_INFO_KHR"),
Self::VIDEO_SESSION_CREATE_INFO_KHR => Some("VIDEO_SESSION_CREATE_INFO_KHR"),
Self::VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR => {
Some("VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR")
}
Self::VIDEO_BEGIN_CODING_INFO_KHR => Some("VIDEO_BEGIN_CODING_INFO_KHR"),
Self::VIDEO_END_CODING_INFO_KHR => Some("VIDEO_END_CODING_INFO_KHR"),
Self::VIDEO_CODING_CONTROL_INFO_KHR => Some("VIDEO_CODING_CONTROL_INFO_KHR"),
Self::VIDEO_REFERENCE_SLOT_INFO_KHR => Some("VIDEO_REFERENCE_SLOT_INFO_KHR"),
Self::QUEUE_FAMILY_VIDEO_PROPERTIES_KHR => Some("QUEUE_FAMILY_VIDEO_PROPERTIES_KHR"),
Self::VIDEO_PROFILE_LIST_INFO_KHR => Some("VIDEO_PROFILE_LIST_INFO_KHR"),
Self::PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR => {
Some("PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR")
}
Self::VIDEO_FORMAT_PROPERTIES_KHR => Some("VIDEO_FORMAT_PROPERTIES_KHR"),
Self::QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR => {
Some("QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR")
}
Self::VIDEO_DECODE_INFO_KHR => Some("VIDEO_DECODE_INFO_KHR"),
Self::VIDEO_DECODE_CAPABILITIES_KHR => Some("VIDEO_DECODE_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_USAGE_INFO_KHR => Some("VIDEO_DECODE_USAGE_INFO_KHR"),
Self::DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV => {
Some("DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV")
}
Self::DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV => {
Some("DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV")
}
Self::DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV => {
Some("DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT")
}
Self::PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT => {
Some("PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT")
}
Self::CU_MODULE_CREATE_INFO_NVX => Some("CU_MODULE_CREATE_INFO_NVX"),
Self::CU_FUNCTION_CREATE_INFO_NVX => Some("CU_FUNCTION_CREATE_INFO_NVX"),
Self::CU_LAUNCH_INFO_NVX => Some("CU_LAUNCH_INFO_NVX"),
Self::IMAGE_VIEW_HANDLE_INFO_NVX => Some("IMAGE_VIEW_HANDLE_INFO_NVX"),
Self::IMAGE_VIEW_ADDRESS_PROPERTIES_NVX => Some("IMAGE_VIEW_ADDRESS_PROPERTIES_NVX"),
Self::VIDEO_ENCODE_H264_CAPABILITIES_KHR => Some("VIDEO_ENCODE_H264_CAPABILITIES_KHR"),
Self::VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_PICTURE_INFO_KHR => Some("VIDEO_ENCODE_H264_PICTURE_INFO_KHR"),
Self::VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR => {
Some("VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR => {
Some("VIDEO_ENCODE_H264_NALU_SLICE_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR => {
Some("VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_PROFILE_INFO_KHR => Some("VIDEO_ENCODE_H264_PROFILE_INFO_KHR"),
Self::VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR => {
Some("VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR => {
Some("VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR => {
Some("VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR => {
Some("VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR")
}
Self::VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR => {
Some("VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR")
}
Self::VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR => {
Some("VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_CAPABILITIES_KHR => Some("VIDEO_ENCODE_H265_CAPABILITIES_KHR"),
Self::VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_PICTURE_INFO_KHR => Some("VIDEO_ENCODE_H265_PICTURE_INFO_KHR"),
Self::VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR => {
Some("VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR => {
Some("VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR => {
Some("VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_PROFILE_INFO_KHR => Some("VIDEO_ENCODE_H265_PROFILE_INFO_KHR"),
Self::VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR => {
Some("VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR => {
Some("VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR => {
Some("VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR => {
Some("VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR")
}
Self::VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR => {
Some("VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR")
}
Self::VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR => {
Some("VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR")
}
Self::VIDEO_DECODE_H264_CAPABILITIES_KHR => Some("VIDEO_DECODE_H264_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_H264_PICTURE_INFO_KHR => Some("VIDEO_DECODE_H264_PICTURE_INFO_KHR"),
Self::VIDEO_DECODE_H264_PROFILE_INFO_KHR => Some("VIDEO_DECODE_H264_PROFILE_INFO_KHR"),
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR => {
Some("VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR")
}
Self::TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD => {
Some("TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD")
}
Self::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR => {
Some("RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR")
}
Self::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT => {
Some("RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT")
}
Self::ATTACHMENT_SAMPLE_COUNT_INFO_AMD => Some("ATTACHMENT_SAMPLE_COUNT_INFO_AMD"),
Self::MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX => {
Some("MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX")
}
Self::STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP => {
Some("STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP")
}
Self::PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV")
}
Self::EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV => {
Some("EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV")
}
Self::EXPORT_MEMORY_ALLOCATE_INFO_NV => Some("EXPORT_MEMORY_ALLOCATE_INFO_NV"),
Self::IMPORT_MEMORY_WIN32_HANDLE_INFO_NV => Some("IMPORT_MEMORY_WIN32_HANDLE_INFO_NV"),
Self::EXPORT_MEMORY_WIN32_HANDLE_INFO_NV => Some("EXPORT_MEMORY_WIN32_HANDLE_INFO_NV"),
Self::WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV => {
Some("WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV")
}
Self::VALIDATION_FLAGS_EXT => Some("VALIDATION_FLAGS_EXT"),
Self::VI_SURFACE_CREATE_INFO_NN => Some("VI_SURFACE_CREATE_INFO_NN"),
Self::IMAGE_VIEW_ASTC_DECODE_MODE_EXT => Some("IMAGE_VIEW_ASTC_DECODE_MODE_EXT"),
Self::PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT")
}
Self::PIPELINE_ROBUSTNESS_CREATE_INFO_EXT => {
Some("PIPELINE_ROBUSTNESS_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES_EXT")
}
Self::IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR => {
Some("IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR")
}
Self::EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR => {
Some("EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR")
}
Self::MEMORY_WIN32_HANDLE_PROPERTIES_KHR => Some("MEMORY_WIN32_HANDLE_PROPERTIES_KHR"),
Self::MEMORY_GET_WIN32_HANDLE_INFO_KHR => Some("MEMORY_GET_WIN32_HANDLE_INFO_KHR"),
Self::IMPORT_MEMORY_FD_INFO_KHR => Some("IMPORT_MEMORY_FD_INFO_KHR"),
Self::MEMORY_FD_PROPERTIES_KHR => Some("MEMORY_FD_PROPERTIES_KHR"),
Self::MEMORY_GET_FD_INFO_KHR => Some("MEMORY_GET_FD_INFO_KHR"),
Self::WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR => {
Some("WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR")
}
Self::IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR => {
Some("IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR")
}
Self::EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR => {
Some("EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR")
}
Self::D3D12_FENCE_SUBMIT_INFO_KHR => Some("D3D12_FENCE_SUBMIT_INFO_KHR"),
Self::SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR => {
Some("SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR")
}
Self::IMPORT_SEMAPHORE_FD_INFO_KHR => Some("IMPORT_SEMAPHORE_FD_INFO_KHR"),
Self::SEMAPHORE_GET_FD_INFO_KHR => Some("SEMAPHORE_GET_FD_INFO_KHR"),
Self::PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR")
}
Self::COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT => {
Some("COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT")
}
Self::PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT")
}
Self::CONDITIONAL_RENDERING_BEGIN_INFO_EXT => {
Some("CONDITIONAL_RENDERING_BEGIN_INFO_EXT")
}
Self::PRESENT_REGIONS_KHR => Some("PRESENT_REGIONS_KHR"),
Self::PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV")
}
Self::SURFACE_CAPABILITIES_2_EXT => Some("SURFACE_CAPABILITIES_2_EXT"),
Self::DISPLAY_POWER_INFO_EXT => Some("DISPLAY_POWER_INFO_EXT"),
Self::DEVICE_EVENT_INFO_EXT => Some("DEVICE_EVENT_INFO_EXT"),
Self::DISPLAY_EVENT_INFO_EXT => Some("DISPLAY_EVENT_INFO_EXT"),
Self::SWAPCHAIN_COUNTER_CREATE_INFO_EXT => Some("SWAPCHAIN_COUNTER_CREATE_INFO_EXT"),
Self::PRESENT_TIMES_INFO_GOOGLE => Some("PRESENT_TIMES_INFO_GOOGLE"),
Self::PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX => {
Some("PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX")
}
Self::PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT")
}
Self::PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT")
}
Self::PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT")
}
Self::PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT")
}
Self::HDR_METADATA_EXT => Some("HDR_METADATA_EXT"),
Self::PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG => {
Some("PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG")
}
Self::SHARED_PRESENT_SURFACE_CAPABILITIES_KHR => {
Some("SHARED_PRESENT_SURFACE_CAPABILITIES_KHR")
}
Self::IMPORT_FENCE_WIN32_HANDLE_INFO_KHR => Some("IMPORT_FENCE_WIN32_HANDLE_INFO_KHR"),
Self::EXPORT_FENCE_WIN32_HANDLE_INFO_KHR => Some("EXPORT_FENCE_WIN32_HANDLE_INFO_KHR"),
Self::FENCE_GET_WIN32_HANDLE_INFO_KHR => Some("FENCE_GET_WIN32_HANDLE_INFO_KHR"),
Self::IMPORT_FENCE_FD_INFO_KHR => Some("IMPORT_FENCE_FD_INFO_KHR"),
Self::FENCE_GET_FD_INFO_KHR => Some("FENCE_GET_FD_INFO_KHR"),
Self::PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR")
}
Self::QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR => {
Some("QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR")
}
Self::PERFORMANCE_QUERY_SUBMIT_INFO_KHR => Some("PERFORMANCE_QUERY_SUBMIT_INFO_KHR"),
Self::ACQUIRE_PROFILING_LOCK_INFO_KHR => Some("ACQUIRE_PROFILING_LOCK_INFO_KHR"),
Self::PERFORMANCE_COUNTER_KHR => Some("PERFORMANCE_COUNTER_KHR"),
Self::PERFORMANCE_COUNTER_DESCRIPTION_KHR => {
Some("PERFORMANCE_COUNTER_DESCRIPTION_KHR")
}
Self::PHYSICAL_DEVICE_SURFACE_INFO_2_KHR => Some("PHYSICAL_DEVICE_SURFACE_INFO_2_KHR"),
Self::SURFACE_CAPABILITIES_2_KHR => Some("SURFACE_CAPABILITIES_2_KHR"),
Self::SURFACE_FORMAT_2_KHR => Some("SURFACE_FORMAT_2_KHR"),
Self::DISPLAY_PROPERTIES_2_KHR => Some("DISPLAY_PROPERTIES_2_KHR"),
Self::DISPLAY_PLANE_PROPERTIES_2_KHR => Some("DISPLAY_PLANE_PROPERTIES_2_KHR"),
Self::DISPLAY_MODE_PROPERTIES_2_KHR => Some("DISPLAY_MODE_PROPERTIES_2_KHR"),
Self::DISPLAY_PLANE_INFO_2_KHR => Some("DISPLAY_PLANE_INFO_2_KHR"),
Self::DISPLAY_PLANE_CAPABILITIES_2_KHR => Some("DISPLAY_PLANE_CAPABILITIES_2_KHR"),
Self::IOS_SURFACE_CREATE_INFO_MVK => Some("IOS_SURFACE_CREATE_INFO_MVK"),
Self::MACOS_SURFACE_CREATE_INFO_MVK => Some("MACOS_SURFACE_CREATE_INFO_MVK"),
Self::DEBUG_UTILS_OBJECT_NAME_INFO_EXT => Some("DEBUG_UTILS_OBJECT_NAME_INFO_EXT"),
Self::DEBUG_UTILS_OBJECT_TAG_INFO_EXT => Some("DEBUG_UTILS_OBJECT_TAG_INFO_EXT"),
Self::DEBUG_UTILS_LABEL_EXT => Some("DEBUG_UTILS_LABEL_EXT"),
Self::DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT => {
Some("DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT")
}
Self::DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT => {
Some("DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT")
}
Self::ANDROID_HARDWARE_BUFFER_USAGE_ANDROID => {
Some("ANDROID_HARDWARE_BUFFER_USAGE_ANDROID")
}
Self::ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID => {
Some("ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID")
}
Self::ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID => {
Some("ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID")
}
Self::IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID => {
Some("IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID")
}
Self::MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID => {
Some("MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID")
}
Self::EXTERNAL_FORMAT_ANDROID => Some("EXTERNAL_FORMAT_ANDROID"),
Self::ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID => {
Some("ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID")
}
Self::PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX => {
Some("PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX")
}
Self::PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX => {
Some("PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX")
}
Self::EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX => {
Some("EXECUTION_GRAPH_PIPELINE_SCRATCH_SIZE_AMDX")
}
Self::EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX => {
Some("EXECUTION_GRAPH_PIPELINE_CREATE_INFO_AMDX")
}
Self::PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX => {
Some("PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX")
}
Self::SAMPLE_LOCATIONS_INFO_EXT => Some("SAMPLE_LOCATIONS_INFO_EXT"),
Self::RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT => {
Some("RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT")
}
Self::PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT")
}
Self::MULTISAMPLE_PROPERTIES_EXT => Some("MULTISAMPLE_PROPERTIES_EXT"),
Self::PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT")
}
Self::PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT")
}
Self::PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV => {
Some("PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV")
}
Self::WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR => {
Some("WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR")
}
Self::ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR => {
Some("ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR")
}
Self::ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR => {
Some("ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR")
}
Self::ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR => {
Some("ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR")
}
Self::ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR => {
Some("ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR")
}
Self::ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR => {
Some("ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR")
}
Self::ACCELERATION_STRUCTURE_GEOMETRY_KHR => {
Some("ACCELERATION_STRUCTURE_GEOMETRY_KHR")
}
Self::ACCELERATION_STRUCTURE_VERSION_INFO_KHR => {
Some("ACCELERATION_STRUCTURE_VERSION_INFO_KHR")
}
Self::COPY_ACCELERATION_STRUCTURE_INFO_KHR => {
Some("COPY_ACCELERATION_STRUCTURE_INFO_KHR")
}
Self::COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR => {
Some("COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR")
}
Self::COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR => {
Some("COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR")
}
Self::ACCELERATION_STRUCTURE_CREATE_INFO_KHR => {
Some("ACCELERATION_STRUCTURE_CREATE_INFO_KHR")
}
Self::ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR => {
Some("ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR")
}
Self::RAY_TRACING_PIPELINE_CREATE_INFO_KHR => {
Some("RAY_TRACING_PIPELINE_CREATE_INFO_KHR")
}
Self::RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR => {
Some("RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR")
}
Self::RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR => {
Some("RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR")
}
Self::PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV => {
Some("PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV => {
Some("PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV")
}
Self::DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT => {
Some("DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT")
}
Self::PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT")
}
Self::IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT => {
Some("IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT")
}
Self::IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT => {
Some("IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT")
}
Self::IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT => {
Some("IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT")
}
Self::DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT => {
Some("DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT")
}
Self::VALIDATION_CACHE_CREATE_INFO_EXT => Some("VALIDATION_CACHE_CREATE_INFO_EXT"),
Self::SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT => {
Some("SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR")
}
Self::PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV")
}
Self::PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV")
}
Self::RAY_TRACING_PIPELINE_CREATE_INFO_NV => {
Some("RAY_TRACING_PIPELINE_CREATE_INFO_NV")
}
Self::ACCELERATION_STRUCTURE_CREATE_INFO_NV => {
Some("ACCELERATION_STRUCTURE_CREATE_INFO_NV")
}
Self::GEOMETRY_NV => Some("GEOMETRY_NV"),
Self::GEOMETRY_TRIANGLES_NV => Some("GEOMETRY_TRIANGLES_NV"),
Self::GEOMETRY_AABB_NV => Some("GEOMETRY_AABB_NV"),
Self::BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV => {
Some("BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV")
}
Self::WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV => {
Some("WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV")
}
Self::ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV => {
Some("ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV")
}
Self::RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV => {
Some("RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV")
}
Self::ACCELERATION_STRUCTURE_INFO_NV => Some("ACCELERATION_STRUCTURE_INFO_NV"),
Self::PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV => {
Some("PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV")
}
Self::PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV => {
Some("PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT")
}
Self::FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT => {
Some("FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT")
}
Self::IMPORT_MEMORY_HOST_POINTER_INFO_EXT => {
Some("IMPORT_MEMORY_HOST_POINTER_INFO_EXT")
}
Self::MEMORY_HOST_POINTER_PROPERTIES_EXT => Some("MEMORY_HOST_POINTER_PROPERTIES_EXT"),
Self::PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR")
}
Self::PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD => {
Some("PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD")
}
Self::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD => {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD")
}
Self::VIDEO_DECODE_H265_CAPABILITIES_KHR => Some("VIDEO_DECODE_H265_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR => {
Some("VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR")
}
Self::VIDEO_DECODE_H265_PROFILE_INFO_KHR => Some("VIDEO_DECODE_H265_PROFILE_INFO_KHR"),
Self::VIDEO_DECODE_H265_PICTURE_INFO_KHR => Some("VIDEO_DECODE_H265_PICTURE_INFO_KHR"),
Self::VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR => {
Some("VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR")
}
Self::DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR => {
Some("DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_KHR")
}
Self::QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR => {
Some("QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_KHR")
}
Self::DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD => {
Some("DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD")
}
Self::PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT")
}
Self::PRESENT_FRAME_TOKEN_GGP => Some("PRESENT_FRAME_TOKEN_GGP"),
Self::PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV => {
Some("PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV => {
Some("PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV => {
Some("PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV")
}
Self::PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV")
}
Self::PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV => {
Some("PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV")
}
Self::CHECKPOINT_DATA_NV => Some("CHECKPOINT_DATA_NV"),
Self::QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV => {
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL => {
Some("PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL")
}
Self::QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL => {
Some("QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL")
}
Self::INITIALIZE_PERFORMANCE_API_INFO_INTEL => {
Some("INITIALIZE_PERFORMANCE_API_INFO_INTEL")
}
Self::PERFORMANCE_MARKER_INFO_INTEL => Some("PERFORMANCE_MARKER_INFO_INTEL"),
Self::PERFORMANCE_STREAM_MARKER_INFO_INTEL => {
Some("PERFORMANCE_STREAM_MARKER_INFO_INTEL")
}
Self::PERFORMANCE_OVERRIDE_INFO_INTEL => Some("PERFORMANCE_OVERRIDE_INFO_INTEL"),
Self::PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL => {
Some("PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL")
}
Self::PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT")
}
Self::DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD => {
Some("DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD")
}
Self::SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD => {
Some("SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD")
}
Self::IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA => {
Some("IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA")
}
Self::METAL_SURFACE_CREATE_INFO_EXT => Some("METAL_SURFACE_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT")
}
Self::RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT => {
Some("RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT")
}
Self::FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR => {
Some("FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR")
}
Self::PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR => {
Some("PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD => {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD")
}
Self::PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD => {
Some("PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD")
}
Self::PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES_KHR")
}
Self::RENDERING_ATTACHMENT_LOCATION_INFO_KHR => {
Some("RENDERING_ATTACHMENT_LOCATION_INFO_KHR")
}
Self::RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR => {
Some("RENDERING_INPUT_ATTACHMENT_INDEX_INFO_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT")
}
Self::PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT")
}
Self::MEMORY_PRIORITY_ALLOCATE_INFO_EXT => Some("MEMORY_PRIORITY_ALLOCATE_INFO_EXT"),
Self::SURFACE_PROTECTED_CAPABILITIES_KHR => Some("SURFACE_PROTECTED_CAPABILITIES_KHR"),
Self::PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT")
}
Self::BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT => {
Some("BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT")
}
Self::VALIDATION_FEATURES_EXT => Some("VALIDATION_FEATURES_EXT"),
Self::PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV => {
Some("PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV")
}
Self::COOPERATIVE_MATRIX_PROPERTIES_NV => Some("COOPERATIVE_MATRIX_PROPERTIES_NV"),
Self::PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV")
}
Self::PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV")
}
Self::PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV => {
Some("PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV")
}
Self::FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV => {
Some("FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT")
}
Self::PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT => {
Some("PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT")
}
Self::SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT => {
Some("SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT")
}
Self::SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT => {
Some("SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT")
}
Self::SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT => {
Some("SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT")
}
Self::HEADLESS_SURFACE_CREATE_INFO_EXT => Some("HEADLESS_SURFACE_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR")
}
Self::PIPELINE_INFO_KHR => Some("PIPELINE_INFO_KHR"),
Self::PIPELINE_EXECUTABLE_PROPERTIES_KHR => Some("PIPELINE_EXECUTABLE_PROPERTIES_KHR"),
Self::PIPELINE_EXECUTABLE_INFO_KHR => Some("PIPELINE_EXECUTABLE_INFO_KHR"),
Self::PIPELINE_EXECUTABLE_STATISTIC_KHR => Some("PIPELINE_EXECUTABLE_STATISTIC_KHR"),
Self::PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR => {
Some("PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR")
}
Self::PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES_EXT")
}
Self::MEMORY_TO_IMAGE_COPY_EXT => Some("MEMORY_TO_IMAGE_COPY_EXT"),
Self::IMAGE_TO_MEMORY_COPY_EXT => Some("IMAGE_TO_MEMORY_COPY_EXT"),
Self::COPY_IMAGE_TO_MEMORY_INFO_EXT => Some("COPY_IMAGE_TO_MEMORY_INFO_EXT"),
Self::COPY_MEMORY_TO_IMAGE_INFO_EXT => Some("COPY_MEMORY_TO_IMAGE_INFO_EXT"),
Self::HOST_IMAGE_LAYOUT_TRANSITION_INFO_EXT => {
Some("HOST_IMAGE_LAYOUT_TRANSITION_INFO_EXT")
}
Self::COPY_IMAGE_TO_IMAGE_INFO_EXT => Some("COPY_IMAGE_TO_IMAGE_INFO_EXT"),
Self::SUBRESOURCE_HOST_MEMCPY_SIZE_EXT => Some("SUBRESOURCE_HOST_MEMCPY_SIZE_EXT"),
Self::HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT => {
Some("HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY_EXT")
}
Self::MEMORY_MAP_INFO_KHR => Some("MEMORY_MAP_INFO_KHR"),
Self::MEMORY_UNMAP_INFO_KHR => Some("MEMORY_UNMAP_INFO_KHR"),
Self::PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT")
}
Self::MEMORY_MAP_PLACED_INFO_EXT => Some("MEMORY_MAP_PLACED_INFO_EXT"),
Self::PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT")
}
Self::SURFACE_PRESENT_MODE_EXT => Some("SURFACE_PRESENT_MODE_EXT"),
Self::SURFACE_PRESENT_SCALING_CAPABILITIES_EXT => {
Some("SURFACE_PRESENT_SCALING_CAPABILITIES_EXT")
}
Self::SURFACE_PRESENT_MODE_COMPATIBILITY_EXT => {
Some("SURFACE_PRESENT_MODE_COMPATIBILITY_EXT")
}
Self::PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_EXT")
}
Self::SWAPCHAIN_PRESENT_FENCE_INFO_EXT => Some("SWAPCHAIN_PRESENT_FENCE_INFO_EXT"),
Self::SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT => {
Some("SWAPCHAIN_PRESENT_MODES_CREATE_INFO_EXT")
}
Self::SWAPCHAIN_PRESENT_MODE_INFO_EXT => Some("SWAPCHAIN_PRESENT_MODE_INFO_EXT"),
Self::SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT => {
Some("SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_EXT")
}
Self::RELEASE_SWAPCHAIN_IMAGES_INFO_EXT => Some("RELEASE_SWAPCHAIN_IMAGES_INFO_EXT"),
Self::PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV")
}
Self::GRAPHICS_SHADER_GROUP_CREATE_INFO_NV => {
Some("GRAPHICS_SHADER_GROUP_CREATE_INFO_NV")
}
Self::GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV => {
Some("GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV")
}
Self::INDIRECT_COMMANDS_LAYOUT_TOKEN_NV => Some("INDIRECT_COMMANDS_LAYOUT_TOKEN_NV"),
Self::INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV => {
Some("INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV")
}
Self::GENERATED_COMMANDS_INFO_NV => Some("GENERATED_COMMANDS_INFO_NV"),
Self::GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV => {
Some("GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV")
}
Self::PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV => {
Some("PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV")
}
Self::COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV => {
Some("COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV")
}
Self::PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT")
}
Self::COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM => {
Some("COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM")
}
Self::RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM => {
Some("RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT")
}
Self::DEPTH_BIAS_INFO_EXT => Some("DEPTH_BIAS_INFO_EXT"),
Self::DEPTH_BIAS_REPRESENTATION_INFO_EXT => Some("DEPTH_BIAS_REPRESENTATION_INFO_EXT"),
Self::PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT")
}
Self::DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT => {
Some("DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT")
}
Self::DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT => {
Some("DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT")
}
Self::PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT")
}
Self::SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT => {
Some("SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT")
}
Self::PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT => {
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")
}
Self::VIDEO_ENCODE_INFO_KHR => Some("VIDEO_ENCODE_INFO_KHR"),
Self::VIDEO_ENCODE_RATE_CONTROL_INFO_KHR => Some("VIDEO_ENCODE_RATE_CONTROL_INFO_KHR"),
Self::VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR => {
Some("VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR")
}
Self::VIDEO_ENCODE_CAPABILITIES_KHR => Some("VIDEO_ENCODE_CAPABILITIES_KHR"),
Self::VIDEO_ENCODE_USAGE_INFO_KHR => Some("VIDEO_ENCODE_USAGE_INFO_KHR"),
Self::QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR => {
Some("QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR => {
Some("PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR")
}
Self::VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR => {
Some("VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR")
}
Self::VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR => {
Some("VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR")
}
Self::VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR => {
Some("VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR")
}
Self::VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR => {
Some("VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR")
}
Self::PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV")
}
Self::DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV => {
Some("DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV")
}
Self::CUDA_MODULE_CREATE_INFO_NV => Some("CUDA_MODULE_CREATE_INFO_NV"),
Self::CUDA_FUNCTION_CREATE_INFO_NV => Some("CUDA_FUNCTION_CREATE_INFO_NV"),
Self::CUDA_LAUNCH_INFO_NV => Some("CUDA_LAUNCH_INFO_NV"),
Self::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV => {
Some("PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV")
}
Self::QUERY_LOW_LATENCY_SUPPORT_NV => Some("QUERY_LOW_LATENCY_SUPPORT_NV"),
Self::EXPORT_METAL_OBJECT_CREATE_INFO_EXT => {
Some("EXPORT_METAL_OBJECT_CREATE_INFO_EXT")
}
Self::EXPORT_METAL_OBJECTS_INFO_EXT => Some("EXPORT_METAL_OBJECTS_INFO_EXT"),
Self::EXPORT_METAL_DEVICE_INFO_EXT => Some("EXPORT_METAL_DEVICE_INFO_EXT"),
Self::EXPORT_METAL_COMMAND_QUEUE_INFO_EXT => {
Some("EXPORT_METAL_COMMAND_QUEUE_INFO_EXT")
}
Self::EXPORT_METAL_BUFFER_INFO_EXT => Some("EXPORT_METAL_BUFFER_INFO_EXT"),
Self::IMPORT_METAL_BUFFER_INFO_EXT => Some("IMPORT_METAL_BUFFER_INFO_EXT"),
Self::EXPORT_METAL_TEXTURE_INFO_EXT => Some("EXPORT_METAL_TEXTURE_INFO_EXT"),
Self::IMPORT_METAL_TEXTURE_INFO_EXT => Some("IMPORT_METAL_TEXTURE_INFO_EXT"),
Self::EXPORT_METAL_IO_SURFACE_INFO_EXT => Some("EXPORT_METAL_IO_SURFACE_INFO_EXT"),
Self::IMPORT_METAL_IO_SURFACE_INFO_EXT => Some("IMPORT_METAL_IO_SURFACE_INFO_EXT"),
Self::EXPORT_METAL_SHARED_EVENT_INFO_EXT => Some("EXPORT_METAL_SHARED_EVENT_INFO_EXT"),
Self::IMPORT_METAL_SHARED_EVENT_INFO_EXT => Some("IMPORT_METAL_SHARED_EVENT_INFO_EXT"),
Self::QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV => {
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")
}
Self::PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT")
}
Self::GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT => {
Some("GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD => {
Some("PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV")
}
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV")
}
Self::PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV => {
Some("PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV")
}
Self::ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV => {
Some("ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV => {
Some("PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV")
}
Self::ACCELERATION_STRUCTURE_MOTION_INFO_NV => {
Some("ACCELERATION_STRUCTURE_MOTION_INFO_NV")
}
Self::PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT")
}
Self::PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT")
}
Self::COPY_COMMAND_TRANSFORM_INFO_QCOM => Some("COPY_COMMAND_TRANSFORM_INFO_QCOM"),
Self::PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT")
}
Self::IMAGE_COMPRESSION_CONTROL_EXT => Some("IMAGE_COMPRESSION_CONTROL_EXT"),
Self::IMAGE_COMPRESSION_PROPERTIES_EXT => Some("IMAGE_COMPRESSION_PROPERTIES_EXT"),
Self::PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT")
}
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")
}
Self::DIRECTFB_SURFACE_CREATE_INFO_EXT => Some("DIRECTFB_SURFACE_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT")
}
Self::VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT => {
Some("VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT")
}
Self::VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT => {
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")
}
Self::PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT => {
Some("PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT")
}
Self::IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA => {
Some("IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA")
}
Self::MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA => {
Some("MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA")
}
Self::MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA => {
Some("MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA")
}
Self::IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA => {
Some("IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA")
}
Self::SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA => {
Some("SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA")
}
Self::BUFFER_COLLECTION_CREATE_INFO_FUCHSIA => {
Some("BUFFER_COLLECTION_CREATE_INFO_FUCHSIA")
}
Self::IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA => {
Some("IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA")
}
Self::BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA => {
Some("BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA")
}
Self::BUFFER_COLLECTION_PROPERTIES_FUCHSIA => {
Some("BUFFER_COLLECTION_PROPERTIES_FUCHSIA")
}
Self::BUFFER_CONSTRAINTS_INFO_FUCHSIA => Some("BUFFER_CONSTRAINTS_INFO_FUCHSIA"),
Self::BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA => {
Some("BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA")
}
Self::IMAGE_CONSTRAINTS_INFO_FUCHSIA => Some("IMAGE_CONSTRAINTS_INFO_FUCHSIA"),
Self::IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA => {
Some("IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA")
}
Self::SYSMEM_COLOR_SPACE_FUCHSIA => Some("SYSMEM_COLOR_SPACE_FUCHSIA"),
Self::BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA => {
Some("BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA")
}
Self::SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI => {
Some("SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI")
}
Self::PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI => {
Some("PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI")
}
Self::PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI => {
Some("PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI")
}
Self::PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI => {
Some("PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI")
}
Self::MEMORY_GET_REMOTE_ADDRESS_INFO_NV => Some("MEMORY_GET_REMOTE_ADDRESS_INFO_NV"),
Self::PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV => {
Some("PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV")
}
Self::PIPELINE_PROPERTIES_IDENTIFIER_EXT => Some("PIPELINE_PROPERTIES_IDENTIFIER_EXT"),
Self::PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_FRAME_BOUNDARY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_FRAME_BOUNDARY_FEATURES_EXT")
}
Self::FRAME_BOUNDARY_EXT => Some("FRAME_BOUNDARY_EXT"),
Self::PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT")
}
Self::SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT => {
Some("SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT")
}
Self::MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT => {
Some("MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT")
}
Self::PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT")
}
Self::SCREEN_SURFACE_CREATE_INFO_QNX => Some("SCREEN_SURFACE_CREATE_INFO_QNX"),
Self::PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT")
}
Self::PIPELINE_COLOR_WRITE_CREATE_INFO_EXT => {
Some("PIPELINE_COLOR_WRITE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT")
}
Self::IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT => Some("IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT")
}
Self::PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_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_DISPLACEMENT_MICROMAP_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV")
}
Self::ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV => {
Some("ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV")
}
Self::PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI => {
Some("PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI")
}
Self::PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI => {
Some("PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI")
}
Self::PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI => {
Some("PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI")
}
Self::PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT")
}
Self::SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT => {
Some("SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM => {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM")
}
Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES_KHR")
}
Self::DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM => {
Some("DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM")
}
Self::PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM => {
Some("PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM")
}
Self::PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM => {
Some("PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM")
}
Self::PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT")
}
Self::IMAGE_VIEW_SLICED_CREATE_INFO_EXT => Some("IMAGE_VIEW_SLICED_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE")
}
Self::DESCRIPTOR_SET_BINDING_REFERENCE_VALVE => {
Some("DESCRIPTOR_SET_BINDING_REFERENCE_VALVE")
}
Self::DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE => {
Some("DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE")
}
Self::PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM => {
Some("PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM")
}
Self::PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM => {
Some("PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM")
}
Self::RENDER_PASS_STRIPE_BEGIN_INFO_ARM => Some("RENDER_PASS_STRIPE_BEGIN_INFO_ARM"),
Self::RENDER_PASS_STRIPE_INFO_ARM => Some("RENDER_PASS_STRIPE_INFO_ARM"),
Self::RENDER_PASS_STRIPE_SUBMIT_INFO_ARM => Some("RENDER_PASS_STRIPE_SUBMIT_INFO_ARM"),
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM => {
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOM")
}
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_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV")
}
Self::COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV => {
Some("COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV")
}
Self::PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV => {
Some("PIPELINE_INDIRECT_DEVICE_ADDRESS_INFO_NV")
}
Self::PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV => {
Some("PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM")
}
Self::IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM => {
Some("IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_PROPERTIES_EXT")
}
Self::EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXT => {
Some("EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXT")
}
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")
}
Self::RENDER_PASS_CREATION_CONTROL_EXT => Some("RENDER_PASS_CREATION_CONTROL_EXT"),
Self::RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT => {
Some("RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT")
}
Self::RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT => {
Some("RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT")
}
Self::DIRECT_DRIVER_LOADING_INFO_LUNARG => Some("DIRECT_DRIVER_LOADING_INFO_LUNARG"),
Self::DIRECT_DRIVER_LOADING_LIST_LUNARG => Some("DIRECT_DRIVER_LOADING_LIST_LUNARG"),
Self::PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT")
}
Self::PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT => {
Some("PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT")
}
Self::SHADER_MODULE_IDENTIFIER_EXT => Some("SHADER_MODULE_IDENTIFIER_EXT"),
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_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID => {
Some("PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID")
}
Self::PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_PROPERTIES_ANDROID => {
Some("PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_PROPERTIES_ANDROID")
}
Self::ANDROID_HARDWARE_BUFFER_FORMAT_RESOLVE_PROPERTIES_ANDROID => {
Some("ANDROID_HARDWARE_BUFFER_FORMAT_RESOLVE_PROPERTIES_ANDROID")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES_KHR")
}
Self::RENDERING_AREA_INFO_KHR => Some("RENDERING_AREA_INFO_KHR"),
Self::DEVICE_IMAGE_SUBRESOURCE_INFO_KHR => Some("DEVICE_IMAGE_SUBRESOURCE_INFO_KHR"),
Self::SUBRESOURCE_LAYOUT_2_KHR => Some("SUBRESOURCE_LAYOUT_2_KHR"),
Self::IMAGE_SUBRESOURCE_2_KHR => Some("IMAGE_SUBRESOURCE_2_KHR"),
Self::PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR => {
Some("PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR")
}
Self::BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR => {
Some("BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT")
}
Self::SHADER_CREATE_INFO_EXT => Some("SHADER_CREATE_INFO_EXT"),
Self::PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM")
}
Self::TILE_PROPERTIES_QCOM => Some("TILE_PROPERTIES_QCOM"),
Self::PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC => {
Some("PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC")
}
Self::AMIGO_PROFILING_SUBMIT_INFO_SEC => Some("AMIGO_PROFILING_SUBMIT_INFO_SEC"),
Self::PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM")
}
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_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV => {
Some("PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_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::LAYER_SETTINGS_CREATE_INFO_EXT => Some("LAYER_SETTINGS_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_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT")
}
Self::LATENCY_SLEEP_MODE_INFO_NV => Some("LATENCY_SLEEP_MODE_INFO_NV"),
Self::LATENCY_SLEEP_INFO_NV => Some("LATENCY_SLEEP_INFO_NV"),
Self::SET_LATENCY_MARKER_INFO_NV => Some("SET_LATENCY_MARKER_INFO_NV"),
Self::GET_LATENCY_MARKER_INFO_NV => Some("GET_LATENCY_MARKER_INFO_NV"),
Self::LATENCY_TIMINGS_FRAME_REPORT_NV => Some("LATENCY_TIMINGS_FRAME_REPORT_NV"),
Self::LATENCY_SUBMISSION_PRESENT_ID_NV => Some("LATENCY_SUBMISSION_PRESENT_ID_NV"),
Self::OUT_OF_BAND_QUEUE_TYPE_INFO_NV => Some("OUT_OF_BAND_QUEUE_TYPE_INFO_NV"),
Self::SWAPCHAIN_LATENCY_CREATE_INFO_NV => Some("SWAPCHAIN_LATENCY_CREATE_INFO_NV"),
Self::LATENCY_SURFACE_CAPABILITIES_NV => Some("LATENCY_SURFACE_CAPABILITIES_NV"),
Self::PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR")
}
Self::COOPERATIVE_MATRIX_PROPERTIES_KHR => Some("COOPERATIVE_MATRIX_PROPERTIES_KHR"),
Self::PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR")
}
Self::PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM")
}
Self::MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM => {
Some("MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM")
}
Self::VIDEO_DECODE_AV1_CAPABILITIES_KHR => Some("VIDEO_DECODE_AV1_CAPABILITIES_KHR"),
Self::VIDEO_DECODE_AV1_PICTURE_INFO_KHR => Some("VIDEO_DECODE_AV1_PICTURE_INFO_KHR"),
Self::VIDEO_DECODE_AV1_PROFILE_INFO_KHR => Some("VIDEO_DECODE_AV1_PROFILE_INFO_KHR"),
Self::VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR => {
Some("VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR")
}
Self::VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR => Some("VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR"),
Self::PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR")
}
Self::VIDEO_INLINE_QUERY_INFO_KHR => Some("VIDEO_INLINE_QUERY_INFO_KHR"),
Self::PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV => {
Some("PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM => {
Some("PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM")
}
Self::SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM => {
Some("SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM")
}
Self::SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM => {
Some("SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM")
}
Self::BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM => Some("BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM"),
Self::PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM")
}
Self::SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM => {
Some("SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM")
}
Self::PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM => {
Some("PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM")
}
Self::PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR")
}
Self::PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR => {
Some("PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR")
}
Self::SCREEN_BUFFER_PROPERTIES_QNX => Some("SCREEN_BUFFER_PROPERTIES_QNX"),
Self::SCREEN_BUFFER_FORMAT_PROPERTIES_QNX => {
Some("SCREEN_BUFFER_FORMAT_PROPERTIES_QNX")
}
Self::IMPORT_SCREEN_BUFFER_INFO_QNX => Some("IMPORT_SCREEN_BUFFER_INFO_QNX"),
Self::EXTERNAL_FORMAT_QNX => Some("EXTERNAL_FORMAT_QNX"),
Self::PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX => {
Some("PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX")
}
Self::PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT => {
Some("PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT")
}
Self::PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR")
}
Self::PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR => {
Some("PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_KHR")
}
Self::PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_KHR")
}
Self::CALIBRATED_TIMESTAMP_INFO_KHR => Some("CALIBRATED_TIMESTAMP_INFO_KHR"),
Self::PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR => {
Some("PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES_KHR")
}
Self::BIND_MEMORY_STATUS_KHR => Some("BIND_MEMORY_STATUS_KHR"),
Self::BIND_DESCRIPTOR_SETS_INFO_KHR => Some("BIND_DESCRIPTOR_SETS_INFO_KHR"),
Self::PUSH_CONSTANTS_INFO_KHR => Some("PUSH_CONSTANTS_INFO_KHR"),
Self::PUSH_DESCRIPTOR_SET_INFO_KHR => Some("PUSH_DESCRIPTOR_SET_INFO_KHR"),
Self::PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR => {
Some("PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR")
}
Self::SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT => {
Some("SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT")
}
Self::BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT => {
Some("BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT")
}
Self::PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV => {
Some("PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV => {
Some("PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV => {
Some("PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SUBGROUP_PROPERTIES => {
Some("PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")
}
Self::BIND_BUFFER_MEMORY_INFO => Some("BIND_BUFFER_MEMORY_INFO"),
Self::BIND_IMAGE_MEMORY_INFO => Some("BIND_IMAGE_MEMORY_INFO"),
Self::PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES => {
Some("PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES")
}
Self::MEMORY_DEDICATED_REQUIREMENTS => Some("MEMORY_DEDICATED_REQUIREMENTS"),
Self::MEMORY_DEDICATED_ALLOCATE_INFO => Some("MEMORY_DEDICATED_ALLOCATE_INFO"),
Self::MEMORY_ALLOCATE_FLAGS_INFO => Some("MEMORY_ALLOCATE_FLAGS_INFO"),
Self::DEVICE_GROUP_RENDER_PASS_BEGIN_INFO => {
Some("DEVICE_GROUP_RENDER_PASS_BEGIN_INFO")
}
Self::DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO => {
Some("DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO")
}
Self::DEVICE_GROUP_SUBMIT_INFO => Some("DEVICE_GROUP_SUBMIT_INFO"),
Self::DEVICE_GROUP_BIND_SPARSE_INFO => Some("DEVICE_GROUP_BIND_SPARSE_INFO"),
Self::BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO => {
Some("BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO")
}
Self::BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO => {
Some("BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO")
}
Self::PHYSICAL_DEVICE_GROUP_PROPERTIES => Some("PHYSICAL_DEVICE_GROUP_PROPERTIES"),
Self::DEVICE_GROUP_DEVICE_CREATE_INFO => Some("DEVICE_GROUP_DEVICE_CREATE_INFO"),
Self::BUFFER_MEMORY_REQUIREMENTS_INFO_2 => Some("BUFFER_MEMORY_REQUIREMENTS_INFO_2"),
Self::IMAGE_MEMORY_REQUIREMENTS_INFO_2 => Some("IMAGE_MEMORY_REQUIREMENTS_INFO_2"),
Self::IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 => {
Some("IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2")
}
Self::MEMORY_REQUIREMENTS_2 => Some("MEMORY_REQUIREMENTS_2"),
Self::SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 => Some("SPARSE_IMAGE_MEMORY_REQUIREMENTS_2"),
Self::PHYSICAL_DEVICE_FEATURES_2 => Some("PHYSICAL_DEVICE_FEATURES_2"),
Self::PHYSICAL_DEVICE_PROPERTIES_2 => Some("PHYSICAL_DEVICE_PROPERTIES_2"),
Self::FORMAT_PROPERTIES_2 => Some("FORMAT_PROPERTIES_2"),
Self::IMAGE_FORMAT_PROPERTIES_2 => Some("IMAGE_FORMAT_PROPERTIES_2"),
Self::PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 => {
Some("PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2")
}
Self::QUEUE_FAMILY_PROPERTIES_2 => Some("QUEUE_FAMILY_PROPERTIES_2"),
Self::PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 => {
Some("PHYSICAL_DEVICE_MEMORY_PROPERTIES_2")
}
Self::SPARSE_IMAGE_FORMAT_PROPERTIES_2 => Some("SPARSE_IMAGE_FORMAT_PROPERTIES_2"),
Self::PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 => {
Some("PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2")
}
Self::PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES => {
Some("PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES")
}
Self::RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO => {
Some("RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO")
}
Self::IMAGE_VIEW_USAGE_CREATE_INFO => Some("IMAGE_VIEW_USAGE_CREATE_INFO"),
Self::PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO => {
Some("PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO")
}
Self::RENDER_PASS_MULTIVIEW_CREATE_INFO => Some("RENDER_PASS_MULTIVIEW_CREATE_INFO"),
Self::PHYSICAL_DEVICE_MULTIVIEW_FEATURES => Some("PHYSICAL_DEVICE_MULTIVIEW_FEATURES"),
Self::PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES => {
Some("PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES")
}
Self::PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES => {
Some("PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES")
}
Self::PROTECTED_SUBMIT_INFO => Some("PROTECTED_SUBMIT_INFO"),
Self::PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES => {
Some("PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES")
}
Self::PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES => {
Some("PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES")
}
Self::DEVICE_QUEUE_INFO_2 => Some("DEVICE_QUEUE_INFO_2"),
Self::SAMPLER_YCBCR_CONVERSION_CREATE_INFO => {
Some("SAMPLER_YCBCR_CONVERSION_CREATE_INFO")
}
Self::SAMPLER_YCBCR_CONVERSION_INFO => Some("SAMPLER_YCBCR_CONVERSION_INFO"),
Self::BIND_IMAGE_PLANE_MEMORY_INFO => Some("BIND_IMAGE_PLANE_MEMORY_INFO"),
Self::IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO => {
Some("IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO")
}
Self::PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES => {
Some("PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES")
}
Self::SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES => {
Some("SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES")
}
Self::DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO => {
Some("DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO")
}
Self::PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO => {
Some("PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO")
}
Self::EXTERNAL_IMAGE_FORMAT_PROPERTIES => Some("EXTERNAL_IMAGE_FORMAT_PROPERTIES"),
Self::PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO => {
Some("PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO")
}
Self::EXTERNAL_BUFFER_PROPERTIES => Some("EXTERNAL_BUFFER_PROPERTIES"),
Self::PHYSICAL_DEVICE_ID_PROPERTIES => Some("PHYSICAL_DEVICE_ID_PROPERTIES"),
Self::EXTERNAL_MEMORY_BUFFER_CREATE_INFO => Some("EXTERNAL_MEMORY_BUFFER_CREATE_INFO"),
Self::EXTERNAL_MEMORY_IMAGE_CREATE_INFO => Some("EXTERNAL_MEMORY_IMAGE_CREATE_INFO"),
Self::EXPORT_MEMORY_ALLOCATE_INFO => Some("EXPORT_MEMORY_ALLOCATE_INFO"),
Self::PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO => {
Some("PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO")
}
Self::EXTERNAL_FENCE_PROPERTIES => Some("EXTERNAL_FENCE_PROPERTIES"),
Self::EXPORT_FENCE_CREATE_INFO => Some("EXPORT_FENCE_CREATE_INFO"),
Self::EXPORT_SEMAPHORE_CREATE_INFO => Some("EXPORT_SEMAPHORE_CREATE_INFO"),
Self::PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO => {
Some("PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO")
}
Self::EXTERNAL_SEMAPHORE_PROPERTIES => Some("EXTERNAL_SEMAPHORE_PROPERTIES"),
Self::PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES => {
Some("PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES")
}
Self::DESCRIPTOR_SET_LAYOUT_SUPPORT => Some("DESCRIPTOR_SET_LAYOUT_SUPPORT"),
Self::PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES")
}
Self::PHYSICAL_DEVICE_VULKAN_1_1_FEATURES => {
Some("PHYSICAL_DEVICE_VULKAN_1_1_FEATURES")
}
Self::PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES => {
Some("PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES")
}
Self::PHYSICAL_DEVICE_VULKAN_1_2_FEATURES => {
Some("PHYSICAL_DEVICE_VULKAN_1_2_FEATURES")
}
Self::PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES => {
Some("PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES")
}
Self::IMAGE_FORMAT_LIST_CREATE_INFO => Some("IMAGE_FORMAT_LIST_CREATE_INFO"),
Self::ATTACHMENT_DESCRIPTION_2 => Some("ATTACHMENT_DESCRIPTION_2"),
Self::ATTACHMENT_REFERENCE_2 => Some("ATTACHMENT_REFERENCE_2"),
Self::SUBPASS_DESCRIPTION_2 => Some("SUBPASS_DESCRIPTION_2"),
Self::SUBPASS_DEPENDENCY_2 => Some("SUBPASS_DEPENDENCY_2"),
Self::RENDER_PASS_CREATE_INFO_2 => Some("RENDER_PASS_CREATE_INFO_2"),
Self::SUBPASS_BEGIN_INFO => Some("SUBPASS_BEGIN_INFO"),
Self::SUBPASS_END_INFO => Some("SUBPASS_END_INFO"),
Self::PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES => {
Some("PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES")
}
Self::PHYSICAL_DEVICE_DRIVER_PROPERTIES => Some("PHYSICAL_DEVICE_DRIVER_PROPERTIES"),
Self::PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES")
}
Self::PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES")
}
Self::PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES => {
Some("PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES")
}
Self::DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO => {
Some("DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO")
}
Self::PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES")
}
Self::PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES")
}
Self::DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO => {
Some("DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO")
}
Self::DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT => {
Some("DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT")
}
Self::PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES => {
Some("PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES")
}
Self::SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE => {
Some("SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE")
}
Self::PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES => {
Some("PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES")
}
Self::IMAGE_STENCIL_USAGE_CREATE_INFO => Some("IMAGE_STENCIL_USAGE_CREATE_INFO"),
Self::PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES => {
Some("PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES")
}
Self::SAMPLER_REDUCTION_MODE_CREATE_INFO => Some("SAMPLER_REDUCTION_MODE_CREATE_INFO"),
Self::PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES => {
Some("PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES")
}
Self::PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES => {
Some("PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES")
}
Self::FRAMEBUFFER_ATTACHMENTS_CREATE_INFO => {
Some("FRAMEBUFFER_ATTACHMENTS_CREATE_INFO")
}
Self::FRAMEBUFFER_ATTACHMENT_IMAGE_INFO => Some("FRAMEBUFFER_ATTACHMENT_IMAGE_INFO"),
Self::RENDER_PASS_ATTACHMENT_BEGIN_INFO => Some("RENDER_PASS_ATTACHMENT_BEGIN_INFO"),
Self::PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES => {
Some("PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES")
}
Self::PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES")
}
Self::PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES => {
Some("PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES")
}
Self::ATTACHMENT_REFERENCE_STENCIL_LAYOUT => {
Some("ATTACHMENT_REFERENCE_STENCIL_LAYOUT")
}
Self::ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT => {
Some("ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT")
}
Self::PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES => {
Some("PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES")
}
Self::PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES => {
Some("PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES")
}
Self::PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES => {
Some("PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES")
}
Self::SEMAPHORE_TYPE_CREATE_INFO => Some("SEMAPHORE_TYPE_CREATE_INFO"),
Self::TIMELINE_SEMAPHORE_SUBMIT_INFO => Some("TIMELINE_SEMAPHORE_SUBMIT_INFO"),
Self::SEMAPHORE_WAIT_INFO => Some("SEMAPHORE_WAIT_INFO"),
Self::SEMAPHORE_SIGNAL_INFO => Some("SEMAPHORE_SIGNAL_INFO"),
Self::PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES => {
Some("PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES")
}
Self::BUFFER_DEVICE_ADDRESS_INFO => Some("BUFFER_DEVICE_ADDRESS_INFO"),
Self::BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO => {
Some("BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO")
}
Self::MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO => {
Some("MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO")
}
Self::DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO => {
Some("DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO")
}
Self::PHYSICAL_DEVICE_VULKAN_1_3_FEATURES => {
Some("PHYSICAL_DEVICE_VULKAN_1_3_FEATURES")
}
Self::PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES => {
Some("PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES")
}
Self::PIPELINE_CREATION_FEEDBACK_CREATE_INFO => {
Some("PIPELINE_CREATION_FEEDBACK_CREATE_INFO")
}
Self::PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES")
}
Self::PHYSICAL_DEVICE_TOOL_PROPERTIES => Some("PHYSICAL_DEVICE_TOOL_PROPERTIES"),
Self::PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES")
}
Self::PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES => {
Some("PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES")
}
Self::DEVICE_PRIVATE_DATA_CREATE_INFO => Some("DEVICE_PRIVATE_DATA_CREATE_INFO"),
Self::PRIVATE_DATA_SLOT_CREATE_INFO => Some("PRIVATE_DATA_SLOT_CREATE_INFO"),
Self::PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES => {
Some("PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES")
}
Self::MEMORY_BARRIER_2 => Some("MEMORY_BARRIER_2"),
Self::BUFFER_MEMORY_BARRIER_2 => Some("BUFFER_MEMORY_BARRIER_2"),
Self::IMAGE_MEMORY_BARRIER_2 => Some("IMAGE_MEMORY_BARRIER_2"),
Self::DEPENDENCY_INFO => Some("DEPENDENCY_INFO"),
Self::SUBMIT_INFO_2 => Some("SUBMIT_INFO_2"),
Self::SEMAPHORE_SUBMIT_INFO => Some("SEMAPHORE_SUBMIT_INFO"),
Self::COMMAND_BUFFER_SUBMIT_INFO => Some("COMMAND_BUFFER_SUBMIT_INFO"),
Self::PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES => {
Some("PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES")
}
Self::PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES => {
Some("PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES")
}
Self::PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES => {
Some("PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES")
}
Self::COPY_BUFFER_INFO_2 => Some("COPY_BUFFER_INFO_2"),
Self::COPY_IMAGE_INFO_2 => Some("COPY_IMAGE_INFO_2"),
Self::COPY_BUFFER_TO_IMAGE_INFO_2 => Some("COPY_BUFFER_TO_IMAGE_INFO_2"),
Self::COPY_IMAGE_TO_BUFFER_INFO_2 => Some("COPY_IMAGE_TO_BUFFER_INFO_2"),
Self::BLIT_IMAGE_INFO_2 => Some("BLIT_IMAGE_INFO_2"),
Self::RESOLVE_IMAGE_INFO_2 => Some("RESOLVE_IMAGE_INFO_2"),
Self::BUFFER_COPY_2 => Some("BUFFER_COPY_2"),
Self::IMAGE_COPY_2 => Some("IMAGE_COPY_2"),
Self::IMAGE_BLIT_2 => Some("IMAGE_BLIT_2"),
Self::BUFFER_IMAGE_COPY_2 => Some("BUFFER_IMAGE_COPY_2"),
Self::IMAGE_RESOLVE_2 => Some("IMAGE_RESOLVE_2"),
Self::PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES => {
Some("PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES")
}
Self::PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO => {
Some("PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO")
}
Self::PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES => {
Some("PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES")
}
Self::PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES => {
Some("PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES")
}
Self::PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES => {
Some("PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES")
}
Self::WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK => {
Some("WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK")
}
Self::DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO => {
Some("DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO")
}
Self::PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES => {
Some("PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES")
}
Self::RENDERING_INFO => Some("RENDERING_INFO"),
Self::RENDERING_ATTACHMENT_INFO => Some("RENDERING_ATTACHMENT_INFO"),
Self::PIPELINE_RENDERING_CREATE_INFO => Some("PIPELINE_RENDERING_CREATE_INFO"),
Self::PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES => {
Some("PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES")
}
Self::COMMAND_BUFFER_INHERITANCE_RENDERING_INFO => {
Some("COMMAND_BUFFER_INHERITANCE_RENDERING_INFO")
}
Self::PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES => {
Some("PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES")
}
Self::PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES => {
Some("PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES")
}
Self::PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES => {
Some("PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES")
}
Self::FORMAT_PROPERTIES_3 => Some("FORMAT_PROPERTIES_3"),
Self::PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES => {
Some("PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES => {
Some("PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES")
}
Self::DEVICE_BUFFER_MEMORY_REQUIREMENTS => Some("DEVICE_BUFFER_MEMORY_REQUIREMENTS"),
Self::DEVICE_IMAGE_MEMORY_REQUIREMENTS => Some("DEVICE_IMAGE_MEMORY_REQUIREMENTS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SubgroupFeatureFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(SubgroupFeatureFlags::BASIC.0, "BASIC"),
(SubgroupFeatureFlags::VOTE.0, "VOTE"),
(SubgroupFeatureFlags::ARITHMETIC.0, "ARITHMETIC"),
(SubgroupFeatureFlags::BALLOT.0, "BALLOT"),
(SubgroupFeatureFlags::SHUFFLE.0, "SHUFFLE"),
(SubgroupFeatureFlags::SHUFFLE_RELATIVE.0, "SHUFFLE_RELATIVE"),
(SubgroupFeatureFlags::CLUSTERED.0, "CLUSTERED"),
(SubgroupFeatureFlags::QUAD.0, "QUAD"),
(SubgroupFeatureFlags::PARTITIONED_NV.0, "PARTITIONED_NV"),
(SubgroupFeatureFlags::ROTATE_KHR.0, "ROTATE_KHR"),
(
SubgroupFeatureFlags::ROTATE_CLUSTERED_KHR.0,
"ROTATE_CLUSTERED_KHR",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SubmitFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SubmitFlags::PROTECTED.0, "PROTECTED")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SubpassContents {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::INLINE => Some("INLINE"),
Self::SECONDARY_COMMAND_BUFFERS => Some("SECONDARY_COMMAND_BUFFERS"),
Self::INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT => {
Some("INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT")
}
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SubpassDescriptionFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
SubpassDescriptionFlags::PER_VIEW_ATTRIBUTES_NVX.0,
"PER_VIEW_ATTRIBUTES_NVX",
),
(
SubpassDescriptionFlags::PER_VIEW_POSITION_X_ONLY_NVX.0,
"PER_VIEW_POSITION_X_ONLY_NVX",
),
(
SubpassDescriptionFlags::FRAGMENT_REGION_QCOM.0,
"FRAGMENT_REGION_QCOM",
),
(
SubpassDescriptionFlags::SHADER_RESOLVE_QCOM.0,
"SHADER_RESOLVE_QCOM",
),
(
SubpassDescriptionFlags::RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_EXT.0,
"RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_EXT",
),
(
SubpassDescriptionFlags::RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT.0,
"RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_EXT",
),
(
SubpassDescriptionFlags::RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT.0,
"RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_EXT",
),
(
SubpassDescriptionFlags::ENABLE_LEGACY_DITHERING_EXT.0,
"ENABLE_LEGACY_DITHERING_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SubpassMergeStatusEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::MERGED => Some("MERGED"),
Self::DISALLOWED => Some("DISALLOWED"),
Self::NOT_MERGED_SIDE_EFFECTS => Some("NOT_MERGED_SIDE_EFFECTS"),
Self::NOT_MERGED_SAMPLES_MISMATCH => Some("NOT_MERGED_SAMPLES_MISMATCH"),
Self::NOT_MERGED_VIEWS_MISMATCH => Some("NOT_MERGED_VIEWS_MISMATCH"),
Self::NOT_MERGED_ALIASING => Some("NOT_MERGED_ALIASING"),
Self::NOT_MERGED_DEPENDENCIES => Some("NOT_MERGED_DEPENDENCIES"),
Self::NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT => {
Some("NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT")
}
Self::NOT_MERGED_TOO_MANY_ATTACHMENTS => Some("NOT_MERGED_TOO_MANY_ATTACHMENTS"),
Self::NOT_MERGED_INSUFFICIENT_STORAGE => Some("NOT_MERGED_INSUFFICIENT_STORAGE"),
Self::NOT_MERGED_DEPTH_STENCIL_COUNT => Some("NOT_MERGED_DEPTH_STENCIL_COUNT"),
Self::NOT_MERGED_RESOLVE_ATTACHMENT_REUSE => {
Some("NOT_MERGED_RESOLVE_ATTACHMENT_REUSE")
}
Self::NOT_MERGED_SINGLE_SUBPASS => Some("NOT_MERGED_SINGLE_SUBPASS"),
Self::NOT_MERGED_UNSPECIFIED => Some("NOT_MERGED_UNSPECIFIED"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for SurfaceCounterFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SurfaceCounterFlagsEXT::VBLANK.0, "VBLANK")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SurfaceTransformFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(SurfaceTransformFlagsKHR::IDENTITY.0, "IDENTITY"),
(SurfaceTransformFlagsKHR::ROTATE_90.0, "ROTATE_90"),
(SurfaceTransformFlagsKHR::ROTATE_180.0, "ROTATE_180"),
(SurfaceTransformFlagsKHR::ROTATE_270.0, "ROTATE_270"),
(
SurfaceTransformFlagsKHR::HORIZONTAL_MIRROR.0,
"HORIZONTAL_MIRROR",
),
(
SurfaceTransformFlagsKHR::HORIZONTAL_MIRROR_ROTATE_90.0,
"HORIZONTAL_MIRROR_ROTATE_90",
),
(
SurfaceTransformFlagsKHR::HORIZONTAL_MIRROR_ROTATE_180.0,
"HORIZONTAL_MIRROR_ROTATE_180",
),
(
SurfaceTransformFlagsKHR::HORIZONTAL_MIRROR_ROTATE_270.0,
"HORIZONTAL_MIRROR_ROTATE_270",
),
(SurfaceTransformFlagsKHR::INHERIT.0, "INHERIT"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SwapchainCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
SwapchainCreateFlagsKHR::SPLIT_INSTANCE_BIND_REGIONS.0,
"SPLIT_INSTANCE_BIND_REGIONS",
),
(SwapchainCreateFlagsKHR::PROTECTED.0, "PROTECTED"),
(SwapchainCreateFlagsKHR::MUTABLE_FORMAT.0, "MUTABLE_FORMAT"),
(
SwapchainCreateFlagsKHR::DEFERRED_MEMORY_ALLOCATION_EXT.0,
"DEFERRED_MEMORY_ALLOCATION_EXT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SwapchainImageUsageFlagsANDROID {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[(SwapchainImageUsageFlagsANDROID::SHARED.0, "SHARED")];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for SystemAllocationScope {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::COMMAND => Some("COMMAND"),
Self::OBJECT => Some("OBJECT"),
Self::CACHE => Some("CACHE"),
Self::DEVICE => Some("DEVICE"),
Self::INSTANCE => Some("INSTANCE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for TessellationDomainOrigin {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::UPPER_LEFT => Some("UPPER_LEFT"),
Self::LOWER_LEFT => Some("LOWER_LEFT"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for TimeDomainKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEVICE => Some("DEVICE"),
Self::CLOCK_MONOTONIC => Some("CLOCK_MONOTONIC"),
Self::CLOCK_MONOTONIC_RAW => Some("CLOCK_MONOTONIC_RAW"),
Self::QUERY_PERFORMANCE_COUNTER => Some("QUERY_PERFORMANCE_COUNTER"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ToolPurposeFlags {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(ToolPurposeFlags::VALIDATION.0, "VALIDATION"),
(ToolPurposeFlags::PROFILING.0, "PROFILING"),
(ToolPurposeFlags::TRACING.0, "TRACING"),
(
ToolPurposeFlags::ADDITIONAL_FEATURES.0,
"ADDITIONAL_FEATURES",
),
(ToolPurposeFlags::MODIFYING_FEATURES.0, "MODIFYING_FEATURES"),
(
ToolPurposeFlags::DEBUG_REPORTING_EXT.0,
"DEBUG_REPORTING_EXT",
),
(ToolPurposeFlags::DEBUG_MARKERS_EXT.0, "DEBUG_MARKERS_EXT"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ValidationCacheCreateFlagsEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ValidationCacheHeaderVersionEXT {
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 ValidationCheckEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ALL => Some("ALL"),
Self::SHADERS => Some("SHADERS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ValidationFeatureDisableEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::ALL => Some("ALL"),
Self::SHADERS => Some("SHADERS"),
Self::THREAD_SAFETY => Some("THREAD_SAFETY"),
Self::API_PARAMETERS => Some("API_PARAMETERS"),
Self::OBJECT_LIFETIMES => Some("OBJECT_LIFETIMES"),
Self::CORE_CHECKS => Some("CORE_CHECKS"),
Self::UNIQUE_HANDLES => Some("UNIQUE_HANDLES"),
Self::SHADER_VALIDATION_CACHE => Some("SHADER_VALIDATION_CACHE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ValidationFeatureEnableEXT {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::GPU_ASSISTED => Some("GPU_ASSISTED"),
Self::GPU_ASSISTED_RESERVE_BINDING_SLOT => Some("GPU_ASSISTED_RESERVE_BINDING_SLOT"),
Self::BEST_PRACTICES => Some("BEST_PRACTICES"),
Self::DEBUG_PRINTF => Some("DEBUG_PRINTF"),
Self::SYNCHRONIZATION_VALIDATION => Some("SYNCHRONIZATION_VALIDATION"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for VendorId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::VIV => Some("VIV"),
Self::VSI => Some("VSI"),
Self::KAZAN => Some("KAZAN"),
Self::CODEPLAY => Some("CODEPLAY"),
Self::MESA => Some("MESA"),
Self::POCL => Some("POCL"),
Self::MOBILEYE => Some("MOBILEYE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for VertexInputRate {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::VERTEX => Some("VERTEX"),
Self::INSTANCE => Some("INSTANCE"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for ViSurfaceCreateFlagsNN {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoBeginCodingFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoCapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoCapabilityFlagsKHR::PROTECTED_CONTENT.0,
"PROTECTED_CONTENT",
),
(
VideoCapabilityFlagsKHR::SEPARATE_REFERENCE_IMAGES.0,
"SEPARATE_REFERENCE_IMAGES",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoChromaSubsamplingFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoChromaSubsamplingFlagsKHR::INVALID.0, "INVALID"),
(VideoChromaSubsamplingFlagsKHR::MONOCHROME.0, "MONOCHROME"),
(VideoChromaSubsamplingFlagsKHR::TYPE_420.0, "TYPE_420"),
(VideoChromaSubsamplingFlagsKHR::TYPE_422.0, "TYPE_422"),
(VideoChromaSubsamplingFlagsKHR::TYPE_444.0, "TYPE_444"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoCodecOperationFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoCodecOperationFlagsKHR::NONE.0, "NONE"),
(VideoCodecOperationFlagsKHR::ENCODE_H264.0, "ENCODE_H264"),
(VideoCodecOperationFlagsKHR::ENCODE_H265.0, "ENCODE_H265"),
(VideoCodecOperationFlagsKHR::DECODE_H264.0, "DECODE_H264"),
(VideoCodecOperationFlagsKHR::DECODE_H265.0, "DECODE_H265"),
(VideoCodecOperationFlagsKHR::DECODE_AV1.0, "DECODE_AV1"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoCodingControlFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoCodingControlFlagsKHR::RESET.0, "RESET"),
(
VideoCodingControlFlagsKHR::ENCODE_RATE_CONTROL.0,
"ENCODE_RATE_CONTROL",
),
(
VideoCodingControlFlagsKHR::ENCODE_QUALITY_LEVEL.0,
"ENCODE_QUALITY_LEVEL",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoComponentBitDepthFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoComponentBitDepthFlagsKHR::INVALID.0, "INVALID"),
(VideoComponentBitDepthFlagsKHR::TYPE_8.0, "TYPE_8"),
(VideoComponentBitDepthFlagsKHR::TYPE_10.0, "TYPE_10"),
(VideoComponentBitDepthFlagsKHR::TYPE_12.0, "TYPE_12"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeCapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoDecodeCapabilityFlagsKHR::DPB_AND_OUTPUT_COINCIDE.0,
"DPB_AND_OUTPUT_COINCIDE",
),
(
VideoDecodeCapabilityFlagsKHR::DPB_AND_OUTPUT_DISTINCT.0,
"DPB_AND_OUTPUT_DISTINCT",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeH264PictureLayoutFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoDecodeH264PictureLayoutFlagsKHR::PROGRESSIVE.0,
"PROGRESSIVE",
),
(
VideoDecodeH264PictureLayoutFlagsKHR::INTERLACED_INTERLEAVED_LINES.0,
"INTERLACED_INTERLEAVED_LINES",
),
(
VideoDecodeH264PictureLayoutFlagsKHR::INTERLACED_SEPARATE_PLANES.0,
"INTERLACED_SEPARATE_PLANES",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoDecodeUsageFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoDecodeUsageFlagsKHR::DEFAULT.0, "DEFAULT"),
(VideoDecodeUsageFlagsKHR::TRANSCODING.0, "TRANSCODING"),
(VideoDecodeUsageFlagsKHR::OFFLINE.0, "OFFLINE"),
(VideoDecodeUsageFlagsKHR::STREAMING.0, "STREAMING"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeCapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeCapabilityFlagsKHR::PRECEDING_EXTERNALLY_ENCODED_BYTES.0,
"PRECEDING_EXTERNALLY_ENCODED_BYTES",
),
(
VideoEncodeCapabilityFlagsKHR::INSUFFICIENTSTREAM_BUFFER_RANGE_DETECTION.0,
"INSUFFICIENTSTREAM_BUFFER_RANGE_DETECTION",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeContentFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoEncodeContentFlagsKHR::DEFAULT.0, "DEFAULT"),
(VideoEncodeContentFlagsKHR::CAMERA.0, "CAMERA"),
(VideoEncodeContentFlagsKHR::DESKTOP.0, "DESKTOP"),
(VideoEncodeContentFlagsKHR::RENDERED.0, "RENDERED"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeFeedbackFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeFeedbackFlagsKHR::BITSTREAM_BUFFER_OFFSET.0,
"BITSTREAM_BUFFER_OFFSET",
),
(
VideoEncodeFeedbackFlagsKHR::BITSTREAM_BYTES_WRITTEN.0,
"BITSTREAM_BYTES_WRITTEN",
),
(
VideoEncodeFeedbackFlagsKHR::BITSTREAM_HAS_OVERRIDES.0,
"BITSTREAM_HAS_OVERRIDES",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH264CapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH264CapabilityFlagsKHR::HRD_COMPLIANCE.0,
"HRD_COMPLIANCE",
),
(
VideoEncodeH264CapabilityFlagsKHR::PREDICTION_WEIGHT_TABLE_GENERATED.0,
"PREDICTION_WEIGHT_TABLE_GENERATED",
),
(
VideoEncodeH264CapabilityFlagsKHR::ROW_UNALIGNED_SLICE.0,
"ROW_UNALIGNED_SLICE",
),
(
VideoEncodeH264CapabilityFlagsKHR::DIFFERENT_SLICE_TYPE.0,
"DIFFERENT_SLICE_TYPE",
),
(
VideoEncodeH264CapabilityFlagsKHR::B_FRAME_IN_L0_LIST.0,
"B_FRAME_IN_L0_LIST",
),
(
VideoEncodeH264CapabilityFlagsKHR::B_FRAME_IN_L1_LIST.0,
"B_FRAME_IN_L1_LIST",
),
(
VideoEncodeH264CapabilityFlagsKHR::PER_PICTURE_TYPE_MIN_MAX_QP.0,
"PER_PICTURE_TYPE_MIN_MAX_QP",
),
(
VideoEncodeH264CapabilityFlagsKHR::PER_SLICE_CONSTANT_QP.0,
"PER_SLICE_CONSTANT_QP",
),
(
VideoEncodeH264CapabilityFlagsKHR::GENERATE_PREFIX_NALU.0,
"GENERATE_PREFIX_NALU",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH264RateControlFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH264RateControlFlagsKHR::ATTEMPT_HRD_COMPLIANCE.0,
"ATTEMPT_HRD_COMPLIANCE",
),
(
VideoEncodeH264RateControlFlagsKHR::REGULAR_GOP.0,
"REGULAR_GOP",
),
(
VideoEncodeH264RateControlFlagsKHR::REFERENCE_PATTERN_FLAT.0,
"REFERENCE_PATTERN_FLAT",
),
(
VideoEncodeH264RateControlFlagsKHR::REFERENCE_PATTERN_DYADIC.0,
"REFERENCE_PATTERN_DYADIC",
),
(
VideoEncodeH264RateControlFlagsKHR::TEMPORAL_LAYER_PATTERN_DYADIC.0,
"TEMPORAL_LAYER_PATTERN_DYADIC",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH264StdFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH264StdFlagsKHR::SEPARATE_COLOR_PLANE_FLAG_SET.0,
"SEPARATE_COLOR_PLANE_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET.0,
"QPPRIME_Y_ZERO_TRANSFORM_BYPASS_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::SCALING_MATRIX_PRESENT_FLAG_SET.0,
"SCALING_MATRIX_PRESENT_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::CHROMA_QP_INDEX_OFFSET.0,
"CHROMA_QP_INDEX_OFFSET",
),
(
VideoEncodeH264StdFlagsKHR::SECOND_CHROMA_QP_INDEX_OFFSET.0,
"SECOND_CHROMA_QP_INDEX_OFFSET",
),
(
VideoEncodeH264StdFlagsKHR::PIC_INIT_QP_MINUS26.0,
"PIC_INIT_QP_MINUS26",
),
(
VideoEncodeH264StdFlagsKHR::WEIGHTED_PRED_FLAG_SET.0,
"WEIGHTED_PRED_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::WEIGHTED_BIPRED_IDC_EXPLICIT.0,
"WEIGHTED_BIPRED_IDC_EXPLICIT",
),
(
VideoEncodeH264StdFlagsKHR::WEIGHTED_BIPRED_IDC_IMPLICIT.0,
"WEIGHTED_BIPRED_IDC_IMPLICIT",
),
(
VideoEncodeH264StdFlagsKHR::TRANSFORM_8X8_MODE_FLAG_SET.0,
"TRANSFORM_8X8_MODE_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::DIRECT_SPATIAL_MV_PRED_FLAG_UNSET.0,
"DIRECT_SPATIAL_MV_PRED_FLAG_UNSET",
),
(
VideoEncodeH264StdFlagsKHR::ENTROPY_CODING_MODE_FLAG_UNSET.0,
"ENTROPY_CODING_MODE_FLAG_UNSET",
),
(
VideoEncodeH264StdFlagsKHR::ENTROPY_CODING_MODE_FLAG_SET.0,
"ENTROPY_CODING_MODE_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::DIRECT_8X8_INFERENCE_FLAG_UNSET.0,
"DIRECT_8X8_INFERENCE_FLAG_UNSET",
),
(
VideoEncodeH264StdFlagsKHR::CONSTRAINED_INTRA_PRED_FLAG_SET.0,
"CONSTRAINED_INTRA_PRED_FLAG_SET",
),
(
VideoEncodeH264StdFlagsKHR::DEBLOCKING_FILTER_DISABLED.0,
"DEBLOCKING_FILTER_DISABLED",
),
(
VideoEncodeH264StdFlagsKHR::DEBLOCKING_FILTER_ENABLED.0,
"DEBLOCKING_FILTER_ENABLED",
),
(
VideoEncodeH264StdFlagsKHR::DEBLOCKING_FILTER_PARTIAL.0,
"DEBLOCKING_FILTER_PARTIAL",
),
(
VideoEncodeH264StdFlagsKHR::SLICE_QP_DELTA.0,
"SLICE_QP_DELTA",
),
(
VideoEncodeH264StdFlagsKHR::DIFFERENT_SLICE_QP_DELTA.0,
"DIFFERENT_SLICE_QP_DELTA",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265CapabilityFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH265CapabilityFlagsKHR::HRD_COMPLIANCE.0,
"HRD_COMPLIANCE",
),
(
VideoEncodeH265CapabilityFlagsKHR::PREDICTION_WEIGHT_TABLE_GENERATED.0,
"PREDICTION_WEIGHT_TABLE_GENERATED",
),
(
VideoEncodeH265CapabilityFlagsKHR::ROW_UNALIGNED_SLICE_SEGMENT.0,
"ROW_UNALIGNED_SLICE_SEGMENT",
),
(
VideoEncodeH265CapabilityFlagsKHR::DIFFERENT_SLICE_SEGMENT_TYPE.0,
"DIFFERENT_SLICE_SEGMENT_TYPE",
),
(
VideoEncodeH265CapabilityFlagsKHR::B_FRAME_IN_L0_LIST.0,
"B_FRAME_IN_L0_LIST",
),
(
VideoEncodeH265CapabilityFlagsKHR::B_FRAME_IN_L1_LIST.0,
"B_FRAME_IN_L1_LIST",
),
(
VideoEncodeH265CapabilityFlagsKHR::PER_PICTURE_TYPE_MIN_MAX_QP.0,
"PER_PICTURE_TYPE_MIN_MAX_QP",
),
(
VideoEncodeH265CapabilityFlagsKHR::PER_SLICE_SEGMENT_CONSTANT_QP.0,
"PER_SLICE_SEGMENT_CONSTANT_QP",
),
(
VideoEncodeH265CapabilityFlagsKHR::MULTIPLE_TILES_PER_SLICE_SEGMENT.0,
"MULTIPLE_TILES_PER_SLICE_SEGMENT",
),
(
VideoEncodeH265CapabilityFlagsKHR::MULTIPLE_SLICE_SEGMENTS_PER_TILE.0,
"MULTIPLE_SLICE_SEGMENTS_PER_TILE",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265CtbSizeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoEncodeH265CtbSizeFlagsKHR::TYPE_16.0, "TYPE_16"),
(VideoEncodeH265CtbSizeFlagsKHR::TYPE_32.0, "TYPE_32"),
(VideoEncodeH265CtbSizeFlagsKHR::TYPE_64.0, "TYPE_64"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265RateControlFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH265RateControlFlagsKHR::ATTEMPT_HRD_COMPLIANCE.0,
"ATTEMPT_HRD_COMPLIANCE",
),
(
VideoEncodeH265RateControlFlagsKHR::REGULAR_GOP.0,
"REGULAR_GOP",
),
(
VideoEncodeH265RateControlFlagsKHR::REFERENCE_PATTERN_FLAT.0,
"REFERENCE_PATTERN_FLAT",
),
(
VideoEncodeH265RateControlFlagsKHR::REFERENCE_PATTERN_DYADIC.0,
"REFERENCE_PATTERN_DYADIC",
),
(
VideoEncodeH265RateControlFlagsKHR::TEMPORAL_SUB_LAYER_PATTERN_DYADIC.0,
"TEMPORAL_SUB_LAYER_PATTERN_DYADIC",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265StdFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH265StdFlagsKHR::SEPARATE_COLOR_PLANE_FLAG_SET.0,
"SEPARATE_COLOR_PLANE_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET.0,
"SAMPLE_ADAPTIVE_OFFSET_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::SCALING_LIST_DATA_PRESENT_FLAG_SET.0,
"SCALING_LIST_DATA_PRESENT_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::PCM_ENABLED_FLAG_SET.0,
"PCM_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::SPS_TEMPORAL_MVP_ENABLED_FLAG_SET.0,
"SPS_TEMPORAL_MVP_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::INIT_QP_MINUS26.0,
"INIT_QP_MINUS26",
),
(
VideoEncodeH265StdFlagsKHR::WEIGHTED_PRED_FLAG_SET.0,
"WEIGHTED_PRED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::WEIGHTED_BIPRED_FLAG_SET.0,
"WEIGHTED_BIPRED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::LOG2_PARALLEL_MERGE_LEVEL_MINUS2.0,
"LOG2_PARALLEL_MERGE_LEVEL_MINUS2",
),
(
VideoEncodeH265StdFlagsKHR::SIGN_DATA_HIDING_ENABLED_FLAG_SET.0,
"SIGN_DATA_HIDING_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::TRANSFORM_SKIP_ENABLED_FLAG_SET.0,
"TRANSFORM_SKIP_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::TRANSFORM_SKIP_ENABLED_FLAG_UNSET.0,
"TRANSFORM_SKIP_ENABLED_FLAG_UNSET",
),
(
VideoEncodeH265StdFlagsKHR::PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET.0,
"PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::TRANSQUANT_BYPASS_ENABLED_FLAG_SET.0,
"TRANSQUANT_BYPASS_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::CONSTRAINED_INTRA_PRED_FLAG_SET.0,
"CONSTRAINED_INTRA_PRED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::ENTROPY_CODING_SYNC_ENABLED_FLAG_SET.0,
"ENTROPY_CODING_SYNC_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET.0,
"DEBLOCKING_FILTER_OVERRIDE_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET.0,
"DEPENDENT_SLICE_SEGMENTS_ENABLED_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::DEPENDENT_SLICE_SEGMENT_FLAG_SET.0,
"DEPENDENT_SLICE_SEGMENT_FLAG_SET",
),
(
VideoEncodeH265StdFlagsKHR::SLICE_QP_DELTA.0,
"SLICE_QP_DELTA",
),
(
VideoEncodeH265StdFlagsKHR::DIFFERENT_SLICE_QP_DELTA.0,
"DIFFERENT_SLICE_QP_DELTA",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeH265TransformBlockSizeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoEncodeH265TransformBlockSizeFlagsKHR::TYPE_4.0,
"TYPE_4",
),
(
VideoEncodeH265TransformBlockSizeFlagsKHR::TYPE_8.0,
"TYPE_8",
),
(
VideoEncodeH265TransformBlockSizeFlagsKHR::TYPE_16.0,
"TYPE_16",
),
(
VideoEncodeH265TransformBlockSizeFlagsKHR::TYPE_32.0,
"TYPE_32",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeRateControlFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeRateControlModeFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoEncodeRateControlModeFlagsKHR::DEFAULT.0, "DEFAULT"),
(VideoEncodeRateControlModeFlagsKHR::DISABLED.0, "DISABLED"),
(VideoEncodeRateControlModeFlagsKHR::CBR.0, "CBR"),
(VideoEncodeRateControlModeFlagsKHR::VBR.0, "VBR"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEncodeTuningModeKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::DEFAULT => Some("DEFAULT"),
Self::HIGH_QUALITY => Some("HIGH_QUALITY"),
Self::LOW_LATENCY => Some("LOW_LATENCY"),
Self::ULTRA_LOW_LATENCY => Some("ULTRA_LOW_LATENCY"),
Self::LOSSLESS => Some("LOSSLESS"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for VideoEncodeUsageFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(VideoEncodeUsageFlagsKHR::DEFAULT.0, "DEFAULT"),
(VideoEncodeUsageFlagsKHR::TRANSCODING.0, "TRANSCODING"),
(VideoEncodeUsageFlagsKHR::STREAMING.0, "STREAMING"),
(VideoEncodeUsageFlagsKHR::RECORDING.0, "RECORDING"),
(VideoEncodeUsageFlagsKHR::CONFERENCING.0, "CONFERENCING"),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoEndCodingFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoSessionCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[
(
VideoSessionCreateFlagsKHR::PROTECTED_CONTENT.0,
"PROTECTED_CONTENT",
),
(
VideoSessionCreateFlagsKHR::ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS.0,
"ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS",
),
(
VideoSessionCreateFlagsKHR::INLINE_QUERIES.0,
"INLINE_QUERIES",
),
];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for VideoSessionParametersCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for ViewportCoordinateSwizzleNV {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::POSITIVE_X => Some("POSITIVE_X"),
Self::NEGATIVE_X => Some("NEGATIVE_X"),
Self::POSITIVE_Y => Some("POSITIVE_Y"),
Self::NEGATIVE_Y => Some("NEGATIVE_Y"),
Self::POSITIVE_Z => Some("POSITIVE_Z"),
Self::NEGATIVE_Z => Some("NEGATIVE_Z"),
Self::POSITIVE_W => Some("POSITIVE_W"),
Self::NEGATIVE_W => Some("NEGATIVE_W"),
_ => None,
};
if let Some(x) = name {
f.write_str(x)
} else {
self.0.fmt(f)
}
}
}
impl fmt::Debug for WaylandSurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for Win32SurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for XcbSurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}
impl fmt::Debug for XlibSurfaceCreateFlagsKHR {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
const KNOWN: &[(Flags, &str)] = &[];
debug_flags(f, KNOWN, self.0)
}
}