v3dv: implement vkGetDeviceQueue

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga 2019-12-02 09:49:50 +01:00 committed by Marge Bot
parent 41a5719927
commit 8d9772f6a7

View file

@ -934,11 +934,16 @@ v3dv_DestroyDevice(VkDevice _device,
void
v3dv_GetDeviceQueue(VkDevice _device,
uint32_t queueNodeIndex,
uint32_t queueFamilyIndex,
uint32_t queueIndex,
VkQueue *pQueue)
{
/* FIXME: stub */
V3DV_FROM_HANDLE(v3dv_device, device, _device);
assert(queueIndex == 0);
assert(queueFamilyIndex == 0);
*pQueue = v3dv_queue_to_handle(&device->queue);
}
VkResult