mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +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
(cherry picked from commit 75252826e8)
This commit is contained in:
parent
dcf5c05499
commit
23ecfe8f09
1 changed files with 2 additions and 0 deletions
|
|
@ -626,6 +626,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