From df1c7ca0e5753550e62621dd00d62b5fbc1750c5 Mon Sep 17 00:00:00 2001 From: Rajnesh Kanwal Date: Thu, 10 Mar 2022 13:01:27 +0000 Subject: [PATCH] pvr: Use vk_common_GetDeviceQueue API. Removes pvr_GetDeviceQueue implementation. As we are now using the common vk_queue structure as a base for pvr_queue, we can use vk_common_GetDeviceQueue implementation instead. Signed-off-by: Rajnesh Kanwal Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_device.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 73d4421b7eb..156fbbe0285 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -2134,18 +2134,6 @@ void pvr_GetBufferMemoryRequirements2( ALIGN_POT(buffer->size, buffer->alignment); } -void pvr_GetDeviceQueue(VkDevice _device, - uint32_t queueFamilyIndex, - uint32_t queueIndex, - VkQueue *pQueue) -{ - PVR_FROM_HANDLE(pvr_device, device, _device); - - assert(queueFamilyIndex == 0); - - *pQueue = pvr_queue_to_handle(&device->queues[queueIndex]); -} - void pvr_GetImageMemoryRequirements2(VkDevice _device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements)