[PATCH vkd3d 2/7] libs/vkd3d: Get rid of vkd3d_get_vk_queue().

Józef Kucia joseph.kucia at gmail.com
Tue Jan 16 07:02:22 CST 2018


From: Józef Kucia <jkucia at codeweavers.com>

Replaced by vkd3d_acquire_vk_queue().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 include/vkd3d.h      | 1 -
 libs/vkd3d/command.c | 7 -------
 libs/vkd3d/vkd3d.map | 1 -
 3 files changed, 9 deletions(-)

diff --git a/include/vkd3d.h b/include/vkd3d.h
index 322675b9e992..320282b04f41 100644
--- a/include/vkd3d.h
+++ b/include/vkd3d.h
@@ -75,7 +75,6 @@ VkPhysicalDevice vkd3d_get_vk_physical_device(ID3D12Device *device);
 
 uint32_t vkd3d_get_vk_queue_family_index(ID3D12CommandQueue *queue);
 VkQueue vkd3d_acquire_vk_queue(ID3D12CommandQueue *queue);
-VkQueue vkd3d_get_vk_queue(ID3D12CommandQueue *queue);
 void vkd3d_release_vk_queue(ID3D12CommandQueue *queue);
 
 HRESULT vkd3d_serialize_root_signature(const D3D12_ROOT_SIGNATURE_DESC *root_signature_desc,
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index 7aa138672315..3b7d2ee4f086 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -4380,13 +4380,6 @@ 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->vkd3d_queue->vk_queue;
-}
-
 uint32_t vkd3d_get_vk_queue_family_index(ID3D12CommandQueue *queue)
 {
     struct d3d12_command_queue *d3d12_queue = impl_from_ID3D12CommandQueue(queue);
diff --git a/libs/vkd3d/vkd3d.map b/libs/vkd3d/vkd3d.map
index 57b8606e3f6f..0c0d768c5544 100644
--- a/libs/vkd3d/vkd3d.map
+++ b/libs/vkd3d/vkd3d.map
@@ -9,7 +9,6 @@ global:
     vkd3d_get_vk_format;
     vkd3d_get_vk_instance;
     vkd3d_get_vk_physical_device;
-    vkd3d_get_vk_queue;
     vkd3d_get_vk_queue_family_index;
     vkd3d_instance_decref;
     vkd3d_instance_incref;
-- 
2.13.6




More information about the wine-devel mailing list