From b1451747b54ccfa0cec13eeb4a4b21d1ec6b364c Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Tue, 21 Aug 2018 21:14:10 -0700 Subject: [PATCH] Expose cmd_copy_query_pool_results --- ash/src/device.rs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ash/src/device.rs b/ash/src/device.rs index 960fe20..e562b0d 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -862,6 +862,29 @@ pub trait DeviceV1_0 { ); } + unsafe fn cmd_copy_query_pool_results( + &self, + command_buffer: vk::CommandBuffer, + query_pool: vk::QueryPool, + first_query: vk::uint32_t, + query_count: vk::uint32_t, + dst_buffer: vk::Buffer, + dst_offset: vk::DeviceSize, + stride: vk::DeviceSize, + flags: vk::QueryResultFlags, + ) { + self.fp_v1_0().cmd_copy_query_pool_results( + command_buffer, + query_pool, + first_query, + query_count, + dst_buffer, + dst_offset, + stride, + flags, + ); + } + unsafe fn cmd_push_constants( &self, command_buffer: vk::CommandBuffer,