diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index c56704ea9f1..89cd184a98e 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -464,6 +464,7 @@ VkResult anv_GetPhysicalDeviceQueueFamilyProperties( { if (pQueueFamilyProperties == NULL) { *pCount = 1; + return VK_SUCCESS; } assert(*pCount >= 1);