anv: Implement GetDeviceQueue2
This belongs to the protected memory feature but there's nothing about it that's specific to protected memory. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
@@ -1740,6 +1740,18 @@ void anv_GetDeviceQueue(
|
|||||||
*pQueue = anv_queue_to_handle(&device->queue);
|
*pQueue = anv_queue_to_handle(&device->queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void anv_GetDeviceQueue2(
|
||||||
|
VkDevice _device,
|
||||||
|
const VkDeviceQueueInfo2* pQueueInfo,
|
||||||
|
VkQueue* pQueue)
|
||||||
|
{
|
||||||
|
ANV_FROM_HANDLE(anv_device, device, _device);
|
||||||
|
|
||||||
|
assert(pQueueInfo->queueIndex == 0);
|
||||||
|
|
||||||
|
*pQueue = anv_queue_to_handle(&device->queue);
|
||||||
|
}
|
||||||
|
|
||||||
VkResult
|
VkResult
|
||||||
anv_device_query_status(struct anv_device *device)
|
anv_device_query_status(struct anv_device *device)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user