From: Samuel Iglesias Gonsálvez Date: Thu, 26 Sep 2019 13:41:43 +0000 (+0200) Subject: Reduce number of created pipelines in compute subgroups tests X-Git-Tag: upstream/1.3.5~1765 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0781a3882b858099f46ceac1f0b89f4b9932ba45;p=platform%2Fupstream%2FVK-GL-CTS.git 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 --- diff --git a/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp b/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp index 96b67f8..d4ed254 100644 --- a/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp +++ b/external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp @@ -3133,23 +3133,16 @@ tcu::TestStatus vkt::subgroups::makeComputeTest( const deUint32 numWorkgroups[3] = {4, 2, 2}; - const deUint32 localSizesToTestCount = 15; + const deUint32 localSizesToTestCount = 8; deUint32 localSizesToTest[localSizesToTestCount][3] = { {1, 1, 1}, - {32, 4, 1}, - {32, 1, 4}, - {1, 32, 4}, - {1, 4, 32}, - {4, 1, 32}, - {4, 32, 1}, {subgroupSize, 1, 1}, {1, subgroupSize, 1}, {1, 1, subgroupSize}, + {32, 4, 1}, + {1, 4, 32}, {3, 5, 7}, - {128, 1, 1}, - {1, 128, 1}, - {1, 1, 64}, {1, 1, 1} // Isn't used, just here to make double buffering checks easier };