Update AccessInstance::verifyResult() to support 64-bit types
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 25 Nov 2020 21:53:32 +0000 (14:53 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 27 Nov 2020 14:20:21 +0000 (09:20 -0500)
commit96ce07e58b7a6ec199c9e4b01de43f5b610a5461
tree5b6b6fdf5f261de24b7abf72a44146703f5f2179
parent7494850d4fd1e4056d7d9f2e9abbafb749e2dbee
Update AccessInstance::verifyResult() to support 64-bit types

When 64-bit support was added to the
dEQP-VK.robustness.buffer_access.through_pointers.* tests in
https://gerrit.khronos.org/#/c/5835/ the AccessInstance::verifyResult()
function was not updated to take the new 8 byte element sizes.
It assumed all accesses were in units of 4 bytes, which doesn't
work for 64-bit types which have accesses in units of 8 bytes.

Affects:

dEQP-VK.robustness.buffer_access.through_pointers.*

Components: Vulkan

VK-GL-CTS issue: 2670

Change-Id: I4656376f127bc4cf6eeaa80ed71aaa3f265e0aac
external/vulkancts/modules/vulkan/robustness/vktRobustBufferAccessWithVariablePointersTests.cpp