Skip to content

Commit bb37a9a

Browse files
committed
Update Vulkan-Headers to 1.3.302
1 parent 68fc5ba commit bb37a9a

File tree

10 files changed

+3423
-15
lines changed

10 files changed

+3423
-15
lines changed

Changelog.md

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

1010
### Added
1111

12-
- Update Vulkan-Headers to 1.3.301 (#910, #951)
12+
- Update Vulkan-Headers to 1.3.302 (#910, #951)
1313
- Added `VK_KHR_get_display_properties2` instance extension (#932)
1414
- Added `VK_EXT_metal_objects` device extension (#942)
1515

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.38.0+1.3.301"
3+
version = "0.38.0+1.3.302"
44
authors = [
55
"Maik Klein <[email protected]>",
66
"Benjamin Saunders <[email protected]>",

ash/src/extensions_generated.rs

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8860,6 +8860,14 @@ pub mod ext {
88608860
}
88618861
}
88628862
}
8863+
#[doc = "VK_EXT_vertex_attribute_robustness"]
8864+
pub mod vertex_attribute_robustness {
8865+
use super::super::*;
8866+
pub use {
8867+
crate::vk::EXT_VERTEX_ATTRIBUTE_ROBUSTNESS_NAME as NAME,
8868+
crate::vk::EXT_VERTEX_ATTRIBUTE_ROBUSTNESS_SPEC_VERSION as SPEC_VERSION,
8869+
};
8870+
}
88638871
}
88648872
#[doc = "Extensions tagged FUCHSIA"]
88658873
pub mod fuchsia {
@@ -17138,6 +17146,14 @@ pub mod khr {
1713817146
crate::vk::KHR_VIDEO_DECODE_AV1_SPEC_VERSION as SPEC_VERSION,
1713917147
};
1714017148
}
17149+
#[doc = "VK_KHR_video_encode_av1"]
17150+
pub mod video_encode_av1 {
17151+
use super::super::*;
17152+
pub use {
17153+
crate::vk::KHR_VIDEO_ENCODE_AV1_NAME as NAME,
17154+
crate::vk::KHR_VIDEO_ENCODE_AV1_SPEC_VERSION as SPEC_VERSION,
17155+
};
17156+
}
1714117157
#[doc = "VK_KHR_video_maintenance1"]
1714217158
pub mod video_maintenance1 {
1714317159
use super::super::*;
@@ -17554,6 +17570,14 @@ pub mod khr {
1755417570
}
1755517571
}
1755617572
}
17573+
#[doc = "VK_KHR_video_encode_quantization_map"]
17574+
pub mod video_encode_quantization_map {
17575+
use super::super::*;
17576+
pub use {
17577+
crate::vk::KHR_VIDEO_ENCODE_QUANTIZATION_MAP_NAME as NAME,
17578+
crate::vk::KHR_VIDEO_ENCODE_QUANTIZATION_MAP_SPEC_VERSION as SPEC_VERSION,
17579+
};
17580+
}
1755717581
#[doc = "VK_KHR_shader_relaxed_extended_instruction"]
1755817582
pub mod shader_relaxed_extended_instruction {
1755917583
use super::super::*;
@@ -20362,6 +20386,14 @@ pub mod nv {
2036220386
crate::vk::NV_DESCRIPTOR_POOL_OVERALLOCATION_SPEC_VERSION as SPEC_VERSION,
2036320387
};
2036420388
}
20389+
#[doc = "VK_NV_display_stereo"]
20390+
pub mod display_stereo {
20391+
use super::super::*;
20392+
pub use {
20393+
crate::vk::NV_DISPLAY_STEREO_NAME as NAME,
20394+
crate::vk::NV_DISPLAY_STEREO_SPEC_VERSION as SPEC_VERSION,
20395+
};
20396+
}
2036520397
#[doc = "VK_NV_raw_access_chains"]
2036620398
pub mod raw_access_chains {
2036720399
use super::super::*;
@@ -20643,6 +20675,7 @@ pub mod nvx {
2064320675
#[doc = "Raw VK_NVX_image_view_handle device-level function pointers"]
2064420676
pub struct DeviceFn {
2064520677
pub get_image_view_handle_nvx: PFN_vkGetImageViewHandleNVX,
20678+
pub get_image_view_handle64_nvx: PFN_vkGetImageViewHandle64NVX,
2064620679
pub get_image_view_address_nvx: PFN_vkGetImageViewAddressNVX,
2064720680
}
2064820681
unsafe impl Send for DeviceFn {}
@@ -20672,6 +20705,25 @@ pub mod nvx {
2067220705
::core::mem::transmute(val)
2067320706
}
2067420707
},
20708+
get_image_view_handle64_nvx: unsafe {
20709+
unsafe extern "system" fn get_image_view_handle64_nvx(
20710+
_device: crate::vk::Device,
20711+
_p_info: *const ImageViewHandleInfoNVX<'_>,
20712+
) -> u64 {
20713+
panic!(concat!(
20714+
"Unable to load ",
20715+
stringify!(get_image_view_handle64_nvx)
20716+
))
20717+
}
20718+
let cname =
20719+
CStr::from_bytes_with_nul_unchecked(b"vkGetImageViewHandle64NVX\0");
20720+
let val = _f(cname);
20721+
if val.is_null() {
20722+
get_image_view_handle64_nvx
20723+
} else {
20724+
::core::mem::transmute(val)
20725+
}
20726+
},
2067520727
get_image_view_address_nvx: unsafe {
2067620728
unsafe extern "system" fn get_image_view_address_nvx(
2067720729
_device: crate::vk::Device,

ash/src/vk/bitflags.rs

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,12 @@ impl VideoSessionCreateFlagsKHR {
12591259
}
12601260
#[repr(transparent)]
12611261
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1262+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoSessionParametersCreateFlagBitsKHR.html>"]
1263+
pub struct VideoSessionParametersCreateFlagsKHR(pub(crate) Flags);
1264+
vk_bitflags_wrapped!(VideoSessionParametersCreateFlagsKHR, Flags);
1265+
impl VideoSessionParametersCreateFlagsKHR {}
1266+
#[repr(transparent)]
1267+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
12621268
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264PictureLayoutFlagBitsKHR.html>"]
12631269
pub struct VideoDecodeH264PictureLayoutFlagsKHR(pub(crate) Flags);
12641270
vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsKHR, Flags);
@@ -1599,6 +1605,49 @@ impl VideoEncodeH265TransformBlockSizeFlagsKHR {
15991605
}
16001606
#[repr(transparent)]
16011607
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1608+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1CapabilityFlagBitsKHR.html>"]
1609+
pub struct VideoEncodeAV1CapabilityFlagsKHR(pub(crate) Flags);
1610+
vk_bitflags_wrapped!(VideoEncodeAV1CapabilityFlagsKHR, Flags);
1611+
impl VideoEncodeAV1CapabilityFlagsKHR {
1612+
pub const PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX: Self = Self(0b1);
1613+
pub const GENERATE_OBU_EXTENSION_HEADER: Self = Self(0b10);
1614+
pub const PRIMARY_REFERENCE_CDF_ONLY: Self = Self(0b100);
1615+
pub const FRAME_SIZE_OVERRIDE: Self = Self(0b1000);
1616+
pub const MOTION_VECTOR_SCALING: Self = Self(0b1_0000);
1617+
}
1618+
#[repr(transparent)]
1619+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1620+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1StdFlagBitsKHR.html>"]
1621+
pub struct VideoEncodeAV1StdFlagsKHR(pub(crate) Flags);
1622+
vk_bitflags_wrapped!(VideoEncodeAV1StdFlagsKHR, Flags);
1623+
impl VideoEncodeAV1StdFlagsKHR {
1624+
pub const UNIFORM_TILE_SPACING_FLAG_SET: Self = Self(0b1);
1625+
pub const SKIP_MODE_PRESENT_UNSET: Self = Self(0b10);
1626+
pub const PRIMARY_REF_FRAME: Self = Self(0b100);
1627+
pub const DELTA_Q: Self = Self(0b1000);
1628+
}
1629+
#[repr(transparent)]
1630+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1631+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1RateControlFlagBitsKHR.html>"]
1632+
pub struct VideoEncodeAV1RateControlFlagsKHR(pub(crate) Flags);
1633+
vk_bitflags_wrapped!(VideoEncodeAV1RateControlFlagsKHR, Flags);
1634+
impl VideoEncodeAV1RateControlFlagsKHR {
1635+
pub const REGULAR_GOP: Self = Self(0b1);
1636+
pub const TEMPORAL_LAYER_PATTERN_DYADIC: Self = Self(0b10);
1637+
pub const REFERENCE_PATTERN_FLAT: Self = Self(0b100);
1638+
pub const REFERENCE_PATTERN_DYADIC: Self = Self(0b1000);
1639+
}
1640+
#[repr(transparent)]
1641+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
1642+
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1SuperblockSizeFlagBitsKHR.html>"]
1643+
pub struct VideoEncodeAV1SuperblockSizeFlagsKHR(pub(crate) Flags);
1644+
vk_bitflags_wrapped!(VideoEncodeAV1SuperblockSizeFlagsKHR, Flags);
1645+
impl VideoEncodeAV1SuperblockSizeFlagsKHR {
1646+
pub const TYPE_64: Self = Self(0b1);
1647+
pub const TYPE_128: Self = Self(0b10);
1648+
}
1649+
#[repr(transparent)]
1650+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
16021651
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExportMetalObjectTypeFlagBitsEXT.html>"]
16031652
pub struct ExportMetalObjectTypeFlagsEXT(pub(crate) Flags);
16041653
vk_bitflags_wrapped!(ExportMetalObjectTypeFlagsEXT, Flags);

0 commit comments

Comments
 (0)