Reduce number of created pipelines in compute subgroups tests
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 26 Sep 2019 13:41:43 +0000 (15:41 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 18 Oct 2019 10:01:40 +0000 (06:01 -0400)
commit0781a3882b858099f46ceac1f0b89f4b9932ba45
treed45c6a1a2b01e5601d0812d6fe33a89015217fe3
parent31bb6b2a8cb7ca3a3569ebcf3a22128cdf69a9c6
Reduce number of created pipelines in compute subgroups tests

Some drivers are taking too much time to execute compute subgroups
tests, mostly because they need to build N times the same pipeline
where the only difference is the local size values passed via
specialization constants.

As there are drivers that don't take advantage of pipeline derivatives,
reducing the number of pipeline creations helps to reduce execution time.

Affected tests:

   dEQP-VK.subgroups.*compute*

Components: Vulkan
VK-GL-CTS issue: 2019

Change-Id: Ie3ccbc53390bdba691c16d51c173b0a8a16119d9
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp