Check resource limits properly
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 2 Jun 2021 14:41:30 +0000 (16:41 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 10 Jun 2021 09:15:55 +0000 (09:15 +0000)
commit7f2ec8531b6400d1bdf6aa5af6db5cded4a802df
tree08d99e3fefe0d01c974c6a11e28fdebda83bf4c0
parent2363e7a2f2eff615d461416d3811be0c6b253970
Check resource limits properly

The tests were not checking the resource limits per stage when
creating the shaders, which could create potential issues on
some drivers. Specially the random generated tests.

Affected tests:

   dEQP-VK.ssbo.layout.*

Components: Vulkan
VK-GL-CTS issue: 2953

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I7509dce38b849a0dd26f9e47d7f74e637930d897
external/vulkancts/modules/vulkan/ssbo/vktSSBOLayoutCase.cpp
external/vulkancts/modules/vulkan/ssbo/vktSSBOLayoutCase.hpp