The buffer A needs to be large enough to fit the largest case when
using the smallest type, which is an array of uint8_t to cover an
array of 4 struct {dvec4, dvec4}. Update the buffer size to properly
cover the entire array.
Component: Vulkan
VK-GL-CTS Issue: 2524
Affected tests:
- dEQP-VK.compute.workgroup_memory_explicit_layout.zero.*
Change-Id: I098b037314fb87fbe03769a0a4fe79edcf46143e
// Large enough to cover the largest B block even if just 8-bit elements.
// Small enough to fit in the minimum shared memory size limit even if with uvec4.
- src << "shared A { " << getDataTypeName(m_caseDef.zeroElementType) << " arr[128]; } zero;\n";
+ src << "shared A { " << getDataTypeName(m_caseDef.zeroElementType) << " arr[256]; } zero;\n";
src << "struct st {\n"
<< " " << getDataTypeName(m_caseDef.fieldType[0]) << " x;\n";