Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.285
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed May 13, 2024
1 parent 3bd44e9 commit b71c016
Show file tree
Hide file tree
Showing 7 changed files with 144 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Update Vulkan-Headers to 1.3.284 (#910)
- Update Vulkan-Headers to 1.3.285 (#910)

## [0.38.0] - 2024-04-01

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.38.0+1.3.284"
version = "0.38.0+1.3.285"
authors = [
"Maik Klein <maikklein@googlemail.com>",
"Benjamin Saunders <ben.e.saunders@gmail.com>",
Expand Down
11 changes: 11 additions & 0 deletions ash/src/extensions_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16997,6 +16997,17 @@ pub mod lunarg {
};
}
}
#[doc = "Extensions tagged MESA"]
pub mod mesa {
#[doc = "VK_MESA_image_alignment_control"]
pub mod image_alignment_control {
use super::super::*;
pub use {
crate::vk::MESA_IMAGE_ALIGNMENT_CONTROL_NAME as NAME,
crate::vk::MESA_IMAGE_ALIGNMENT_CONTROL_SPEC_VERSION as SPEC_VERSION,
};
}
}
#[doc = "Extensions tagged MSFT"]
pub mod msft {
#[doc = "VK_MSFT_layered_driver"]
Expand Down
9 changes: 9 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6623,6 +6623,15 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV => {
Some("PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA => {
Some("PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA")
}
Self::PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA => {
Some("PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA")
}
Self::IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA => {
Some("IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA")
}
Self::PHYSICAL_DEVICE_SUBGROUP_PROPERTIES => {
Some("PHYSICAL_DEVICE_SUBGROUP_PROPERTIES")
}
Expand Down
113 changes: 112 additions & 1 deletion ash/src/vk/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_API_VERSION_1_3.html>"]
pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html>"]
pub const HEADER_VERSION: u32 = 284;
pub const HEADER_VERSION: u32 = 285;
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION);
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
Expand Down Expand Up @@ -57506,3 +57506,114 @@ impl<'a> PhysicalDeviceRawAccessChainsFeaturesNV<'a> {
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceImageAlignmentControlFeaturesMESA.html>"]
#[must_use]
pub struct PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub image_alignment_control: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceImageAlignmentControlFeaturesMESA<'_> {}
unsafe impl Sync for PhysicalDeviceImageAlignmentControlFeaturesMESA<'_> {}
impl ::core::default::Default for PhysicalDeviceImageAlignmentControlFeaturesMESA<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
image_alignment_control: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA;
}
unsafe impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceImageAlignmentControlFeaturesMESA<'_> {}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDeviceImageAlignmentControlFeaturesMESA<'_> {}
impl<'a> PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> {
#[inline]
pub fn image_alignment_control(mut self, image_alignment_control: bool) -> Self {
self.image_alignment_control = image_alignment_control.into();
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceImageAlignmentControlPropertiesMESA.html>"]
#[must_use]
pub struct PhysicalDeviceImageAlignmentControlPropertiesMESA<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub supported_image_alignment_mask: u32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceImageAlignmentControlPropertiesMESA<'_> {}
unsafe impl Sync for PhysicalDeviceImageAlignmentControlPropertiesMESA<'_> {}
impl ::core::default::Default for PhysicalDeviceImageAlignmentControlPropertiesMESA<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
supported_image_alignment_mask: u32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceImageAlignmentControlPropertiesMESA<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA;
}
unsafe impl ExtendsPhysicalDeviceProperties2
for PhysicalDeviceImageAlignmentControlPropertiesMESA<'_>
{
}
impl<'a> PhysicalDeviceImageAlignmentControlPropertiesMESA<'a> {
#[inline]
pub fn supported_image_alignment_mask(mut self, supported_image_alignment_mask: u32) -> Self {
self.supported_image_alignment_mask = supported_image_alignment_mask;
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageAlignmentControlCreateInfoMESA.html>"]
#[must_use]
pub struct ImageAlignmentControlCreateInfoMESA<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub maximum_requested_alignment: u32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for ImageAlignmentControlCreateInfoMESA<'_> {}
unsafe impl Sync for ImageAlignmentControlCreateInfoMESA<'_> {}
impl ::core::default::Default for ImageAlignmentControlCreateInfoMESA<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null(),
maximum_requested_alignment: u32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for ImageAlignmentControlCreateInfoMESA<'a> {
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA;
}
unsafe impl ExtendsImageCreateInfo for ImageAlignmentControlCreateInfoMESA<'_> {}
impl<'a> ImageAlignmentControlCreateInfoMESA<'a> {
#[inline]
pub fn maximum_requested_alignment(mut self, maximum_requested_alignment: u32) -> Self {
self.maximum_requested_alignment = maximum_requested_alignment;
self
}
}
9 changes: 9 additions & 0 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3965,6 +3965,12 @@ impl StructureType {
impl StructureType {
pub const PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: Self = Self(1_000_568_000);
}
#[doc = "Generated from 'VK_MESA_image_alignment_control'"]
impl StructureType {
pub const PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: Self = Self(1_000_575_000);
pub const PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: Self = Self(1_000_575_001);
pub const IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: Self = Self(1_000_575_002);
}
pub const KHR_SURFACE_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_surface\0") };
pub const KHR_SURFACE_SPEC_VERSION: u32 = 25u32;
Expand Down Expand Up @@ -7894,3 +7900,6 @@ pub const NV_SHADER_ATOMIC_FLOAT16_VECTOR_SPEC_VERSION: u32 = 1u32;
pub const NV_RAY_TRACING_VALIDATION_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_ray_tracing_validation\0") };
pub const NV_RAY_TRACING_VALIDATION_SPEC_VERSION: u32 = 1u32;
pub const MESA_IMAGE_ALIGNMENT_CONTROL_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_MESA_image_alignment_control\0") };
pub const MESA_IMAGE_ALIGNMENT_CONTROL_SPEC_VERSION: u32 = 1u32;

0 comments on commit b71c016

Please sign in to comment.