mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
anv: return count of queue families written
The Vulkan spec indicates that vkGetPhysicalDeviceQueueFamilyProperties() should overwrite pQueueFamilyPropertyCount with the number of structures actually written to pQueueFamilyProperties. Signed-off-by: Damien Grassart <damien@grassart.com> Reviewed-by: Chad Versace <chadversary@chromium.org> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
e2d69d5e2d
commit
75252826e8
1 changed files with 2 additions and 0 deletions
|
|
@ -656,6 +656,8 @@ void anv_GetPhysicalDeviceQueueFamilyProperties(
|
|||
.timestampValidBits = 36, /* XXX: Real value here */
|
||||
.minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
|
||||
};
|
||||
|
||||
*pCount = 1;
|
||||
}
|
||||
|
||||
void anv_GetPhysicalDeviceMemoryProperties(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue