From: Jason Ekstrand Date: Sat, 10 Oct 2015 16:31:03 +0000 (-0700) Subject: anv/device: Return VK_SUCCESS after setting pCount in QueueFamilyProperties X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0689a0f0f36dc69fec91a0248f1f219b2e600c98;p=mesa.git anv/device: Return VK_SUCCESS after setting pCount in QueueFamilyProperties --- 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);