mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-12 12:10:25 +01:00
anv: allow device creation with no queue
Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35381>
This commit is contained in:
parent
1d8382b88e
commit
884df891d7
1 changed files with 0 additions and 1 deletions
|
|
@ -323,7 +323,6 @@ VkResult anv_CreateDevice(
|
|||
/* Check requested queues and fail if we are requested to create any
|
||||
* queues with flags we don't support.
|
||||
*/
|
||||
assert(pCreateInfo->queueCreateInfoCount > 0);
|
||||
for (uint32_t i = 0; i < pCreateInfo->queueCreateInfoCount; i++) {
|
||||
if (pCreateInfo->pQueueCreateInfos[i].flags & ~VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT)
|
||||
return vk_error(physical_device, VK_ERROR_INITIALIZATION_FAILED);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue