Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.299
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Oct 22, 2024
1 parent c990b2f commit 7485707
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 98 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.298 (#910, #951)
- Update Vulkan-Headers to 1.3.299 (#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.298"
version = "0.38.0+1.3.299"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
Expand Down
88 changes: 44 additions & 44 deletions ash/src/extensions_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ pub mod amd {
#[doc = "Raw VK_AMD_buffer_marker device-level function pointers"]
pub struct DeviceFn {
pub cmd_write_buffer_marker_amd: PFN_vkCmdWriteBufferMarkerAMD,
pub cmd_write_buffer_marker2_amd: PFN_vkCmdWriteBufferMarker2AMD,
}
unsafe impl Send for DeviceFn {}
unsafe impl Sync for DeviceFn {}
Expand Down Expand Up @@ -327,6 +328,28 @@ pub mod amd {
::core::mem::transmute(val)
}
},
cmd_write_buffer_marker2_amd: unsafe {
unsafe extern "system" fn cmd_write_buffer_marker2_amd(
_command_buffer: CommandBuffer,
_stage: PipelineStageFlags2,
_dst_buffer: Buffer,
_dst_offset: DeviceSize,
_marker: u32,
) {
panic!(concat!(
"Unable to load ",
stringify!(cmd_write_buffer_marker2_amd)
))
}
let cname =
CStr::from_bytes_with_nul_unchecked(b"vkCmdWriteBufferMarker2AMD\0");
let val = _f(cname);
if val.is_null() {
cmd_write_buffer_marker2_amd
} else {
::core::mem::transmute(val)
}
},
}
}
}
Expand Down Expand Up @@ -16211,8 +16234,6 @@ pub mod khr {
pub cmd_pipeline_barrier2_khr: PFN_vkCmdPipelineBarrier2,
pub cmd_write_timestamp2_khr: PFN_vkCmdWriteTimestamp2,
pub queue_submit2_khr: PFN_vkQueueSubmit2,
pub cmd_write_buffer_marker2_amd: PFN_vkCmdWriteBufferMarker2AMD,
pub get_queue_checkpoint_data2_nv: PFN_vkGetQueueCheckpointData2NV,
}
unsafe impl Send for DeviceFn {}
unsafe impl Sync for DeviceFn {}
Expand Down Expand Up @@ -16328,48 +16349,6 @@ pub mod khr {
::core::mem::transmute(val)
}
},
cmd_write_buffer_marker2_amd: unsafe {
unsafe extern "system" fn cmd_write_buffer_marker2_amd(
_command_buffer: CommandBuffer,
_stage: PipelineStageFlags2,
_dst_buffer: Buffer,
_dst_offset: DeviceSize,
_marker: u32,
) {
panic!(concat!(
"Unable to load ",
stringify!(cmd_write_buffer_marker2_amd)
))
}
let cname =
CStr::from_bytes_with_nul_unchecked(b"vkCmdWriteBufferMarker2AMD\0");
let val = _f(cname);
if val.is_null() {
cmd_write_buffer_marker2_amd
} else {
::core::mem::transmute(val)
}
},
get_queue_checkpoint_data2_nv: unsafe {
unsafe extern "system" fn get_queue_checkpoint_data2_nv(
_queue: Queue,
_p_checkpoint_data_count: *mut u32,
_p_checkpoint_data: *mut CheckpointData2NV<'_>,
) {
panic!(concat!(
"Unable to load ",
stringify!(get_queue_checkpoint_data2_nv)
))
}
let cname =
CStr::from_bytes_with_nul_unchecked(b"vkGetQueueCheckpointData2NV\0");
let val = _f(cname);
if val.is_null() {
get_queue_checkpoint_data2_nv
} else {
::core::mem::transmute(val)
}
},
}
}
}
Expand Down Expand Up @@ -18862,6 +18841,7 @@ pub mod nv {
pub struct DeviceFn {
pub cmd_set_checkpoint_nv: PFN_vkCmdSetCheckpointNV,
pub get_queue_checkpoint_data_nv: PFN_vkGetQueueCheckpointDataNV,
pub get_queue_checkpoint_data2_nv: PFN_vkGetQueueCheckpointData2NV,
}
unsafe impl Send for DeviceFn {}
unsafe impl Sync for DeviceFn {}
Expand Down Expand Up @@ -18909,6 +18889,26 @@ pub mod nv {
::core::mem::transmute(val)
}
},
get_queue_checkpoint_data2_nv: unsafe {
unsafe extern "system" fn get_queue_checkpoint_data2_nv(
_queue: Queue,
_p_checkpoint_data_count: *mut u32,
_p_checkpoint_data: *mut CheckpointData2NV<'_>,
) {
panic!(concat!(
"Unable to load ",
stringify!(get_queue_checkpoint_data2_nv)
))
}
let cname =
CStr::from_bytes_with_nul_unchecked(b"vkGetQueueCheckpointData2NV\0");
let val = _f(cname);
if val.is_null() {
get_queue_checkpoint_data2_nv
} else {
::core::mem::transmute(val)
}
},
}
}
}
Expand Down
44 changes: 22 additions & 22 deletions ash/src/vk/const_debugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3730,14 +3730,6 @@ impl fmt::Debug for PipelineCreateFlags {
"ALLOW_DERIVATIVES",
),
(PipelineCreateFlags::DERIVATIVE.0, "DERIVATIVE"),
(
PipelineCreateFlags::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(
PipelineCreateFlags::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT.0,
"RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT",
),
(
PipelineCreateFlags::RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_KHR.0,
"RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_KHR",
Expand Down Expand Up @@ -3767,6 +3759,14 @@ impl fmt::Debug for PipelineCreateFlags {
"RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_KHR",
),
(PipelineCreateFlags::DEFER_COMPILE_NV.0, "DEFER_COMPILE_NV"),
(
PipelineCreateFlags::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT.0,
"RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_EXT",
),
(
PipelineCreateFlags::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR.0,
"RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_KHR",
),
(
PipelineCreateFlags::CAPTURE_STATISTICS_KHR.0,
"CAPTURE_STATISTICS_KHR",
Expand Down Expand Up @@ -5348,16 +5348,6 @@ impl fmt::Debug for StructureType {
Self::TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD => {
Some("TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD")
}
Self::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR => {
Some("RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR")
}
Self::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT => {
Some("RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT")
}
Self::ATTACHMENT_SAMPLE_COUNT_INFO_AMD => Some("ATTACHMENT_SAMPLE_COUNT_INFO_AMD"),
Self::MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX => {
Some("MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX")
}
Self::STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP => {
Some("STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP")
}
Expand Down Expand Up @@ -5439,6 +5429,9 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX => {
Some("PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX")
}
Self::MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX => {
Some("MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX")
}
Self::PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV => {
Some("PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV")
}
Expand Down Expand Up @@ -5540,6 +5533,7 @@ impl fmt::Debug for StructureType {
Self::PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX => {
Some("PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX")
}
Self::ATTACHMENT_SAMPLE_COUNT_INFO_AMD => Some("ATTACHMENT_SAMPLE_COUNT_INFO_AMD"),
Self::SAMPLE_LOCATIONS_INFO_EXT => Some("SAMPLE_LOCATIONS_INFO_EXT"),
Self::RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT => {
Some("RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT")
Expand Down Expand Up @@ -5775,6 +5769,10 @@ impl fmt::Debug for StructureType {
Self::QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV => {
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV")
}
Self::QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV => {
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV")
}
Self::CHECKPOINT_DATA_2_NV => Some("CHECKPOINT_DATA_2_NV"),
Self::PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL => {
Some("PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL")
}
Expand Down Expand Up @@ -5814,6 +5812,9 @@ impl fmt::Debug for StructureType {
Self::RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT => {
Some("RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT")
}
Self::RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT => {
Some("RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT")
}
Self::FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR => {
Some("FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR")
}
Expand All @@ -5829,6 +5830,9 @@ impl fmt::Debug for StructureType {
Self::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR => {
Some("PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR")
}
Self::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR => {
Some("RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR")
}
Self::PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD => {
Some("PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD")
}
Expand Down Expand Up @@ -6112,10 +6116,6 @@ impl fmt::Debug for StructureType {
Self::IMPORT_METAL_IO_SURFACE_INFO_EXT => Some("IMPORT_METAL_IO_SURFACE_INFO_EXT"),
Self::EXPORT_METAL_SHARED_EVENT_INFO_EXT => Some("EXPORT_METAL_SHARED_EVENT_INFO_EXT"),
Self::IMPORT_METAL_SHARED_EVENT_INFO_EXT => Some("IMPORT_METAL_SHARED_EVENT_INFO_EXT"),
Self::QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV => {
Some("QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV")
}
Self::CHECKPOINT_DATA_2_NV => Some("CHECKPOINT_DATA_2_NV"),
Self::PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT => {
Some("PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT")
}
Expand Down
2 changes: 1 addition & 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 = 298;
pub const HEADER_VERSION: u32 = 299;
#[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
Loading

0 comments on commit 7485707

Please sign in to comment.