v3dv: Use the common GetDeviceQueue implementation
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 23 Sep 2021 17:45:28 +0000 (12:45 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Sep 2021 21:08:26 +0000 (21:08 +0000)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13003>

src/broadcom/vulkan/v3dv_device.c

index 190e712..2f2f3f7 100644 (file)
@@ -1861,20 +1861,6 @@ v3dv_DestroyDevice(VkDevice _device,
    vk_free2(&device->vk.alloc, pAllocator, device);
 }
 
-VKAPI_ATTR void VKAPI_CALL
-v3dv_GetDeviceQueue(VkDevice _device,
-                    uint32_t queueFamilyIndex,
-                    uint32_t queueIndex,
-                    VkQueue *pQueue)
-{
-   V3DV_FROM_HANDLE(v3dv_device, device, _device);
-
-   assert(queueIndex == 0);
-   assert(queueFamilyIndex == 0);
-
-   *pQueue = v3dv_queue_to_handle(&device->queue);
-}
-
 VKAPI_ATTR VkResult VKAPI_CALL
 v3dv_DeviceWaitIdle(VkDevice _device)
 {