Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.297
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Oct 4, 2024
1 parent 5916329 commit 19a25b9
Show file tree
Hide file tree
Showing 7 changed files with 68 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.296 (#910)
- Update Vulkan-Headers to 1.3.297 (#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.296"
version = "0.38.0+1.3.297"
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 @@ -5502,6 +5502,14 @@ pub mod ext {
crate::vk::EXT_PRIMITIVE_TOPOLOGY_LIST_RESTART_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_EXT_present_mode_fifo_latest_ready"]
pub mod present_mode_fifo_latest_ready {
use super::super::*;
pub use {
crate::vk::EXT_PRESENT_MODE_FIFO_LATEST_READY_NAME as NAME,
crate::vk::EXT_PRESENT_MODE_FIFO_LATEST_READY_SPEC_VERSION as SPEC_VERSION,
};
}
#[doc = "VK_EXT_pipeline_properties"]
pub mod pipeline_properties {
use super::super::*;
Expand Down
4 changes: 4 additions & 0 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4359,6 +4359,7 @@ impl fmt::Debug for PresentModeKHR {
Self::FIFO_RELAXED => Some("FIFO_RELAXED"),
Self::SHARED_DEMAND_REFRESH => Some("SHARED_DEMAND_REFRESH"),
Self::SHARED_CONTINUOUS_REFRESH => Some("SHARED_CONTINUOUS_REFRESH"),
Self::FIFO_LATEST_READY_EXT => Some("FIFO_LATEST_READY_EXT"),
_ => None,
};
if let Some(x) = name {
Expand Down Expand Up @@ -6245,6 +6246,9 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT")
}
Self::PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT => {
Some("PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT")
}
Self::IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA => {
Some("IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA")
}
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 = 296;
pub const HEADER_VERSION: u32 = 297;
#[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 @@ -59889,6 +59889,46 @@ impl<'a> PhysicalDeviceShaderReplicatedCompositesFeaturesEXT<'a> {
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT.html>"]
#[must_use]
pub struct PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_mode_fifo_latest_ready: Bool32,
pub _marker: PhantomData<&'a ()>,
}
unsafe impl Send for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'_> {}
unsafe impl Sync for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'_> {}
impl ::core::default::Default for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'_> {
#[inline]
fn default() -> Self {
Self {
s_type: Self::STRUCTURE_TYPE,
p_next: ::core::ptr::null_mut(),
present_mode_fifo_latest_ready: Bool32::default(),
_marker: PhantomData,
}
}
}
unsafe impl<'a> TaggedStructure for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'a> {
const STRUCTURE_TYPE: StructureType =
StructureType::PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT;
}
unsafe impl ExtendsPhysicalDeviceFeatures2
for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'_>
{
}
unsafe impl ExtendsDeviceCreateInfo for PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'_> {}
impl<'a> PhysicalDevicePresentModeFifoLatestReadyFeaturesEXT<'a> {
#[inline]
pub fn present_mode_fifo_latest_ready(mut self, present_mode_fifo_latest_ready: bool) -> Self {
self.present_mode_fifo_latest_ready = present_mode_fifo_latest_ready.into();
self
}
}
#[repr(C)]
#[cfg_attr(feature = "debug", derive(Debug))]
#[derive(Copy, Clone, Default)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDepthClampRangeEXT.html>"]
#[must_use]
Expand Down
12 changes: 12 additions & 0 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2983,6 +2983,15 @@ impl StructureType {
impl StructureType {
pub const FORMAT_PROPERTIES_3_KHR: Self = Self::FORMAT_PROPERTIES_3;
}
#[doc = "Generated from 'VK_EXT_present_mode_fifo_latest_ready'"]
impl PresentModeKHR {
pub const FIFO_LATEST_READY_EXT: Self = Self(1_000_361_000);
}
#[doc = "Generated from 'VK_EXT_present_mode_fifo_latest_ready'"]
impl StructureType {
pub const PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT: Self =
Self(1_000_361_000);
}
#[doc = "Generated from 'VK_FUCHSIA_external_memory'"]
impl ExternalMemoryHandleTypeFlags {
pub const ZIRCON_VMO_FUCHSIA: Self = Self(0b1000_0000_0000);
Expand Down Expand Up @@ -7117,6 +7126,9 @@ pub const EXT_PRIMITIVE_TOPOLOGY_LIST_RESTART_SPEC_VERSION: u32 = 1u32;
pub const KHR_FORMAT_FEATURE_FLAGS2_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_KHR_format_feature_flags2\0") };
pub const KHR_FORMAT_FEATURE_FLAGS2_SPEC_VERSION: u32 = 2u32;
pub const EXT_PRESENT_MODE_FIFO_LATEST_READY_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_EXT_present_mode_fifo_latest_ready\0") };
pub const EXT_PRESENT_MODE_FIFO_LATEST_READY_SPEC_VERSION: u32 = 1u32;
pub const FUCHSIA_EXTERNAL_MEMORY_NAME: &CStr =
unsafe { CStr::from_bytes_with_nul_unchecked(b"VK_FUCHSIA_external_memory\0") };
pub const FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION: u32 = 1u32;
Expand Down

0 comments on commit 19a25b9

Please sign in to comment.