Update Vulkan-Headers to 1.3.219 (#619)
* Update Vulkan-Headers to 1.3.212 * Update Vulkan-Headers to 1.3.213 * Update Vulkan-Headers to 1.3.214 * Update Vulkan-Headers to 1.3.215 * Update Vulkan-Headers to 1.3.216 * Update Vulkan-Headers to 1.3.217 * Update Vulkan-Headers to 1.3.218 * Update Vulkan-Headers to 1.3.219 * Changelog: reorder entries chronologically based on PR ID
This commit is contained in:
parent
9c9552b8a4
commit
85b2696a1f
|
@ -13,10 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Added
|
||||
|
||||
- Added `VK_NV_coverage_reduction_mode` device extension (#617)
|
||||
- Added `VK_EXT_sample_locations` device extension (#616)
|
||||
- Update Vulkan-Headers to 1.3.211 (#605, #608)
|
||||
- Added `VK_EXT_image_drm_format_modifier` device extension (#603)
|
||||
- Update Vulkan-Headers to 1.3.219 (#605, #608, #619)
|
||||
- Added `VK_EXT_sample_locations` device extension (#616)
|
||||
- Added `VK_NV_coverage_reduction_mode` device extension (#617)
|
||||
- Added new functions to `VK_KHR_swapchain`, available since Vulkan 1.1 (#629)
|
||||
- Added `VK_KHR_device_group_creation` instance extension (#630)
|
||||
- Added `VK_KHR_device_group` device extension (#631)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ash"
|
||||
version = "0.37.0+1.3.211"
|
||||
version = "0.37.0+1.3.219"
|
||||
authors = ["maik klein <maikklein@googlemail.com>"]
|
||||
description = "Vulkan bindings for Rust"
|
||||
license = "MIT"
|
||||
|
|
|
@ -166,6 +166,8 @@ pub type PhysicalDeviceShaderAtomicInt64FeaturesKHR = PhysicalDeviceShaderAtomic
|
|||
pub type PhysicalDeviceDepthStencilResolvePropertiesKHR =
|
||||
PhysicalDeviceDepthStencilResolveProperties;
|
||||
pub type SubpassDescriptionDepthStencilResolveKHR = SubpassDescriptionDepthStencilResolve;
|
||||
pub type PhysicalDeviceFragmentShaderBarycentricFeaturesNV =
|
||||
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR;
|
||||
pub type ImageStencilUsageCreateInfoEXT = ImageStencilUsageCreateInfo;
|
||||
pub type PhysicalDeviceScalarBlockLayoutFeaturesEXT = PhysicalDeviceScalarBlockLayoutFeatures;
|
||||
pub type PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR =
|
||||
|
@ -188,6 +190,7 @@ pub type PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR =
|
|||
PhysicalDeviceSeparateDepthStencilLayoutsFeatures;
|
||||
pub type AttachmentReferenceStencilLayoutKHR = AttachmentReferenceStencilLayout;
|
||||
pub type AttachmentDescriptionStencilLayoutKHR = AttachmentDescriptionStencilLayout;
|
||||
pub type PipelineInfoEXT = PipelineInfoKHR;
|
||||
pub type PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT =
|
||||
PhysicalDeviceShaderDemoteToHelperInvocationFeatures;
|
||||
pub type PhysicalDeviceTexelBufferAlignmentPropertiesEXT =
|
||||
|
|
|
@ -906,6 +906,7 @@ impl DeviceDiagnosticsConfigFlagsNV {
|
|||
pub const ENABLE_SHADER_DEBUG_INFO: Self = Self(0b1);
|
||||
pub const ENABLE_RESOURCE_TRACKING: Self = Self(0b10);
|
||||
pub const ENABLE_AUTOMATIC_CHECKPOINTS: Self = Self(0b100);
|
||||
pub const ENABLE_SHADER_ERROR_REPORTING: Self = Self(0b1000);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
@ -1264,29 +1265,31 @@ impl VideoEncodeRateControlModeFlagsKHR {
|
|||
pub struct VideoEncodeH264CapabilityFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(VideoEncodeH264CapabilityFlagsEXT, Flags);
|
||||
impl VideoEncodeH264CapabilityFlagsEXT {
|
||||
pub const DIRECT_8X8_INFERENCE: Self = Self(0b1);
|
||||
pub const SEPARATE_COLOUR_PLANE: Self = Self(0b10);
|
||||
pub const QPPRIME_Y_ZERO_TRANSFORM_BYPASS: Self = Self(0b100);
|
||||
pub const SCALING_LISTS: Self = Self(0b1000);
|
||||
pub const HRD_COMPLIANCE: Self = Self(0b1_0000);
|
||||
pub const CHROMA_QP_OFFSET: Self = Self(0b10_0000);
|
||||
pub const SECOND_CHROMA_QP_OFFSET: Self = Self(0b100_0000);
|
||||
pub const PIC_INIT_QP_MINUS26: Self = Self(0b1000_0000);
|
||||
pub const WEIGHTED_PRED: Self = Self(0b1_0000_0000);
|
||||
pub const WEIGHTED_BIPRED_EXPLICIT: Self = Self(0b10_0000_0000);
|
||||
pub const WEIGHTED_BIPRED_IMPLICIT: Self = Self(0b100_0000_0000);
|
||||
pub const WEIGHTED_PRED_NO_TABLE: Self = Self(0b1000_0000_0000);
|
||||
pub const TRANSFORM_8X8: Self = Self(0b1_0000_0000_0000);
|
||||
pub const CABAC: Self = Self(0b10_0000_0000_0000);
|
||||
pub const CAVLC: Self = Self(0b100_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_DISABLED: Self = Self(0b1000_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_ENABLED: Self = Self(0b1_0000_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_PARTIAL: Self = Self(0b10_0000_0000_0000_0000);
|
||||
pub const DISABLE_DIRECT_SPATIAL_MV_PRED: Self = Self(0b100_0000_0000_0000_0000);
|
||||
pub const MULTIPLE_SLICE_PER_FRAME: Self = Self(0b1000_0000_0000_0000_0000);
|
||||
pub const SLICE_MB_COUNT: Self = Self(0b1_0000_0000_0000_0000_0000);
|
||||
pub const ROW_UNALIGNED_SLICE: Self = Self(0b10_0000_0000_0000_0000_0000);
|
||||
pub const DIFFERENT_SLICE_TYPE: Self = Self(0b100_0000_0000_0000_0000_0000);
|
||||
pub const DIRECT_8X8_INFERENCE_ENABLED: Self = Self(0b1);
|
||||
pub const DIRECT_8X8_INFERENCE_DISABLED: Self = Self(0b10);
|
||||
pub const SEPARATE_COLOUR_PLANE: Self = Self(0b100);
|
||||
pub const QPPRIME_Y_ZERO_TRANSFORM_BYPASS: Self = Self(0b1000);
|
||||
pub const SCALING_LISTS: Self = Self(0b1_0000);
|
||||
pub const HRD_COMPLIANCE: Self = Self(0b10_0000);
|
||||
pub const CHROMA_QP_OFFSET: Self = Self(0b100_0000);
|
||||
pub const SECOND_CHROMA_QP_OFFSET: Self = Self(0b1000_0000);
|
||||
pub const PIC_INIT_QP_MINUS26: Self = Self(0b1_0000_0000);
|
||||
pub const WEIGHTED_PRED: Self = Self(0b10_0000_0000);
|
||||
pub const WEIGHTED_BIPRED_EXPLICIT: Self = Self(0b100_0000_0000);
|
||||
pub const WEIGHTED_BIPRED_IMPLICIT: Self = Self(0b1000_0000_0000);
|
||||
pub const WEIGHTED_PRED_NO_TABLE: Self = Self(0b1_0000_0000_0000);
|
||||
pub const TRANSFORM_8X8: Self = Self(0b10_0000_0000_0000);
|
||||
pub const CABAC: Self = Self(0b100_0000_0000_0000);
|
||||
pub const CAVLC: Self = Self(0b1000_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_DISABLED: Self = Self(0b1_0000_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_ENABLED: Self = Self(0b10_0000_0000_0000_0000);
|
||||
pub const DEBLOCKING_FILTER_PARTIAL: Self = Self(0b100_0000_0000_0000_0000);
|
||||
pub const DISABLE_DIRECT_SPATIAL_MV_PRED: Self = Self(0b1000_0000_0000_0000_0000);
|
||||
pub const MULTIPLE_SLICE_PER_FRAME: Self = Self(0b1_0000_0000_0000_0000_0000);
|
||||
pub const SLICE_MB_COUNT: Self = Self(0b10_0000_0000_0000_0000_0000);
|
||||
pub const ROW_UNALIGNED_SLICE: Self = Self(0b100_0000_0000_0000_0000_0000);
|
||||
pub const DIFFERENT_SLICE_TYPE: Self = Self(0b1000_0000_0000_0000_0000_0000);
|
||||
pub const B_FRAME_IN_L1_LIST: Self = Self(0b1_0000_0000_0000_0000_0000_0000);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
@ -1506,7 +1509,63 @@ impl VideoEncodeH265TransformBlockSizeFlagsEXT {
|
|||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkExportMetalObjectTypeFlagBitsEXT.html>"]
|
||||
pub struct ExportMetalObjectTypeFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(ExportMetalObjectTypeFlagsEXT, Flags);
|
||||
impl ExportMetalObjectTypeFlagsEXT {
|
||||
pub const METAL_DEVICE: Self = Self(0b1);
|
||||
pub const METAL_COMMAND_QUEUE: Self = Self(0b10);
|
||||
pub const METAL_BUFFER: Self = Self(0b100);
|
||||
pub const METAL_TEXTURE: Self = Self(0b1000);
|
||||
pub const METAL_IOSURFACE: Self = Self(0b1_0000);
|
||||
pub const METAL_SHARED_EVENT: Self = Self(0b10_0000);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkInstanceCreateFlagBits.html>"]
|
||||
pub struct InstanceCreateFlags(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(InstanceCreateFlags, Flags);
|
||||
impl InstanceCreateFlags {}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageCompressionFlagBitsEXT.html>"]
|
||||
pub struct ImageCompressionFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(ImageCompressionFlagsEXT, Flags);
|
||||
impl ImageCompressionFlagsEXT {
|
||||
pub const DEFAULT: Self = Self(0);
|
||||
pub const FIXED_RATE_DEFAULT: Self = Self(0b1);
|
||||
pub const FIXED_RATE_EXPLICIT: Self = Self(0b10);
|
||||
pub const DISABLED: Self = Self(0b100);
|
||||
}
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageCompressionFixedRateFlagBitsEXT.html>"]
|
||||
pub struct ImageCompressionFixedRateFlagsEXT(pub(crate) Flags);
|
||||
vk_bitflags_wrapped!(ImageCompressionFixedRateFlagsEXT, Flags);
|
||||
impl ImageCompressionFixedRateFlagsEXT {
|
||||
pub const NONE: Self = Self(0);
|
||||
pub const TYPE_1BPC: Self = Self(0b1);
|
||||
pub const TYPE_2BPC: Self = Self(0b10);
|
||||
pub const TYPE_3BPC: Self = Self(0b100);
|
||||
pub const TYPE_4BPC: Self = Self(0b1000);
|
||||
pub const TYPE_5BPC: Self = Self(0b1_0000);
|
||||
pub const TYPE_6BPC: Self = Self(0b10_0000);
|
||||
pub const TYPE_7BPC: Self = Self(0b100_0000);
|
||||
pub const TYPE_8BPC: Self = Self(0b1000_0000);
|
||||
pub const TYPE_9BPC: Self = Self(0b1_0000_0000);
|
||||
pub const TYPE_10BPC: Self = Self(0b10_0000_0000);
|
||||
pub const TYPE_11BPC: Self = Self(0b100_0000_0000);
|
||||
pub const TYPE_12BPC: Self = Self(0b1000_0000_0000);
|
||||
pub const TYPE_13BPC: Self = Self(0b1_0000_0000_0000);
|
||||
pub const TYPE_14BPC: Self = Self(0b10_0000_0000_0000);
|
||||
pub const TYPE_15BPC: Self = Self(0b100_0000_0000_0000);
|
||||
pub const TYPE_16BPC: Self = Self(0b1000_0000_0000_0000);
|
||||
pub const TYPE_17BPC: Self = Self(0b1_0000_0000_0000_0000);
|
||||
pub const TYPE_18BPC: Self = Self(0b10_0000_0000_0000_0000);
|
||||
pub const TYPE_19BPC: Self = Self(0b100_0000_0000_0000_0000);
|
||||
pub const TYPE_20BPC: Self = Self(0b1000_0000_0000_0000_0000);
|
||||
pub const TYPE_21BPC: Self = Self(0b1_0000_0000_0000_0000_0000);
|
||||
pub const TYPE_22BPC: Self = Self(0b10_0000_0000_0000_0000_0000);
|
||||
pub const TYPE_23BPC: Self = Self(0b100_0000_0000_0000_0000_0000);
|
||||
pub const TYPE_24BPC: Self = Self(0b1000_0000_0000_0000_0000_0000);
|
||||
}
|
||||
|
|
|
@ -304,7 +304,10 @@ impl fmt::Debug for AccessFlags2 {
|
|||
AccessFlags2::INVOCATION_MASK_READ_HUAWEI.0,
|
||||
"INVOCATION_MASK_READ_HUAWEI",
|
||||
),
|
||||
(AccessFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"),
|
||||
(
|
||||
AccessFlags2::SHADER_BINDING_TABLE_READ_KHR.0,
|
||||
"SHADER_BINDING_TABLE_READ_KHR",
|
||||
),
|
||||
(AccessFlags2::RESERVED_44_NV.0, "RESERVED_44_NV"),
|
||||
(AccessFlags2::RESERVED_45_NV.0, "RESERVED_45_NV"),
|
||||
(AccessFlags2::RESERVED_42_NV.0, "RESERVED_42_NV"),
|
||||
|
@ -545,6 +548,7 @@ impl fmt::Debug for BufferUsageFlags {
|
|||
BufferUsageFlags::CONDITIONAL_RENDERING_EXT.0,
|
||||
"CONDITIONAL_RENDERING_EXT",
|
||||
),
|
||||
(BufferUsageFlags::RESERVED_25_AMD.0, "RESERVED_25_AMD"),
|
||||
(
|
||||
BufferUsageFlags::ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR.0,
|
||||
"ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR",
|
||||
|
@ -1033,6 +1037,7 @@ 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::RESERVED_3_EXT.0, "RESERVED_3_EXT"),
|
||||
(DependencyFlags::DEVICE_GROUP.0, "DEVICE_GROUP"),
|
||||
(DependencyFlags::VIEW_LOCAL.0, "VIEW_LOCAL"),
|
||||
];
|
||||
|
@ -1180,6 +1185,10 @@ impl fmt::Debug for DeviceDiagnosticsConfigFlagsNV {
|
|||
DeviceDiagnosticsConfigFlagsNV::ENABLE_AUTOMATIC_CHECKPOINTS.0,
|
||||
"ENABLE_AUTOMATIC_CHECKPOINTS",
|
||||
),
|
||||
(
|
||||
DeviceDiagnosticsConfigFlagsNV::ENABLE_SHADER_ERROR_REPORTING.0,
|
||||
"ENABLE_SHADER_ERROR_REPORTING",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -1342,6 +1351,7 @@ impl fmt::Debug for DriverId {
|
|||
Self::MESA_PANVK => Some("MESA_PANVK"),
|
||||
Self::SAMSUNG_PROPRIETARY => Some("SAMSUNG_PROPRIETARY"),
|
||||
Self::MESA_VENUS => Some("MESA_VENUS"),
|
||||
Self::MESA_DOZEN => Some("MESA_DOZEN"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
|
@ -1408,6 +1418,37 @@ impl fmt::Debug for EventCreateFlags {
|
|||
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)] = &[
|
||||
|
@ -1576,10 +1617,6 @@ impl fmt::Debug for ExternalSemaphoreHandleTypeFlags {
|
|||
ExternalSemaphoreHandleTypeFlags::RESERVED_5_NV.0,
|
||||
"RESERVED_5_NV",
|
||||
),
|
||||
(
|
||||
ExternalSemaphoreHandleTypeFlags::RESERVED_6_NV.0,
|
||||
"RESERVED_6_NV",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -2138,6 +2175,100 @@ impl fmt::Debug for ImageAspectFlags {
|
|||
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)] = &[
|
||||
|
@ -2180,7 +2311,10 @@ impl fmt::Debug for ImageCreateFlags {
|
|||
),
|
||||
(ImageCreateFlags::SUBSAMPLED_EXT.0, "SUBSAMPLED_EXT"),
|
||||
(ImageCreateFlags::RESERVED_16_AMD.0, "RESERVED_16_AMD"),
|
||||
(ImageCreateFlags::RESERVED_18_EXT.0, "RESERVED_18_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",
|
||||
|
@ -2371,6 +2505,7 @@ impl fmt::Debug for ImageViewCreateFlags {
|
|||
ImageViewCreateFlags::FRAGMENT_DENSITY_MAP_DEFERRED_EXT.0,
|
||||
"FRAGMENT_DENSITY_MAP_DEFERRED_EXT",
|
||||
),
|
||||
(ImageViewCreateFlags::RESERVED_3_EXT.0, "RESERVED_3_EXT"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -2908,7 +3043,10 @@ impl fmt::Debug for PipelineCreateFlags {
|
|||
PipelineCreateFlags::RAY_TRACING_ALLOW_MOTION_NV.0,
|
||||
"RAY_TRACING_ALLOW_MOTION_NV",
|
||||
),
|
||||
(PipelineCreateFlags::RESERVED_25_EXT.0, "RESERVED_25_EXT"),
|
||||
(PipelineCreateFlags::RESERVED_26_EXT.0, "RESERVED_26_EXT"),
|
||||
(PipelineCreateFlags::RESERVED_24_NV.0, "RESERVED_24_NV"),
|
||||
(PipelineCreateFlags::RESERVED_27_EXT.0, "RESERVED_27_EXT"),
|
||||
(
|
||||
PipelineCreateFlags::VIEW_INDEX_FROM_DEVICE_INDEX.0,
|
||||
"VIEW_INDEX_FROM_DEVICE_INDEX",
|
||||
|
@ -3209,7 +3347,10 @@ impl fmt::Debug for PipelineStageFlags2 {
|
|||
PipelineStageFlags2::INVOCATION_MASK_HUAWEI.0,
|
||||
"INVOCATION_MASK_HUAWEI",
|
||||
),
|
||||
(PipelineStageFlags2::RESERVED_387_KHR.0, "RESERVED_387_KHR"),
|
||||
(
|
||||
PipelineStageFlags2::ACCELERATION_STRUCTURE_COPY_KHR.0,
|
||||
"ACCELERATION_STRUCTURE_COPY_KHR",
|
||||
),
|
||||
(PipelineStageFlags2::RESERVED_30_NV.0, "RESERVED_30_NV"),
|
||||
(PipelineStageFlags2::RESERVED_29_NV.0, "RESERVED_29_NV"),
|
||||
];
|
||||
|
@ -3457,6 +3598,10 @@ impl fmt::Debug for QueryType {
|
|||
Some("VIDEO_ENCODESTREAM_BUFFER_RANGE_KHR")
|
||||
}
|
||||
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"),
|
||||
_ => None,
|
||||
};
|
||||
if let Some(x) = name {
|
||||
|
@ -3602,7 +3747,10 @@ impl fmt::Debug for SamplerCreateFlags {
|
|||
"SUBSAMPLED_COARSE_RECONSTRUCTION_EXT",
|
||||
),
|
||||
(SamplerCreateFlags::RESERVED_3_AMD.0, "RESERVED_3_AMD"),
|
||||
(SamplerCreateFlags::RESERVED_2_EXT.0, "RESERVED_2_EXT"),
|
||||
(
|
||||
SamplerCreateFlags::NON_SEAMLESS_CUBE_MAP_EXT.0,
|
||||
"NON_SEAMLESS_CUBE_MAP_EXT",
|
||||
),
|
||||
(
|
||||
SamplerCreateFlags::IMAGE_PROCESSING_QCOM.0,
|
||||
"IMAGE_PROCESSING_QCOM",
|
||||
|
@ -3813,6 +3961,9 @@ impl fmt::Debug for ShaderStageFlags {
|
|||
ShaderStageFlags::SUBPASS_SHADING_HUAWEI.0,
|
||||
"SUBPASS_SHADING_HUAWEI",
|
||||
),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_15.0, "EXT_483_RESERVE_15"),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_16.0, "EXT_483_RESERVE_16"),
|
||||
(ShaderStageFlags::EXT_483_RESERVE_17.0, "EXT_483_RESERVE_17"),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
@ -4540,9 +4691,6 @@ impl fmt::Debug for StructureType {
|
|||
Self::PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV => {
|
||||
Some("PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV")
|
||||
}
|
||||
|
@ -4789,6 +4937,22 @@ impl fmt::Debug for StructureType {
|
|||
Some("DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV")
|
||||
}
|
||||
Self::RESERVED_QCOM => Some("RESERVED_QCOM"),
|
||||
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")
|
||||
}
|
||||
|
@ -4802,6 +4966,15 @@ impl fmt::Debug for StructureType {
|
|||
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")
|
||||
}
|
||||
|
@ -4836,6 +5009,13 @@ impl fmt::Debug for StructureType {
|
|||
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::SUBRESOURCE_LAYOUT_2_EXT => Some("SUBRESOURCE_LAYOUT_2_EXT"),
|
||||
Self::IMAGE_SUBRESOURCE_2_EXT => Some("IMAGE_SUBRESOURCE_2_EXT"),
|
||||
Self::IMAGE_COMPRESSION_PROPERTIES_EXT => Some("IMAGE_COMPRESSION_PROPERTIES_EXT"),
|
||||
Self::PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT")
|
||||
}
|
||||
|
@ -4926,6 +5106,19 @@ impl fmt::Debug for StructureType {
|
|||
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_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")
|
||||
}
|
||||
|
@ -4939,6 +5132,9 @@ impl fmt::Debug for StructureType {
|
|||
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")
|
||||
}
|
||||
|
@ -4970,6 +5166,9 @@ impl fmt::Debug for StructureType {
|
|||
Self::DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE => {
|
||||
Some("DESCRIPTOR_SET_LAYOUT_HOST_MAPPING_INFO_VALVE")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM => {
|
||||
Some("PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOM")
|
||||
}
|
||||
|
@ -4982,6 +5181,29 @@ impl fmt::Debug for StructureType {
|
|||
Self::PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV => {
|
||||
Some("PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV")
|
||||
}
|
||||
Self::PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT => {
|
||||
Some("PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_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::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_SUBGROUP_PROPERTIES => {
|
||||
Some("PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")
|
||||
}
|
||||
|
@ -5400,6 +5622,36 @@ impl fmt::Debug for SubpassDescriptionFlags {
|
|||
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")];
|
||||
|
@ -5784,8 +6036,12 @@ impl fmt::Debug for VideoEncodeH264CapabilityFlagsEXT {
|
|||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
const KNOWN: &[(Flags, &str)] = &[
|
||||
(
|
||||
VideoEncodeH264CapabilityFlagsEXT::DIRECT_8X8_INFERENCE.0,
|
||||
"DIRECT_8X8_INFERENCE",
|
||||
VideoEncodeH264CapabilityFlagsEXT::DIRECT_8X8_INFERENCE_ENABLED.0,
|
||||
"DIRECT_8X8_INFERENCE_ENABLED",
|
||||
),
|
||||
(
|
||||
VideoEncodeH264CapabilityFlagsEXT::DIRECT_8X8_INFERENCE_DISABLED.0,
|
||||
"DIRECT_8X8_INFERENCE_DISABLED",
|
||||
),
|
||||
(
|
||||
VideoEncodeH264CapabilityFlagsEXT::SEPARATE_COLOUR_PLANE.0,
|
||||
|
@ -5869,6 +6125,10 @@ impl fmt::Debug for VideoEncodeH264CapabilityFlagsEXT {
|
|||
VideoEncodeH264CapabilityFlagsEXT::DIFFERENT_SLICE_TYPE.0,
|
||||
"DIFFERENT_SLICE_TYPE",
|
||||
),
|
||||
(
|
||||
VideoEncodeH264CapabilityFlagsEXT::B_FRAME_IN_L1_LIST.0,
|
||||
"B_FRAME_IN_L1_LIST",
|
||||
),
|
||||
];
|
||||
debug_flags(f, KNOWN, self.0)
|
||||
}
|
||||
|
|
|
@ -23,4 +23,5 @@ pub const MAX_DRIVER_NAME_SIZE: usize = 256;
|
|||
pub const MAX_DRIVER_INFO_SIZE: usize = 256;
|
||||
pub const SHADER_UNUSED_KHR: u32 = !0;
|
||||
pub const MAX_GLOBAL_PRIORITY_SIZE_KHR: usize = 16;
|
||||
pub const MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT: usize = 32;
|
||||
pub const SHADER_UNUSED_NV: u32 = SHADER_UNUSED_KHR;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -896,7 +896,7 @@ impl Result {
|
|||
pub const ERROR_OUT_OF_HOST_MEMORY: Self = Self(-1);
|
||||
#[doc = "A device memory allocation has failed"]
|
||||
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = Self(-2);
|
||||
#[doc = "Initialization of a object has failed"]
|
||||
#[doc = "Initialization of an object has failed"]
|
||||
pub const ERROR_INITIALIZATION_FAILED: Self = Self(-3);
|
||||
#[doc = "The logical device has been lost. See <<devsandqueues-lost-device>>"]
|
||||
pub const ERROR_DEVICE_LOST: Self = Self(-4);
|
||||
|
@ -931,7 +931,7 @@ impl fmt::Display for Result {
|
|||
Self::INCOMPLETE => Some("A return array was too small for the result"),
|
||||
Self::ERROR_OUT_OF_HOST_MEMORY => Some("A host memory allocation has failed"),
|
||||
Self::ERROR_OUT_OF_DEVICE_MEMORY => Some("A device memory allocation has failed"),
|
||||
Self::ERROR_INITIALIZATION_FAILED => Some("Initialization of a object has failed"),
|
||||
Self::ERROR_INITIALIZATION_FAILED => Some("Initialization of an object has failed"),
|
||||
Self::ERROR_DEVICE_LOST => {
|
||||
Some("The logical device has been lost. See <<devsandqueues-lost-device>>")
|
||||
}
|
||||
|
@ -1665,6 +1665,8 @@ impl DriverId {
|
|||
pub const SAMSUNG_PROPRIETARY: Self = Self(21);
|
||||
#[doc = "Mesa open source project"]
|
||||
pub const MESA_VENUS: Self = Self(22);
|
||||
#[doc = "Mesa open source project"]
|
||||
pub const MESA_DOZEN: Self = Self(23);
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
|
@ -2200,6 +2202,34 @@ impl FragmentShadingRateTypeNV {
|
|||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubpassMergeStatusEXT.html>"]
|
||||
pub struct SubpassMergeStatusEXT(pub(crate) i32);
|
||||
impl SubpassMergeStatusEXT {
|
||||
pub const fn from_raw(x: i32) -> Self {
|
||||
Self(x)
|
||||
}
|
||||
pub const fn as_raw(self) -> i32 {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
impl SubpassMergeStatusEXT {
|
||||
pub const MERGED: Self = Self(0);
|
||||
pub const DISALLOWED: Self = Self(1);
|
||||
pub const NOT_MERGED_SIDE_EFFECTS: Self = Self(2);
|
||||
pub const NOT_MERGED_SAMPLES_MISMATCH: Self = Self(3);
|
||||
pub const NOT_MERGED_VIEWS_MISMATCH: Self = Self(4);
|
||||
pub const NOT_MERGED_ALIASING: Self = Self(5);
|
||||
pub const NOT_MERGED_DEPENDENCIES: Self = Self(6);
|
||||
pub const NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT: Self = Self(7);
|
||||
pub const NOT_MERGED_TOO_MANY_ATTACHMENTS: Self = Self(8);
|
||||
pub const NOT_MERGED_INSUFFICIENT_STORAGE: Self = Self(9);
|
||||
pub const NOT_MERGED_DEPTH_STENCIL_COUNT: Self = Self(10);
|
||||
pub const NOT_MERGED_RESOLVE_ATTACHMENT_REUSE: Self = Self(11);
|
||||
pub const NOT_MERGED_SINGLE_SUBPASS: Self = Self(12);
|
||||
pub const NOT_MERGED_UNSPECIFIED: Self = Self(13);
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkProvokingVertexModeEXT.html>"]
|
||||
pub struct ProvokingVertexModeEXT(pub(crate) i32);
|
||||
impl ProvokingVertexModeEXT {
|
||||
|
@ -2335,6 +2365,24 @@ impl fmt::Debug for Result {
|
|||
Self::ERROR_INCOMPATIBLE_DISPLAY_KHR => Some("ERROR_INCOMPATIBLE_DISPLAY_KHR"),
|
||||
Self::ERROR_VALIDATION_FAILED_EXT => Some("ERROR_VALIDATION_FAILED_EXT"),
|
||||
Self::ERROR_INVALID_SHADER_NV => Some("ERROR_INVALID_SHADER_NV"),
|
||||
Self::ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR => {
|
||||
Some("ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR")
|
||||
}
|
||||
Self::ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT => {
|
||||
Some("ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT")
|
||||
}
|
||||
|
@ -2346,6 +2394,7 @@ impl fmt::Debug for Result {
|
|||
Self::THREAD_DONE_KHR => Some("THREAD_DONE_KHR"),
|
||||
Self::OPERATION_DEFERRED_KHR => Some("OPERATION_DEFERRED_KHR"),
|
||||
Self::OPERATION_NOT_DEFERRED_KHR => Some("OPERATION_NOT_DEFERRED_KHR"),
|
||||
Self::ERROR_COMPRESSION_EXHAUSTED_EXT => Some("ERROR_COMPRESSION_EXHAUSTED_EXT"),
|
||||
Self::ERROR_OUT_OF_POOL_MEMORY => Some("ERROR_OUT_OF_POOL_MEMORY"),
|
||||
Self::ERROR_INVALID_EXTERNAL_HANDLE => Some("ERROR_INVALID_EXTERNAL_HANDLE"),
|
||||
Self::ERROR_FRAGMENTATION => Some("ERROR_FRAGMENTATION"),
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -4712,7 +4712,6 @@ pub struct StdVideoH265SequenceParameterSet {
|
|||
pub bit_depth_luma_minus8: u8,
|
||||
pub bit_depth_chroma_minus8: u8,
|
||||
pub log2_max_pic_order_cnt_lsb_minus4: u8,
|
||||
pub sps_max_dec_pic_buffering_minus1: [u8; 8usize],
|
||||
pub log2_min_luma_coding_block_size_minus3: u8,
|
||||
pub log2_diff_max_min_luma_coding_block_size: u8,
|
||||
pub log2_min_luma_transform_block_size_minus2: u8,
|
||||
|
@ -4742,7 +4741,7 @@ pub struct StdVideoH265SequenceParameterSet {
|
|||
fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
||||
assert_eq!(
|
||||
::std::mem::size_of::<StdVideoH265SequenceParameterSet>(),
|
||||
104usize,
|
||||
96usize,
|
||||
concat!("Size of: ", stringify!(StdVideoH265SequenceParameterSet))
|
||||
);
|
||||
assert_eq!(
|
||||
|
@ -4908,25 +4907,12 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
stringify!(log2_max_pic_order_cnt_lsb_minus4)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.sps_max_dec_pic_buffering_minus1 as *const _ as usize
|
||||
},
|
||||
27usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
"::",
|
||||
stringify!(sps_max_dec_pic_buffering_minus1)
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
unsafe {
|
||||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_min_luma_coding_block_size_minus3 as *const _ as usize
|
||||
},
|
||||
35usize,
|
||||
27usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -4939,7 +4925,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_diff_max_min_luma_coding_block_size as *const _ as usize
|
||||
},
|
||||
36usize,
|
||||
28usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -4952,7 +4938,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_min_luma_transform_block_size_minus2 as *const _ as usize
|
||||
},
|
||||
37usize,
|
||||
29usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -4965,7 +4951,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_diff_max_min_luma_transform_block_size as *const _ as usize
|
||||
},
|
||||
38usize,
|
||||
30usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -4978,7 +4964,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.max_transform_hierarchy_depth_inter as *const _ as usize
|
||||
},
|
||||
39usize,
|
||||
31usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -4991,7 +4977,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.max_transform_hierarchy_depth_intra as *const _ as usize
|
||||
},
|
||||
40usize,
|
||||
32usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5004,7 +4990,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).num_short_term_ref_pic_sets
|
||||
as *const _ as usize
|
||||
},
|
||||
41usize,
|
||||
33usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5017,7 +5003,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).num_long_term_ref_pics_sps
|
||||
as *const _ as usize
|
||||
},
|
||||
42usize,
|
||||
34usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5030,7 +5016,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.pcm_sample_bit_depth_luma_minus1 as *const _ as usize
|
||||
},
|
||||
43usize,
|
||||
35usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5043,7 +5029,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.pcm_sample_bit_depth_chroma_minus1 as *const _ as usize
|
||||
},
|
||||
44usize,
|
||||
36usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5056,7 +5042,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_min_pcm_luma_coding_block_size_minus3 as *const _ as usize
|
||||
},
|
||||
45usize,
|
||||
37usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5069,7 +5055,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.log2_diff_max_min_pcm_luma_coding_block_size as *const _ as usize
|
||||
},
|
||||
46usize,
|
||||
38usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5082,7 +5068,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).conf_win_left_offset
|
||||
as *const _ as usize
|
||||
},
|
||||
48usize,
|
||||
40usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5095,7 +5081,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).conf_win_right_offset
|
||||
as *const _ as usize
|
||||
},
|
||||
52usize,
|
||||
44usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5108,7 +5094,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).conf_win_top_offset
|
||||
as *const _ as usize
|
||||
},
|
||||
56usize,
|
||||
48usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5121,7 +5107,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).conf_win_bottom_offset
|
||||
as *const _ as usize
|
||||
},
|
||||
60usize,
|
||||
52usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5134,7 +5120,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).pDecPicBufMgr as *const _
|
||||
as usize
|
||||
},
|
||||
64usize,
|
||||
56usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5147,7 +5133,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).pScalingLists as *const _
|
||||
as usize
|
||||
},
|
||||
72usize,
|
||||
64usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5160,7 +5146,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).pSequenceParameterSetVui
|
||||
as *const _ as usize
|
||||
},
|
||||
80usize,
|
||||
72usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5173,7 +5159,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).palette_max_size
|
||||
as *const _ as usize
|
||||
},
|
||||
88usize,
|
||||
80usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5186,7 +5172,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.delta_palette_max_predictor_size as *const _ as usize
|
||||
},
|
||||
89usize,
|
||||
81usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5199,7 +5185,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.motion_vector_resolution_control_idc as *const _ as usize
|
||||
},
|
||||
90usize,
|
||||
82usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5212,7 +5198,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>()))
|
||||
.sps_num_palette_predictor_initializer_minus1 as *const _ as usize
|
||||
},
|
||||
91usize,
|
||||
83usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
@ -5225,7 +5211,7 @@ fn bindgen_test_layout_StdVideoH265SequenceParameterSet() {
|
|||
&(*(::std::ptr::null::<StdVideoH265SequenceParameterSet>())).pPredictorPaletteEntries
|
||||
as *const _ as usize
|
||||
},
|
||||
96usize,
|
||||
88usize,
|
||||
concat!(
|
||||
"Offset of field: ",
|
||||
stringify!(StdVideoH265SequenceParameterSet),
|
||||
|
|
|
@ -1,33 +1,26 @@
|
|||
#![allow(non_camel_case_types)]
|
||||
|
||||
use std::os::raw::*;
|
||||
pub type RROutput = c_ulong;
|
||||
pub type VisualID = c_uint;
|
||||
pub type Display = *const c_void;
|
||||
pub type Window = c_ulong;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type xcb_connection_t = c_void;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type xcb_window_t = u32;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type xcb_visualid_t = u32;
|
||||
pub type MirConnection = *const c_void;
|
||||
pub type MirSurface = *const c_void;
|
||||
pub type HINSTANCE = *const c_void;
|
||||
pub type HWND = *const c_void;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type wl_display = c_void;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type wl_surface = c_void;
|
||||
pub type HANDLE = *mut c_void;
|
||||
pub type HMONITOR = HANDLE;
|
||||
pub type DWORD = c_ulong;
|
||||
pub type LPCWSTR = *const u16;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type zx_handle_t = u32;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type _screen_context = c_void;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type _screen_window = c_void;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type SECURITY_ATTRIBUTES = c_void;
|
||||
// Opaque types
|
||||
pub type ANativeWindow = c_void;
|
||||
|
@ -39,3 +32,10 @@ pub type GgpStreamDescriptor = u32;
|
|||
pub type GgpFrameToken = u64;
|
||||
pub type IDirectFB = c_void;
|
||||
pub type IDirectFBSurface = c_void;
|
||||
pub type __IOSurface = c_void;
|
||||
pub type IOSurfaceRef = *mut __IOSurface;
|
||||
pub type MTLBuffer_id = *mut c_void;
|
||||
pub type MTLCommandQueue_id = *mut c_void;
|
||||
pub type MTLDevice_id = *mut c_void;
|
||||
pub type MTLSharedEvent_id = *mut c_void;
|
||||
pub type MTLTexture_id = *mut c_void;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 23842a31df9c9c2b3bc7c6c2bb56044bc5e51c05
|
||||
Subproject commit 2c823b7f27590ec0a489f7fbe14b154e13fa5cfb
|
|
@ -1399,9 +1399,21 @@ pub fn derive_default(struct_: &vkxml::Struct) -> Option<TokenStream> {
|
|||
.filter_map(get_variant!(vkxml::StructElement::Member));
|
||||
let is_structure_type = |field: &vkxml::Field| field.basetype == "VkStructureType";
|
||||
|
||||
// This are also pointers, and therefor also don't implement Default. The spec
|
||||
// These are also pointers, and therefor also don't implement Default. The spec
|
||||
// also doesn't mark them as pointers
|
||||
let handles = ["LPCWSTR", "HANDLE", "HINSTANCE", "HWND", "HMONITOR"];
|
||||
let handles = [
|
||||
"LPCWSTR",
|
||||
"HANDLE",
|
||||
"HINSTANCE",
|
||||
"HWND",
|
||||
"HMONITOR",
|
||||
"IOSurfaceRef",
|
||||
"MTLBuffer_id",
|
||||
"MTLCommandQueue_id",
|
||||
"MTLDevice_id",
|
||||
"MTLSharedEvent_id",
|
||||
"MTLTexture_id",
|
||||
];
|
||||
let contains_ptr = members.clone().any(|field| field.reference.is_some());
|
||||
let contains_structure_type = members.clone().any(is_structure_type);
|
||||
let contains_static_array = members.clone().any(is_static_array);
|
||||
|
|
Loading…
Reference in a new issue