wgpu
wgpu copied to clipboard
Expose the vk::Queue in the Vulkan hal
Connections
Followup to #2667.
Description
Allows users of wgpu to access vk::Queue using a simple accessor in the Vulkan backend.
Would it be useful to also expose the vk::Queue on the Vulkan hal's Queue type?
Would it be useful to also expose the vk::Queue on the Vulkan hal's
Queuetype?
I have looked into that, but I couldn't find a way to access the wgpu_hal::Queue from the wgpu::Queue, so it was kinda pointless. The wgpu::Queue only has a QueueId, which is a key in a hash table for looking up the device (at least that's what I understood from the code).
Would it be useful to also expose the vk::Queue on the Vulkan hal's
Queuetype?I have looked into that, but I couldn't find a way to access the
wgpu_hal::Queuefrom thewgpu::Queue, so it was kinda pointless. Thewgpu::Queueonly has aQueueId, which is a key in a hash table for looking up the device (at least that's what I understood from the code).
ah okay so it doesn't make sense to expose then