Fix validation errors in draw tests
authorPiers Daniell <pdaniell@nvidia.com>
Thu, 14 Jun 2018 19:58:05 +0000 (13:58 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 25 Jun 2018 07:32:14 +0000 (03:32 -0400)
commit2ad3da270c035c302cb70ae3cd5becb94eb0fdaa
tree02203fa40926b83007a0d912655c94623054620c
parent62df522bbfae3feb374474c30a1f72e75afb20a0
Fix validation errors in draw tests

Many of the draw tests were causes validation errors
because the VkMappedMemoryRange.size parameter was not
a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize.

In all cases for these tests the size can be set to
VK_WHOLE_SIZE to avoid the validation error. VK_WHOLE_SIZE
can be used since in all cases the test flush the whole
mapped range.

Affects: dEQP-VK.draw.*

Change-Id: Idfa664ed03a1b0f55b356a443a7bc309ca7fae20
Components: Vulkan
external/vulkancts/modules/vulkan/draw/vktDrawBaseClass.cpp
external/vulkancts/modules/vulkan/draw/vktDrawIndexedTest.cpp
external/vulkancts/modules/vulkan/draw/vktDrawIndirectTest.cpp