Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.286
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jun 7, 2024
1 parent 258dc68 commit 385d805
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@ members = [
"generator",
"generator-rewrite",
]

[patch.crates-io]
# https://github.com/krolli/vk-parse/pull/32
# https://togithub.com/KhronosGroup/Vulkan-Docs/pull/2366
vk-parse = { git = "https://github.com/MarijnS95/vk-parse", rev = "97848b1" }
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.285 (#910)
- Update Vulkan-Headers to 1.3.286 (#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.285"
version = "0.38.0+1.3.286"
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 @@ -8414,6 +8414,14 @@ pub mod ext {
}
}
}
#[doc = "VK_EXT_shader_replicated_composites"]
pub mod shader_replicated_composites {
use super::super::*;
pub use {
crate::vk::EXT_SHADER_REPLICATED_COMPOSITES_NAME as NAME,
crate::vk::EXT_SHADER_REPLICATED_COMPOSITES_SPEC_VERSION as SPEC_VERSION,
};
}
}
#[doc = "Extensions tagged FUCHSIA"]
pub mod fuchsia {
Expand Down
5 changes: 5 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,7 @@ impl fmt::Debug for DriverId {
Self::MESA_NVK => Some("MESA_NVK"),
Self::IMAGINATION_OPEN_SOURCE_MESA => Some("IMAGINATION_OPEN_SOURCE_MESA"),
Self::MESA_AGXV => Some("MESA_AGXV"),
Self::RESERVED_27 => Some("RESERVED_27"),
_ => None,
};
if let Some(x) = name {
Expand Down Expand Up @@ -6620,6 +6621,9 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV => {
Some("PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV")
}
Self::PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV => {
Some("PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV")
}
Expand Down Expand Up @@ -7288,6 +7292,7 @@ impl fmt::Debug for ValidationFeatureEnableEXT {
impl fmt::Debug for VendorId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let name = match *self {
Self::KHRONOS => Some("KHRONOS"),
Self::VIV => Some("VIV"),
Self::VSI => Some("VSI"),
Self::KAZAN => Some("KAZAN"),
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 = 285;
pub const HEADER_VERSION: u32 = 286;
#[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 @@ -57617,3 +57617,43 @@ impl<'a> ImageAlignmentControlCreateInfoMESA<'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/VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT.html>"]
#[must_use]
pub struct PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_replicated_composites: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'_> {}
unsafe impl Sync for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'_> {}
impl ::core::default::Default for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
shader_replicated_composites: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT;
}
unsafe impl ExtendsPhysicalDeviceFeatures2
for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'_>
{
}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'_> {}
impl<'a> PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> {
#[inline]
pub fn shader_replicated_composites(mut self, shader_replicated_composites: bool) -> Self {
self.shader_replicated_composites = shader_replicated_composites.into();
self
}
}
4 changes: 4 additions & 0 deletions ash/src/vk/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,8 @@ impl VendorId {
}
}
impl VendorId {
#[doc = "Khronos vendor ID"]
pub const KHRONOS: Self = Self(0x1_0000);
#[doc = "Vivante vendor ID"]
pub const VIV: Self = Self(0x1_0001);
#[doc = "VeriSilicon vendor ID"]
Expand Down Expand Up @@ -1839,6 +1841,8 @@ impl DriverId {
pub const IMAGINATION_OPEN_SOURCE_MESA: Self = Self(25);
#[doc = "Mesa open source project"]
pub const MESA_AGXV: Self = Self(26);
#[doc = "Reserved for undisclosed driver project"]
pub const RESERVED_27: Self = Self(27);
}
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
#[repr(transparent)]
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 @@ -3961,6 +3961,10 @@ impl StructureType {
impl StructureType {
pub const PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: Self = Self(1_000_563_000);
}
#[doc = "Generated from 'VK_EXT_shader_replicated_composites'"]
impl StructureType {
pub const PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: Self = Self(1_000_564_000);
}
#[doc = "Generated from 'VK_NV_ray_tracing_validation'"]
impl StructureType {
pub const PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: Self = Self(1_000_568_000);
Expand Down Expand Up @@ -7897,6 +7901,9 @@ pub const NV_RAW_ACCESS_CHAINS_SPEC_VERSION: u32 = 1u32;
pub const NV_SHADER_ATOMIC_FLOAT16_VECTOR_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_NV_shader_atomic_float16_vector\0") };
pub const NV_SHADER_ATOMIC_FLOAT16_VECTOR_SPEC_VERSION: u32 = 1u32;
pub const EXT_SHADER_REPLICATED_COMPOSITES_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_shader_replicated_composites\0") };
pub const EXT_SHADER_REPLICATED_COMPOSITES_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;
Expand Down
2 changes: 1 addition & 1 deletion generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ once_cell = "1.7"
proc-macro2 = "1.0"
quote = "1.0"
regex = "1.4"
vk-parse = { version = "0.12", features = ["vkxml-convert"] }
vk-parse = { version = "0.13", features = ["vkxml-convert"] }
vkxml = "0.3"

[dependencies.syn]
Expand Down

0 comments on commit 385d805

Please sign in to comment.