Skip to content

Commit a40ddee

Browse files
committed
Update Vulkan-Headers to 1.3.257
1 parent 9d4fdd7 commit a40ddee

File tree

8 files changed

+31
-94
lines changed

8 files changed

+31
-94
lines changed

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Added `Handle::is_null()` to allow checking if a handle is a `NULL` value (#694)
1313
- Allow building `Entry`/`Instance`/`Device` from handle+fns (see their `from_parts_1_x()` associated functions) (#748)
14-
- Update Vulkan-Headers to 1.3.255 (#760, #763)
14+
- Update Vulkan-Headers to 1.3.257 (#760, #763)
1515
- Added `VK_NV_memory_decompression` device extension (#761)
1616

1717
### Changed

ash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ash"
3-
version = "0.37.0+1.3.255"
3+
version = "0.37.0+1.3.257"
44
authors = [
55
"Maik Klein <[email protected]>",
66
"Benjamin Saunders <[email protected]>",

ash/src/vk/aliases.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ pub type CopyAccelerationStructureModeNV = CopyAccelerationStructureModeKHR;
3838
pub type AccelerationStructureTypeNV = AccelerationStructureTypeKHR;
3939
pub type GeometryTypeNV = GeometryTypeKHR;
4040
pub type RayTracingShaderGroupTypeNV = RayTracingShaderGroupTypeKHR;
41+
pub type ScopeNV = ScopeKHR;
42+
pub type ComponentTypeNV = ComponentTypeKHR;
4143
pub type TessellationDomainOriginKHR = TessellationDomainOrigin;
4244
pub type SamplerYcbcrModelConversionKHR = SamplerYcbcrModelConversion;
4345
pub type SamplerYcbcrRangeKHR = SamplerYcbcrRange;

ash/src/vk/const_debugs.rs

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -910,29 +910,6 @@ impl fmt::Debug for ComponentTypeKHR {
910910
}
911911
}
912912
}
913-
impl fmt::Debug for ComponentTypeNV {
914-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
915-
let name = match *self {
916-
Self::FLOAT16 => Some("FLOAT16"),
917-
Self::FLOAT32 => Some("FLOAT32"),
918-
Self::FLOAT64 => Some("FLOAT64"),
919-
Self::SINT8 => Some("SINT8"),
920-
Self::SINT16 => Some("SINT16"),
921-
Self::SINT32 => Some("SINT32"),
922-
Self::SINT64 => Some("SINT64"),
923-
Self::UINT8 => Some("UINT8"),
924-
Self::UINT16 => Some("UINT16"),
925-
Self::UINT32 => Some("UINT32"),
926-
Self::UINT64 => Some("UINT64"),
927-
_ => None,
928-
};
929-
if let Some(x) = name {
930-
f.write_str(x)
931-
} else {
932-
self.0.fmt(f)
933-
}
934-
}
935-
}
936913
impl fmt::Debug for CompositeAlphaFlagsKHR {
937914
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
938915
const KNOWN: &[(Flags, &str)] = &[
@@ -3777,8 +3754,8 @@ impl fmt::Debug for PipelineStageFlags2 {
37773754
(PipelineStageFlags2::TASK_SHADER_EXT.0, "TASK_SHADER_EXT"),
37783755
(PipelineStageFlags2::MESH_SHADER_EXT.0, "MESH_SHADER_EXT"),
37793756
(
3780-
PipelineStageFlags2::SUBPASS_SHADING_HUAWEI.0,
3781-
"SUBPASS_SHADING_HUAWEI",
3757+
PipelineStageFlags2::SUBPASS_SHADER_HUAWEI.0,
3758+
"SUBPASS_SHADER_HUAWEI",
37823759
),
37833760
(
37843761
PipelineStageFlags2::INVOCATION_MASK_HUAWEI.0,
@@ -4332,22 +4309,6 @@ impl fmt::Debug for ScopeKHR {
43324309
}
43334310
}
43344311
}
4335-
impl fmt::Debug for ScopeNV {
4336-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
4337-
let name = match *self {
4338-
Self::DEVICE => Some("DEVICE"),
4339-
Self::WORKGROUP => Some("WORKGROUP"),
4340-
Self::SUBGROUP => Some("SUBGROUP"),
4341-
Self::QUEUE_FAMILY => Some("QUEUE_FAMILY"),
4342-
_ => None,
4343-
};
4344-
if let Some(x) = name {
4345-
f.write_str(x)
4346-
} else {
4347-
self.0.fmt(f)
4348-
}
4349-
}
4350-
}
43514312
impl fmt::Debug for ScreenSurfaceCreateFlagsQNX {
43524313
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
43534314
const KNOWN: &[(Flags, &str)] = &[];

ash/src/vk/definitions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0);
5858
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_API_VERSION_1_3.html>"]
5959
pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0);
6060
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html>"]
61-
pub const HEADER_VERSION: u32 = 255;
61+
pub const HEADER_VERSION: u32 = 257;
6262
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION_COMPLETE.html>"]
6363
pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION);
6464
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]

ash/src/vk/enums.rs

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,53 +2053,6 @@ impl MemoryOverallocationBehaviorAMD {
20532053
}
20542054
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
20552055
#[repr(transparent)]
2056-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkScopeNV.html>"]
2057-
pub struct ScopeNV(pub(crate) i32);
2058-
impl ScopeNV {
2059-
#[inline]
2060-
pub const fn from_raw(x: i32) -> Self {
2061-
Self(x)
2062-
}
2063-
#[inline]
2064-
pub const fn as_raw(self) -> i32 {
2065-
self.0
2066-
}
2067-
}
2068-
impl ScopeNV {
2069-
pub const DEVICE: Self = Self(1);
2070-
pub const WORKGROUP: Self = Self(2);
2071-
pub const SUBGROUP: Self = Self(3);
2072-
pub const QUEUE_FAMILY: Self = Self(5);
2073-
}
2074-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
2075-
#[repr(transparent)]
2076-
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkComponentTypeNV.html>"]
2077-
pub struct ComponentTypeNV(pub(crate) i32);
2078-
impl ComponentTypeNV {
2079-
#[inline]
2080-
pub const fn from_raw(x: i32) -> Self {
2081-
Self(x)
2082-
}
2083-
#[inline]
2084-
pub const fn as_raw(self) -> i32 {
2085-
self.0
2086-
}
2087-
}
2088-
impl ComponentTypeNV {
2089-
pub const FLOAT16: Self = Self(0);
2090-
pub const FLOAT32: Self = Self(1);
2091-
pub const FLOAT64: Self = Self(2);
2092-
pub const SINT8: Self = Self(3);
2093-
pub const SINT16: Self = Self(4);
2094-
pub const SINT32: Self = Self(5);
2095-
pub const SINT64: Self = Self(6);
2096-
pub const UINT8: Self = Self(7);
2097-
pub const UINT16: Self = Self(8);
2098-
pub const UINT32: Self = Self(9);
2099-
pub const UINT64: Self = Self(10);
2100-
}
2101-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
2102-
#[repr(transparent)]
21032056
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkFullScreenExclusiveEXT.html>"]
21042057
pub struct FullScreenExclusiveEXT(pub(crate) i32);
21052058
impl FullScreenExclusiveEXT {

ash/src/vk/extensions.rs

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11561,6 +11561,27 @@ impl NvCooperativeMatrixFn {
1156111561
}
1156211562
}
1156311563
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
11564+
impl ComponentTypeKHR {
11565+
pub const FLOAT16_NV: Self = Self::FLOAT16;
11566+
pub const FLOAT32_NV: Self = Self::FLOAT32;
11567+
pub const FLOAT64_NV: Self = Self::FLOAT64;
11568+
pub const SINT8_NV: Self = Self::SINT8;
11569+
pub const SINT16_NV: Self = Self::SINT16;
11570+
pub const SINT32_NV: Self = Self::SINT32;
11571+
pub const SINT64_NV: Self = Self::SINT64;
11572+
pub const UINT8_NV: Self = Self::UINT8;
11573+
pub const UINT16_NV: Self = Self::UINT16;
11574+
pub const UINT32_NV: Self = Self::UINT32;
11575+
pub const UINT64_NV: Self = Self::UINT64;
11576+
}
11577+
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
11578+
impl ScopeKHR {
11579+
pub const DEVICE_NV: Self = Self::DEVICE;
11580+
pub const WORKGROUP_NV: Self = Self::WORKGROUP;
11581+
pub const SUBGROUP_NV: Self = Self::SUBGROUP;
11582+
pub const QUEUE_FAMILY_NV: Self = Self::QUEUE_FAMILY;
11583+
}
11584+
#[doc = "Generated from 'VK_NV_cooperative_matrix'"]
1156411585
impl StructureType {
1156511586
pub const PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: Self = Self(1_000_249_000);
1156611587
pub const COOPERATIVE_MATRIX_PROPERTIES_NV: Self = Self(1_000_249_001);
@@ -15997,7 +16018,7 @@ impl StructureType {
1599716018
impl HuaweiSubpassShadingFn {
1599816019
pub const NAME: &'static ::std::ffi::CStr =
1599916020
unsafe { ::std::ffi::CStr::from_bytes_with_nul_unchecked(b"VK_HUAWEI_subpass_shading\0") };
16000-
pub const SPEC_VERSION: u32 = 2u32;
16021+
pub const SPEC_VERSION: u32 = 3u32;
1600116022
}
1600216023
#[allow(non_camel_case_types)]
1600316024
pub type PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = unsafe extern "system" fn(
@@ -16069,7 +16090,7 @@ impl PipelineBindPoint {
1606916090
}
1607016091
#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"]
1607116092
impl PipelineStageFlags2 {
16072-
pub const SUBPASS_SHADING_HUAWEI: Self =
16093+
pub const SUBPASS_SHADER_HUAWEI: Self =
1607316094
Self(0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000);
1607416095
}
1607516096
#[doc = "Generated from 'VK_HUAWEI_subpass_shading'"]

generator/Vulkan-Headers

Submodule Vulkan-Headers updated 43 files

0 commit comments

Comments
 (0)