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 <rajnesh.kanwal@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15574>
This commit is contained in:
committed by
Marge Bot
parent
a3bdad314e
commit
df1c7ca0e5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user