Fix memory allocation size in subgroups tests
authorCarl Ritson <carl.ritson@amd.com>
Mon, 11 Feb 2019 15:28:05 +0000 (15:28 +0000)
committerCarl Ritson <carl.ritson@amd.com>
Mon, 11 Feb 2019 16:21:47 +0000 (16:21 +0000)
commit08f28182e396d3c4021ad201d48c03a3494ec81b
tree741ac99c08d45af63ed3384f188acedd5f6f283d
parentc21a1203ab3f862f2680727e87583ca7ade6c7c3
Fix memory allocation size in subgroups tests

Many subgroups test shaders are executed using std140 memory layout,
meaning a minimum stride of 16-bytes.  The common allocation path
assumes a packed layout and hence does not allocate sufficient buffer
for uint arrays, etc.
This change increases the allocation request size to address the issue.

Affects:
dEQP-VK.subgroups.*

Components: Vulkan

VK-GL-CTS Issue: 1593

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