Fix buffer size in manual zeroing Workgroup aliased memory
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 29 Jan 2021 04:33:37 +0000 (20:33 -0800)
committerAlexander Galazin <alexander.galazin@arm.com>
Mon, 15 Feb 2021 13:46:11 +0000 (14:46 +0100)
commit821bc913dd6639f914a0f5a3506a085c6498765b
treecbbe458a73d91c68ca95766fef56882f08d5c521
parentb5baeb54acf5015b0e68a480b272e28794df1f55
Fix buffer size in manual zeroing Workgroup aliased memory

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
external/vulkancts/modules/vulkan/compute/vktComputeWorkgroupMemoryExplicitLayoutTests.cpp