Performance speedups for subgroup tests
authorDaniel Koch <dkoch@nvidia.com>
Thu, 28 Mar 2019 14:59:02 +0000 (10:59 -0400)
committerDaniel Koch <dkoch@nvidia.com>
Mon, 1 Apr 2019 10:38:11 +0000 (06:38 -0400)
commit5266797ceb4ac7476e31b4f63b194296c4b98956
tree4f3f3d0dfecbcf5529bfdbeff432c312334593f9
parentac776458ccee6f7c43d72c18972f989e7f4101f4
Performance speedups for subgroup tests

Only test every width up to 128 and then only test powers of two.
Move some memory allocations outside of inner loop when they are not
affected by the loop parameters.

Based off of similar pending vulkan changes: https://gerrit.khronos.org/#/c/3651/

Component: OpenGL
VK-GL-CTS Issue: 1698

Affects:
- KHR-Single-GL*.subgroups.*

Change-Id: I57edf28bad6eb4a024cba5cb34d36e11cc7734ce
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.cpp