Skip to content

Commit

Permalink
Update Vulkan-Headers to 1.3.259
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jul 22, 2023
1 parent fbe9788 commit d7987a2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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.37.0+1.3.258"
version = "0.37.0+1.3.259"
authors = [
"Maik Klein <[email protected]>",
"Benjamin Saunders <[email protected]>",
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://www.khronos.org/registry/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://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_HEADER_VERSION.html>"]
pub const HEADER_VERSION: u32 = 258;
pub const HEADER_VERSION: u32 = 259;
#[doc = "<https://www.khronos.org/registry/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://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSampleMask.html>"]
Expand Down
16 changes: 8 additions & 8 deletions ash/src/vk/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
Expand All @@ -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 {}
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit d7987a2

Please sign in to comment.