Fix buffer alignment in dynamic offset tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 3 Oct 2019 08:51:00 +0000 (10:51 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 10 Oct 2019 09:29:26 +0000 (05:29 -0400)
commitb8fdf7f4f4091d7d7bf70a47de91c38d4118ef0b
tree22c5263c5633f654d0571ea20412840d590c6765
parent66c53cb15b129103f6a4a6d1a6b91bbd2b0fb36d
Fix buffer alignment in dynamic offset tests

The compute dynamic offset tests were using uniform or storage buffers
as input, depending on the test, while always using storage buffers as
output. Alignment requirements, however, were always being taken from
the input buffers, which could be wrong for the output buffer.

Affected tests:
dEQP-VK.pipeline.dynamic_offset.*

Components: Vulkan
VK-GL-CTS issue: 1746

Change-Id: Idb503139a5107959ebdfee27ad36ae86eb306cf7
external/vulkancts/modules/vulkan/pipeline/vktPipelineDynamicOffsetTests.cpp