anv: return count of queue families written
authorDamien Grassart <damien@grassart.com>
Sun, 25 Dec 2016 00:00:58 +0000 (01:00 +0100)
committerChad Versace <chadversary@chromium.org>
Tue, 27 Dec 2016 18:15:47 +0000 (10:15 -0800)
commit75252826e82ffa9c091ebe5bcf303c9d7569c3a3
tree898db88546a8eb0132de727e67262ef2c2abab27
parente2d69d5e2da0208b7e66c342fbe5323161df2e51
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
src/intel/vulkan/anv_device.c