radv: return count of queue families written
authorDamien Grassart <damien@grassart.com>
Sat, 24 Dec 2016 23:41:45 +0000 (00:41 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 25 Dec 2016 01:25:02 +0000 (02:25 +0100)
commit3a30b1a556b1ed7dc60befcec16343e80a3bd77e
tree031ddd773528582e11d2e7056623a2130cbc6735
parent88b5acfa09d4efa2aea1fc9cc4f8169a48c40286
radv: 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: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c