Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.293
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Aug 23, 2024
1 parent 6d06635 commit 97f953a
Show file tree
Hide file tree
Showing 7 changed files with 62 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.292 (#910)
- Update Vulkan-Headers to 1.3.293 (#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.292"
version = "0.38.0+1.3.293"
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 @@ -19850,6 +19850,14 @@ pub mod nv {
crate::vk::NV_RAW_ACCESS_CHAINS_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_NV_command_buffer_inheritance"]
pub mod command_buffer_inheritance {
use super::super::*;
pub use {
crate::vk::NV_COMMAND_BUFFER_INHERITANCE_NAME as NAME,
crate::vk::NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_NV_shader_atomic_float16_vector"]
pub mod shader_atomic_float16_vector {
use super::super::*;
Expand Down
3 changes: 3 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6672,6 +6672,9 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR")
}
Self::PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV => {
Some("PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR => {
Some("PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR")
}
Expand Down
42 changes: 41 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 = 292;
pub const HEADER_VERSION: u32 = 293;
#[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 @@ -58009,6 +58009,46 @@ impl<'a> PhysicalDeviceRawAccessChainsFeaturesNV<'a> {
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceCommandBufferInheritanceFeaturesNV.html>"]
#[must_use]
pub struct PhysicalDeviceCommandBufferInheritanceFeaturesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub command_buffer_inheritance: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'_> {}
unsafe impl Sync for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'_> {}
impl ::core::default::Default for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
command_buffer_inheritance: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV;
}
unsafe impl ExtendsPhysicalDeviceFeatures2
for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'_>
{
}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDeviceCommandBufferInheritanceFeaturesNV<'_> {}
impl<'a> PhysicalDeviceCommandBufferInheritanceFeaturesNV<'a> {
#[inline]
pub fn command_buffer_inheritance(mut self, command_buffer_inheritance: bool) -> Self {
self.command_buffer_inheritance = command_buffer_inheritance.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/VkPhysicalDeviceImageAlignmentControlFeaturesMESA.html>"]
#[must_use]
pub struct PhysicalDeviceImageAlignmentControlFeaturesMESA<'a> {
Expand Down
7 changes: 7 additions & 0 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3969,6 +3969,10 @@ impl StructureType {
pub const PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: Self =
Self(1_000_558_000);
}
#[doc = "Generated from 'VK_NV_command_buffer_inheritance'"]
impl StructureType {
pub const PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV: Self = Self(1_000_559_000);
}
#[doc = "Generated from 'VK_KHR_maintenance7'"]
impl RenderingFlags {
#[doc = "Promoted from extension 452"]
Expand Down Expand Up @@ -7936,6 +7940,9 @@ pub const NV_RAW_ACCESS_CHAINS_SPEC_VERSION: u32 = 1u32;
pub const KHR_SHADER_RELAXED_EXTENDED_INSTRUCTION_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_shader_relaxed_extended_instruction\0") };
pub const KHR_SHADER_RELAXED_EXTENDED_INSTRUCTION_SPEC_VERSION: u32 = 1u32;
pub const NV_COMMAND_BUFFER_INHERITANCE_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_command_buffer_inheritance\0") };
pub const NV_COMMAND_BUFFER_INHERITANCE_SPEC_VERSION: u32 = 1u32;
pub const KHR_MAINTENANCE7_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_maintenance7\0") };
pub const KHR_MAINTENANCE7_SPEC_VERSION: u32 = 1u32;
Expand Down

0 comments on commit 97f953a

Please sign in to comment.