Re: [Mesa-dev] [PATCH] anv: Handle vkGetPhysicalDeviceQueueFamilyProperties with count == 0

2016-12-27 Thread Anuj Phogat
On Tue, Dec 27, 2016 at 10:30 AM, Chad Versace wrote: > > The spec implicitly allows the incoming count to be 0. From the Vulkan > 1.0.38 spec, Section 4.1 Physical Devices: > > If the value referenced by pQueueFamilyPropertyCount is not 0 [then > do stuff]. > >

[Mesa-dev] [PATCH] anv: Handle vkGetPhysicalDeviceQueueFamilyProperties with count == 0

2016-12-27 Thread Chad Versace
The spec implicitly allows the incoming count to be 0. From the Vulkan 1.0.38 spec, Section 4.1 Physical Devices: If the value referenced by pQueueFamilyPropertyCount is not 0 [then do stuff]. Cc: Damien Grassart --- src/intel/vulkan/anv_device.c | 9 - 1