anv/device: Return VK_SUCCESS after setting pCount in QueueFamilyProperties

This commit is contained in:
Jason Ekstrand 2015-10-10 09:31:03 -07:00
parent fc2a66cfcd
commit 0689a0f0f3

View file

@ -464,6 +464,7 @@ VkResult anv_GetPhysicalDeviceQueueFamilyProperties(
{
if (pQueueFamilyProperties == NULL) {
*pCount = 1;
return VK_SUCCESS;
}
assert(*pCount >= 1);