Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.296 (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 authored Sep 26, 2024
1 parent 020ef0c commit 38e9df8
Show file tree
Hide file tree
Showing 13 changed files with 3,886 additions and 77 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +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)
- Added `VK_EXT_metal_objects` device extension (#942)

## [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.281"
version = "0.38.0+1.3.296"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
Expand Down
7 changes: 5 additions & 2 deletions ash/src/extensions/khr/dynamic_rendering_local_read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ impl crate::khr::dynamic_rendering_local_read::Device {
pub unsafe fn cmd_set_rendering_input_attachment_indices(
&self,
command_buffer: vk::CommandBuffer,
location_info: &vk::RenderingInputAttachmentIndexInfoKHR<'_>,
input_attachment_index_info: &vk::RenderingInputAttachmentIndexInfoKHR<'_>,
) {
(self.fp.cmd_set_rendering_input_attachment_indices_khr)(command_buffer, location_info)
(self.fp.cmd_set_rendering_input_attachment_indices_khr)(
command_buffer,
input_attachment_index_info,
)
}
}
614 changes: 613 additions & 1 deletion ash/src/extensions_generated.rs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ash/src/vk/aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ pub type PhysicalDeviceVertexAttributeDivisorFeaturesEXT<'a> =
pub type PhysicalDeviceDepthStencilResolvePropertiesKHR<'a> =
PhysicalDeviceDepthStencilResolveProperties<'a>;
pub type SubpassDescriptionDepthStencilResolveKHR<'a> = SubpassDescriptionDepthStencilResolve<'a>;
pub type PhysicalDeviceComputeShaderDerivativesFeaturesNV<'a> =
PhysicalDeviceComputeShaderDerivativesFeaturesKHR<'a>;
pub type PhysicalDeviceFragmentShaderBarycentricFeaturesNV<'a> =
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>;
pub type ImageStencilUsageCreateInfoEXT<'a> = ImageStencilUsageCreateInfo<'a>;
Expand Down
24 changes: 24 additions & 0 deletions ash/src/vk/bitflags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,24 @@ impl MicromapCreateFlagsEXT {
}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkIndirectCommandsLayoutUsageFlagBitsEXT.html>"]
pub struct IndirectCommandsLayoutUsageFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(IndirectCommandsLayoutUsageFlagsEXT, Flags);
impl IndirectCommandsLayoutUsageFlagsEXT {
pub const EXPLICIT_PREPROCESS: Self = Self(0b1);
pub const UNORDERED_SEQUENCES: 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/VkIndirectCommandsInputModeFlagBitsEXT.html>"]
pub struct IndirectCommandsInputModeFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(IndirectCommandsInputModeFlagsEXT, Flags);
impl IndirectCommandsInputModeFlagsEXT {
pub const VULKAN_INDEX_BUFFER: Self = Self(0b1);
pub const DXGI_INDEX_BUFFER: 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/VkShaderCreateFlagBitsEXT.html>"]
pub struct ShaderCreateFlagsEXT(pub(crate) Flags);
vk_bitflags_wrapped!(ShaderCreateFlagsEXT, Flags);
Expand All @@ -1736,3 +1754,9 @@ impl ShaderCreateFlagsEXT {
pub struct MemoryUnmapFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(MemoryUnmapFlagsKHR, Flags);
impl MemoryUnmapFlagsKHR {}
#[repr(transparent)]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = "<https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkWaylandSurfaceCreateFlagBitsKHR.html>"]
pub struct WaylandSurfaceCreateFlagsKHR(pub(crate) Flags);
vk_bitflags_wrapped!(WaylandSurfaceCreateFlagsKHR, Flags);
impl WaylandSurfaceCreateFlagsKHR {}
Loading

0 comments on commit 38e9df8

Please sign in to comment.