From d7987a252eb6bf8a0e5b7e83d9b5a053dd65f05b Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sat, 22 Jul 2023 20:18:40 +0200 Subject: [PATCH] Update Vulkan-Headers to 1.3.259 --- Changelog.md | 2 +- ash/Cargo.toml | 2 +- ash/src/vk/definitions.rs | 2 +- ash/src/vk/extensions.rs | 16 ++++++++-------- generator/Vulkan-Headers | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Changelog.md b/Changelog.md index 718494ab4..980ddb88c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added `Handle::is_null()` to allow checking if a handle is a `NULL` value (#694) - Allow building `Entry`/`Instance`/`Device` from handle+fns (see their `from_parts_1_x()` associated functions) (#748) -- Update Vulkan-Headers to 1.3.258 (#760, #763) +- Update Vulkan-Headers to 1.3.259 (#760, #763) - Added `VK_NV_memory_decompression` device extension (#761) - Added `VK_GOOGLE_display_timing` device extension (#765) - Added `VK_ANDROID_external_memory_android_hardware_buffer` device extension (#769) diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 088caeec1..cf6ff04e0 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ash" -version = "0.37.0+1.3.258" +version = "0.37.0+1.3.259" authors = [ "Maik Klein ", "Benjamin Saunders ", diff --git a/ash/src/vk/definitions.rs b/ash/src/vk/definitions.rs index 5e11514b0..cd4c78673 100644 --- a/ash/src/vk/definitions.rs +++ b/ash/src/vk/definitions.rs @@ -58,7 +58,7 @@ pub const API_VERSION_1_2: u32 = make_api_version(0, 1, 2, 0); #[doc = ""] pub const API_VERSION_1_3: u32 = make_api_version(0, 1, 3, 0); #[doc = ""] -pub const HEADER_VERSION: u32 = 258; +pub const HEADER_VERSION: u32 = 259; #[doc = ""] pub const HEADER_VERSION_COMPLETE: u32 = make_api_version(0, 1, 3, HEADER_VERSION); #[doc = ""] diff --git a/ash/src/vk/extensions.rs b/ash/src/vk/extensions.rs index fba3675ad..3e334b5bf 100644 --- a/ash/src/vk/extensions.rs +++ b/ash/src/vk/extensions.rs @@ -18104,7 +18104,7 @@ impl NvDeviceGeneratedCommandsComputeFn { b"VK_NV_device_generated_commands_compute\0", ) }; - pub const SPEC_VERSION: u32 = 1u32; + pub const SPEC_VERSION: u32 = 2u32; } #[allow(non_camel_case_types)] pub type PFN_vkGetPipelineIndirectMemoryRequirementsNV = unsafe extern "system" fn( @@ -18113,7 +18113,7 @@ pub type PFN_vkGetPipelineIndirectMemoryRequirementsNV = unsafe extern "system" p_memory_requirements: *mut MemoryRequirements2, ); #[allow(non_camel_case_types)] -pub type PFN_vkCmdUpdatePipelineIndirectBuffer = unsafe extern "system" fn( +pub type PFN_vkCmdUpdatePipelineIndirectBufferNV = unsafe extern "system" fn( command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, @@ -18126,7 +18126,7 @@ pub type PFN_vkGetPipelineIndirectDeviceAddressNV = unsafe extern "system" fn( #[derive(Clone)] pub struct NvDeviceGeneratedCommandsComputeFn { pub get_pipeline_indirect_memory_requirements_nv: PFN_vkGetPipelineIndirectMemoryRequirementsNV, - pub cmd_update_pipeline_indirect_buffer: PFN_vkCmdUpdatePipelineIndirectBuffer, + pub cmd_update_pipeline_indirect_buffer_nv: PFN_vkCmdUpdatePipelineIndirectBufferNV, pub get_pipeline_indirect_device_address_nv: PFN_vkGetPipelineIndirectDeviceAddressNV, } unsafe impl Send for NvDeviceGeneratedCommandsComputeFn {} @@ -18158,23 +18158,23 @@ impl NvDeviceGeneratedCommandsComputeFn { ::std::mem::transmute(val) } }, - cmd_update_pipeline_indirect_buffer: unsafe { - unsafe extern "system" fn cmd_update_pipeline_indirect_buffer( + cmd_update_pipeline_indirect_buffer_nv: unsafe { + unsafe extern "system" fn cmd_update_pipeline_indirect_buffer_nv( _command_buffer: CommandBuffer, _pipeline_bind_point: PipelineBindPoint, _pipeline: Pipeline, ) { panic!(concat!( "Unable to load ", - stringify!(cmd_update_pipeline_indirect_buffer) + stringify!(cmd_update_pipeline_indirect_buffer_nv) )) } let cname = ::std::ffi::CStr::from_bytes_with_nul_unchecked( - b"vkCmdUpdatePipelineIndirectBuffer\0", + b"vkCmdUpdatePipelineIndirectBufferNV\0", ); let val = _f(cname); if val.is_null() { - cmd_update_pipeline_indirect_buffer + cmd_update_pipeline_indirect_buffer_nv } else { ::std::mem::transmute(val) } diff --git a/generator/Vulkan-Headers b/generator/Vulkan-Headers index 9c37439a7..cb7b123f2 160000 --- a/generator/Vulkan-Headers +++ b/generator/Vulkan-Headers @@ -1 +1 @@ -Subproject commit 9c37439a7952c204150863fc35569dd864dbd599 +Subproject commit cb7b123f2ddc04b86fd106c3a2b2e9872e8215b5