/* FIXME: stub */
}
-void
-libresoc_GetDeviceQueue(VkDevice _device,
- uint32_t queueNodeIndex,
- uint32_t queueIndex,
- VkQueue *pQueue)
+void libresoc_GetDeviceQueue(
+ VkDevice _device,
+ uint32_t queueFamilyIndex,
+ uint32_t queueIndex,
+ VkQueue* pQueue)
{
if (getenv("LIBRESOC_TRACE")) {
fprintf(stderr, "GetDeviceQueue called. \n");
}
- /* FIXME: stub */
+ LIBRESOC_FROM_HANDLE(libresoc_device, device, _device);
+ struct libresoc_queue *queue;
+
+ queue = &device->queues[queueFamilyIndex][queueIndex];
+ *pQueue = libresoc_queue_to_handle(queue);
}