Check if buffer size is multiple of nonCoherentAtomSize
authorziga-lunarg <ziga@lunarg.com>
Mon, 19 Sep 2022 23:15:07 +0000 (01:15 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Wed, 12 Oct 2022 18:05:24 +0000 (18:05 +0000)
commit2df7d386d30ca8d9359536d9379a6333456d34c2
tree39bb843c9e02b5d7dd6417bef4823a1fce86a21d
parentbba15a5841e3a9db43dadc36ad5c3003fcd4c66b
Check if buffer size is multiple of nonCoherentAtomSize

When flushing memory range, if VK_WHOLE_SIZE is used, size must be a
multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize

Components: Vulkan

VK-GL-CTS issue: 3972

Affected tests:
dEQP-VK.memory.binding.*

Change-Id: If66e593f88af00450a55dfacc988df93ef6991eb
external/vulkancts/modules/vulkan/memory/vktMemoryBindingTests.cpp