Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.219 (#619)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
MarijnS95 authored Jul 3, 2022
1 parent 71d45e4 commit 94fdc70
Show file tree
Hide file tree
Showing 13 changed files with 2,723 additions and 258 deletions.
6 changes: 3 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,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)
Expand Down
2 changes: 1 addition & 1 deletion ash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 3 additions & 0 deletions ash/src/vk/aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ pub type PhysicalDeviceShaderAtomicInt64FeaturesKHR<'a> =
pub type PhysicalDeviceDepthStencilResolvePropertiesKHR<'a> =
PhysicalDeviceDepthStencilResolveProperties<'a>;
pub type SubpassDescriptionDepthStencilResolveKHR<'a> = SubpassDescriptionDepthStencilResolve<'a>;
pub type PhysicalDeviceFragmentShaderBarycentricFeaturesNV<'a> =
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>;
pub type ImageStencilUsageCreateInfoEXT<'a> = ImageStencilUsageCreateInfo<'a>;
pub type PhysicalDeviceScalarBlockLayoutFeaturesEXT<'a> =
PhysicalDeviceScalarBlockLayoutFeatures<'a>;
Expand All @@ -205,6 +207,7 @@ pub type PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR<'a> =
PhysicalDeviceSeparateDepthStencilLayoutsFeatures<'a>;
pub type AttachmentReferenceStencilLayoutKHR<'a> = AttachmentReferenceStencilLayout<'a>;
pub type AttachmentDescriptionStencilLayoutKHR<'a> = AttachmentDescriptionStencilLayout<'a>;
pub type PipelineInfoEXT<'a> = PipelineInfoKHR<'a>;
pub type PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT<'a> =
PhysicalDeviceShaderDemoteToHelperInvocationFeatures<'a>;
pub type PhysicalDeviceTexelBufferAlignmentPropertiesEXT<'a> =
Expand Down
105 changes: 82 additions & 23 deletions ash/src/vk/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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)]
Expand Down Expand Up @@ -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);
}
Loading

0 comments on commit 94fdc70

Please sign in to comment.