Fix flush memory range in ssbo corner case tests
authorziga-lunarg <ziga@lunarg.com>
Fri, 14 Oct 2022 22:53:12 +0000 (00:53 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 10 Nov 2022 18:11:43 +0000 (18:11 +0000)
commit01b3c2210fcc79bcb45adfe811f502b3351e5e9d
tree59288ee8a317046c538ce8fecd891d1831a677b3
parent9065d4046b8e62b0291dfb89ea32412fc0d7e89a
Fix flush memory range in ssbo corner case tests

The size in VKMappedMemoryRange used in vkFlushMappedMemoryRanges must
either be a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize or
offset + size must be equal to the size of memory

Components: Vulkan

VK-GL-CTS issue: 4044

Affected tests:
dEQP-VK.ssbo.corner_case.*

Change-Id: I9ea2ee1e055b55ec39988a6ec0539cd3219937f4
external/vulkancts/modules/vulkan/ssbo/vktSSBOCornerCase.cpp