diff --git a/Changelog.md b/Changelog.md index bfa1c8b9e..ae121795a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update Vulkan-Headers to 1.3.246 (#697, #723) - Added `VK_KHR_performance_query` device extension (#726) - Added `VK_EXT_shader_object` device extension (#732) +- Added missing `Device::get_device_queue2()` wrapper (#736) ### Changed diff --git a/ash/src/device.rs b/ash/src/device.rs index 37f995de2..b8bcff886 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -854,6 +854,14 @@ impl Device { (self.device_fn_1_1.trim_command_pool)(self.handle(), command_pool, flags); } + /// + #[inline] + pub unsafe fn get_device_queue2(&self, queue_info: &vk::DeviceQueueInfo2) -> vk::Queue { + let mut queue = mem::zeroed(); + (self.device_fn_1_1.get_device_queue2)(self.handle(), queue_info, &mut queue); + queue + } + /// #[inline] pub unsafe fn create_sampler_ycbcr_conversion(