Skip to content

Commit

Permalink
Add vkGetDeviceQueue2
Browse files Browse the repository at this point in the history
  • Loading branch information
phoekz committed Apr 7, 2023
1 parent 30cb8f1 commit 8cfeacd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ash/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,14 @@ impl Device {
) {
(self.device_fn_1_1.get_descriptor_set_layout_support)(self.handle(), create_info, out);
}

/// <https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkGetDeviceQueue2.html>
#[inline]
pub unsafe fn get_device_queue2(&self, create_info: &vk::DeviceQueueInfo2) -> vk::Queue {
let mut queue = mem::zeroed();
(self.device_fn_1_1.get_device_queue2)(self.handle(), create_info, &mut queue);
queue
}
}

/// Vulkan core 1.0
Expand Down

0 comments on commit 8cfeacd

Please sign in to comment.