mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Export a function to get the Vulkan queue from a d3d12 command queue.
This commit is contained in:
@@ -2461,3 +2461,10 @@ HRESULT d3d12_command_queue_create(struct d3d12_device *device,
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
VkQueue vkd3d_get_vk_queue(ID3D12CommandQueue *queue)
|
||||
{
|
||||
struct d3d12_command_queue *d3d12_queue = impl_from_ID3D12CommandQueue(queue);
|
||||
|
||||
return d3d12_queue->vk_queue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user