fix memory initialization in subgroups
authorDaniel Koch <dkoch@nvidia.com>
Thu, 28 Mar 2019 14:59:02 +0000 (10:59 -0400)
committerDaniel Koch <dkoch@nvidia.com>
Sun, 31 Mar 2019 17:32:43 +0000 (13:32 -0400)
commitac776458ccee6f7c43d72c18972f989e7f4101f4
tree09e1542bf2fb2ae8ed05d3cfebf2fd66d1036735
parentd8be260414640586c32e5167e2575367e983a90e
fix memory initialization in subgroups

Stop allocating 4x extra memory for all buffers, and include the layout
so that the allocator knows when to pad out arrays with extra memory.

Based off Vulkan version of the change: https://gerrit.khronos.org/#/c/3657/

Component: OpenGL
VK-CL-CTS Issue: 1698

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

Change-Id: I0439da6cdf435f44a74c2e8f8b06d5acdf8b7c65
external/openglcts/modules/common/subgroups/glcSubgroupsArithmeticTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsBallotBroadcastTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsBallotTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsBasicTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsClusteredTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsPartitionedTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsQuadTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsShuffleTests.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.cpp
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
external/openglcts/modules/common/subgroups/glcSubgroupsVoteTests.cpp