anv: fix maxDescriptorSet* limits
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 10 Jan 2018 08:15:50 +0000 (09:15 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 11 Jan 2018 06:00:42 +0000 (07:00 +0100)
commitc0816389c24384abf2571d60d0cb4c23055f3780
tree23d63d1928e3b60faea6cde56f3b2b159d16ccae
parentc797cd605ac9cb42795a40b1967b6dd10184b763
anv: fix maxDescriptorSet* limits

"The maxDescriptorSet* limit is n times the corresponding
maxPerStageDescriptor* limit, where n is the number of shader stages
supported by the VkPhysicalDevice. If all shader stages are supported,
n = 6 (vertex, tessellation control, tessellation evaluation,
geometry, fragment, compute)."

Fixes:

dEQP-VK.api.info.device.properties

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c