mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
anv/device: Return VK_SUCCESS after setting pCount in QueueFamilyProperties
This commit is contained in:
parent
fc2a66cfcd
commit
0689a0f0f3
1 changed files with 1 additions and 0 deletions
|
|
@ -464,6 +464,7 @@ VkResult anv_GetPhysicalDeviceQueueFamilyProperties(
|
|||
{
|
||||
if (pQueueFamilyProperties == NULL) {
|
||||
*pCount = 1;
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
assert(*pCount >= 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue