Fix strided device address regions in RT misc tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 11 Nov 2021 17:18:38 +0000 (18:18 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 7 Jan 2022 19:06:24 +0000 (19:06 +0000)
commit9dd616f08a565050ee1057a6ccead4a0125137d2
tree2b412170910cd999b3c5087840d4336820959983
parentd783bd3202519bc4ed23ef4928378b32f414c9c9
Fix strided device address regions in RT misc tests

Some strided device address regions in ray tracing misc tests were being
created with the wrong size, not taking into account some tests were
storing several shader group handles in the binding tables.

In addition, this commit also fixes several validation errors in these
tests, related to bad sizes when flusing allocations and unaligned
strides in strided device address regions, which needed to be rounded
up.

Affected tests:
dEQP-VK.ray_tracing_pipeline.misc.*

Components: Vulkan
VK-GL-CTS issue: 3280

Change-Id: I7d20c347ff44b455547115d1a6b94c5d69a46c2c
external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingMiscTests.cpp