Wait for deferred operations before obtaining RT pipeline handle
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 29 Mar 2022 14:51:18 +0000 (16:51 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 7 Apr 2022 17:47:54 +0000 (17:47 +0000)
commit337453b58a8fd3308ff33360e4f879067ae779b4
tree96ef1508cb3ad15f7597c75595d9fab85861b34b
parentadf9ea84f3a9c14718c34cdccf0dbb0fd492f10e
Wait for deferred operations before obtaining RT pipeline handle

The ray tracing utils, when creating ray tracing pipelines and using
deferred operations, were using the VkPipeline pointer and handler
before the deferred operation had completed, which is against the spec.

Affected tests:
dEQP-VK.ray_tracing_pipeline.pipeline_library.configurations.multithreaded_compilation_dho.*
dEQP-VK.ray_tracing_pipeline.large_shader_set.cpu_ht*

Components: Vulkan
VK-GL-CTS issue: 3588

Change-Id: Ied8f443c01e99878180130963b8988852171b8a0
external/vulkancts/framework/vulkan/vkRayTracingUtil.cpp