Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.302
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Nov 21, 2024
1 parent 68fc5ba commit bb37a9a
Show file tree
Hide file tree
Showing 10 changed files with 3,423 additions and 15 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.301 (#910, #951)
- Update Vulkan-Headers to 1.3.302 (#910, #951)
- Added `VK_KHR_get_display_properties2` instance extension (#932)
- Added `VK_EXT_metal_objects` device extension (#942)

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.301"
version = "0.38.0+1.3.302"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
Expand Down
52 changes: 52 additions & 0 deletions ash/src/extensions_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8860,6 +8860,14 @@ pub mod ext {
}
}
}
#[doc = "VK_EXT_vertex_attribute_robustness"]
pub mod vertex_attribute_robustness {
use super::super::*;
pub use {
crate::vk::EXT_VERTEX_ATTRIBUTE_ROBUSTNESS_NAME as NAME,
crate::vk::EXT_VERTEX_ATTRIBUTE_ROBUSTNESS_SPEC_VERSION as SPEC_VERSION,
};
}
}
#[doc = "Extensions tagged FUCHSIA"]
pub mod fuchsia {
Expand Down Expand Up @@ -17138,6 +17146,14 @@ pub mod khr {
crate::vk::KHR_VIDEO_DECODE_AV1_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_KHR_video_encode_av1"]
pub mod video_encode_av1 {
use super::super::*;
pub use {
crate::vk::KHR_VIDEO_ENCODE_AV1_NAME as NAME,
crate::vk::KHR_VIDEO_ENCODE_AV1_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_KHR_video_maintenance1"]
pub mod video_maintenance1 {
use super::super::*;
Expand Down Expand Up @@ -17554,6 +17570,14 @@ pub mod khr {
}
}
}
#[doc = "VK_KHR_video_encode_quantization_map"]
pub mod video_encode_quantization_map {
use super::super::*;
pub use {
crate::vk::KHR_VIDEO_ENCODE_QUANTIZATION_MAP_NAME as NAME,
crate::vk::KHR_VIDEO_ENCODE_QUANTIZATION_MAP_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_KHR_shader_relaxed_extended_instruction"]
pub mod shader_relaxed_extended_instruction {
use super::super::*;
Expand Down Expand Up @@ -20362,6 +20386,14 @@ pub mod nv {
crate::vk::NV_DESCRIPTOR_POOL_OVERALLOCATION_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_NV_display_stereo"]
pub mod display_stereo {
use super::super::*;
pub use {
crate::vk::NV_DISPLAY_STEREO_NAME as NAME,
crate::vk::NV_DISPLAY_STEREO_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_NV_raw_access_chains"]
pub mod raw_access_chains {
use super::super::*;
Expand Down Expand Up @@ -20643,6 +20675,7 @@ pub mod nvx {
#[doc = "Raw VK_NVX_image_view_handle device-level function pointers"]
pub struct DeviceFn {
pub get_image_view_handle_nvx: PFN_vkGetImageViewHandleNVX,
pub get_image_view_handle64_nvx: PFN_vkGetImageViewHandle64NVX,
pub get_image_view_address_nvx: PFN_vkGetImageViewAddressNVX,
}
unsafe impl Send for DeviceFn {}
Expand Down Expand Up @@ -20672,6 +20705,25 @@ pub mod nvx {
::core::mem::transmute(val)
}
},
get_image_view_handle64_nvx: unsafe {
unsafe extern "system" fn get_image_view_handle64_nvx(
_device: crate::vk::Device,
_p_info: *const ImageViewHandleInfoNVX<'_>,
) -> u64 {
panic!(concat!(
"Unable to load ",
stringify!(get_image_view_handle64_nvx)
))
}
let cname =
CStr::from_bytes_with_nul_unchecked(b"vkGetImageViewHandle64NVX\0");
let val = _f(cname);
if val.is_null() {
get_image_view_handle64_nvx
} else {
::core::mem::transmute(val)
}
},
get_image_view_address_nvx: unsafe {
unsafe extern "system" fn get_image_view_address_nvx(
_device: crate::vk::Device,
Expand Down
49 changes: 49 additions & 0 deletions ash/src/vk/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,12 @@ impl VideoSessionCreateFlagsKHR {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoSessionParametersCreateFlagBitsKHR.html>"]
pub struct VideoSessionParametersCreateFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoSessionParametersCreateFlagsKHR, Flags);
impl VideoSessionParametersCreateFlagsKHR {}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoDecodeH264PictureLayoutFlagBitsKHR.html>"]
pub struct VideoDecodeH264PictureLayoutFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoDecodeH264PictureLayoutFlagsKHR, Flags);
Expand Down Expand Up @@ -1599,6 +1605,49 @@ impl VideoEncodeH265TransformBlockSizeFlagsKHR {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1CapabilityFlagBitsKHR.html>"]
pub struct VideoEncodeAV1CapabilityFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeAV1CapabilityFlagsKHR, Flags);
impl VideoEncodeAV1CapabilityFlagsKHR {
pub const PER_RATE_CONTROL_GROUP_MIN_MAX_Q_INDEX: Self = Self(0b1);
pub const GENERATE_OBU_EXTENSION_HEADER: Self = Self(0b10);
pub const PRIMARY_REFERENCE_CDF_ONLY: Self = Self(0b100);
pub const FRAME_SIZE_OVERRIDE: Self = Self(0b1000);
pub const MOTION_VECTOR_SCALING: Self = Self(0b1_0000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1StdFlagBitsKHR.html>"]
pub struct VideoEncodeAV1StdFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeAV1StdFlagsKHR, Flags);
impl VideoEncodeAV1StdFlagsKHR {
pub const UNIFORM_TILE_SPACING_FLAG_SET: Self = Self(0b1);
pub const SKIP_MODE_PRESENT_UNSET: Self = Self(0b10);
pub const PRIMARY_REF_FRAME: Self = Self(0b100);
pub const DELTA_Q: Self = Self(0b1000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1RateControlFlagBitsKHR.html>"]
pub struct VideoEncodeAV1RateControlFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeAV1RateControlFlagsKHR, Flags);
impl VideoEncodeAV1RateControlFlagsKHR {
pub const REGULAR_GOP: Self = Self(0b1);
pub const TEMPORAL_LAYER_PATTERN_DYADIC: Self = Self(0b10);
pub const REFERENCE_PATTERN_FLAT: Self = Self(0b100);
pub const REFERENCE_PATTERN_DYADIC: Self = Self(0b1000);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkVideoEncodeAV1SuperblockSizeFlagBitsKHR.html>"]
pub struct VideoEncodeAV1SuperblockSizeFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(VideoEncodeAV1SuperblockSizeFlagsKHR, Flags);
impl VideoEncodeAV1SuperblockSizeFlagsKHR {
pub const TYPE_64: Self = Self(0b1);
pub const TYPE_128: Self = Self(0b10);
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExportMetalObjectTypeFlagBitsEXT.html>"]
pub struct ExportMetalObjectTypeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(ExportMetalObjectTypeFlagsEXT, Flags);
Expand Down
Loading

0 comments on commit bb37a9a

Please sign in to comment.