From 884df891d791bd35eb87a3aefbb50a4662be1267 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 4 Jun 2025 15:57:25 +0300 Subject: [PATCH] anv: allow device creation with no queue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: José Roberto de Souza Part-of: --- src/intel/vulkan/anv_device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 237b464501d..b7f33a79933 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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);