Correct the image barrier in ray tracing test
authoryaozhong.zhang <yaozhong.zhang@arm.com>
Thu, 4 Aug 2022 10:59:54 +0000 (18:59 +0800)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 18 Aug 2022 17:26:56 +0000 (17:26 +0000)
commite714f5743fc32304ed9ab9e6d8141138613bd073
treef7cb90b25547db44ddc703fc693b27bb14cb82d6
parent6b7c34736afd45a45d10fc6e3a799dba25ce7be7
Correct the image barrier in ray tracing test

When running the ray tracing pipeline CPU build tests, the image
barrier is not actually used, as no acceleration structure commands
are recorded. On the other hand, the image is used by trace ray
command, instead of building acceleration structure. So, change the
barrier for trace ray command.

Affects:
dEQP-VK.ray_tracing_pipeline.build.*

Components: Vulkan

VK-GL-CTS issue: 3874

Change-Id: Ie70fd57fe9f81952dff21f670a194244856c3d3b
external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuildTests.cpp