From 0689a0f0f36dc69fec91a0248f1f219b2e600c98 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 10 Oct 2015 09:31:03 -0700 Subject: [PATCH] anv/device: Return VK_SUCCESS after setting pCount in QueueFamilyProperties --- src/vulkan/anv_device.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2