Test instance matrix update after command recording
authorRicardo Garcia <rgarcia@igalia.com>
Wed, 9 Jun 2021 07:42:57 +0000 (09:42 +0200)
committerRicardo Garcia <rgarcia@igalia.com>
Wed, 9 Jun 2021 07:42:57 +0000 (09:42 +0200)
commit61817796a5ac8aa38b0e24efa9a9ff7e6844004c
tree7de560cc3fdb19a3d0b498f3f4e273474d411a94
parent933acc67bcdeb0b93d59b509ff08e3b2d12d2ff0
Test instance matrix update after command recording

This commit modifies ray query and ray tracing direction length tests so
the instance transform matrix in the top level acceleration structure is
sometimes updated after the AS build commands have been recorded in the
command buffer.

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

Components: Vulkan
VK-GL-CTS issue: 2881

Change-Id: I9051783443e3775e20ccaa0eab32c5bc2f21d165
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