Use arrays of pointers with non-identity matrices
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 20 Apr 2021 07:05:03 +0000 (09:05 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 May 2021 06:39:41 +0000 (06:39 +0000)
commit474967ef7139b022afdf4970f77f81052618412e
tree20d047d67f5b75cf6514df3daabaa0cf2d5290d0
parentea6189a7a67eda5577703256368a9c10b957a437
Use arrays of pointers with non-identity matrices

Ray tracing tests were lacking coverage for using non-identity matrices
while instanceData.arrayOfPointers is set to true. This commit modifies
ray direction tests, notable for using non-identity matrices, so every
other case uses arrays of pointers for both instance data and the
ppGeometries build geometry info structure when creating the top level
acceleration structure.

Affected tests:
dEQP-VK.ray_tracing_pipeline.direction_length.*
dEQP-VK.ray_query.direction_length.*

Components: Vulkan
VK-GL-CTS issue: 2881

Change-Id: I6464673a3d62f2b77ae3ad428de09d30be123ea7
external/vulkancts/framework/vulkan/vkRayTracingUtil.cpp
external/vulkancts/framework/vulkan/vkRayTracingUtil.hpp
external/vulkancts/modules/vulkan/ray_query/vktRayQueryDirectionTests.cpp
external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingDirectionTests.cpp