Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.284
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed May 6, 2024
1 parent 4385545 commit 3bd44e9
Show file tree
Hide file tree
Showing 7 changed files with 102 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.283 (#TODO)
- Update Vulkan-Headers to 1.3.284 (#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.283"
version = "0.38.0+1.3.284"
authors = [
"Maik Klein <maikklein@googlemail.com>",
"Benjamin Saunders <ben.e.saunders@gmail.com>",
Expand Down
8 changes: 8 additions & 0 deletions ash/src/extensions_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8314,6 +8314,14 @@ pub mod ext {
crate::vk::EXT_MUTABLE_DESCRIPTOR_TYPE_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_EXT_legacy_vertex_attributes"]
pub mod legacy_vertex_attributes {
use super::super::*;
pub use {
crate::vk::EXT_LEGACY_VERTEX_ATTRIBUTES_NAME as NAME,
crate::vk::EXT_LEGACY_VERTEX_ATTRIBUTES_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_EXT_layer_settings"]
pub mod layer_settings {
use super::super::*;
Expand Down
6 changes: 6 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6469,6 +6469,12 @@ impl fmt::Debug for StructureType {
Self::MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT => {
Some("MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT")
}
Self::PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_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")
Expand Down
78 changes: 77 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 = 283;
pub const HEADER_VERSION: u32 = 284;
#[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 @@ -37508,6 +37508,82 @@ impl<'a> PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT.html>"]
#[must_use]
pub struct PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub legacy_vertex_attributes: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'_> {}
unsafe impl Sync for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'_> {}
impl ::core::default::Default for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
legacy_vertex_attributes: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT;
}
unsafe impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'_> {}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'_> {}
impl<'a> PhysicalDeviceLegacyVertexAttributesFeaturesEXT<'a> {
#[inline]
pub fn legacy_vertex_attributes(mut self, legacy_vertex_attributes: bool) -> Self {
self.legacy_vertex_attributes = legacy_vertex_attributes.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/VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT.html>"]
#[must_use]
pub struct PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub native_unaligned_performance: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'_> {}
unsafe impl Sync for PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'_> {}
impl ::core::default::Default for PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
native_unaligned_performance: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT;
}
unsafe impl ExtendsPhysicalDeviceProperties2
for PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'_>
{
}
impl<'a> PhysicalDeviceLegacyVertexAttributesPropertiesEXT<'a> {
#[inline]
pub fn native_unaligned_performance(mut self, native_unaligned_performance: bool) -> Self {
self.native_unaligned_performance = native_unaligned_performance.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/VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT.html>"]
#[must_use]
pub struct PhysicalDeviceMutableDescriptorTypeFeaturesEXT<'a> {
Expand Down
8 changes: 8 additions & 0 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3754,6 +3754,11 @@ impl StructureType {
pub const PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: Self = Self(1_000_351_000);
pub const MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: Self = Self(1_000_351_002);
}
#[doc = "Generated from 'VK_EXT_legacy_vertex_attributes'"]
impl StructureType {
pub const PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: Self = Self(1_000_495_000);
pub const PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: Self = Self(1_000_495_001);
}
#[doc = "Generated from 'VK_EXT_layer_settings'"]
impl StructureType {
pub const LAYER_SETTINGS_CREATE_INFO_EXT: Self = Self(1_000_496_000);
Expand Down Expand Up @@ -7727,6 +7732,9 @@ pub const NV_EXTENDED_SPARSE_ADDRESS_SPACE_SPEC_VERSION: u32 = 1u32;
pub const EXT_MUTABLE_DESCRIPTOR_TYPE_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_mutable_descriptor_type\0") };
pub const EXT_MUTABLE_DESCRIPTOR_TYPE_SPEC_VERSION: u32 = 1u32;
pub const EXT_LEGACY_VERTEX_ATTRIBUTES_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_legacy_vertex_attributes\0") };
pub const EXT_LEGACY_VERTEX_ATTRIBUTES_SPEC_VERSION: u32 = 1u32;
pub const EXT_LAYER_SETTINGS_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_layer_settings\0") };
pub const EXT_LAYER_SETTINGS_SPEC_VERSION: u32 = 2u32;
Expand Down

0 comments on commit 3bd44e9

Please sign in to comment.