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:48 +0000 (09:20 -0500)
commite64b33d236f1bcce47e46e42b248164951b916b4
tree1716e22da70e49970cd4bbfae3af3884de33727d
parent224c7221c983ccd2f9a43d79b7eb856eb2162ae6
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
(cherry picked from commit 96ce07e58b7a6ec199c9e4b01de43f5b610a5461)
external/vulkancts/modules/vulkan/robustness/vktRobustBufferAccessWithVariablePointersTests.cpp