Allow false positive hits from build-in AABBs intersector
authorSÅ‚awomir Cygan <slawomir.cygan@intel.com>
Tue, 16 Mar 2021 16:07:16 +0000 (17:07 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 18 Mar 2021 17:20:20 +0000 (17:20 +0000)
commit7ff1f9cda07764267d5d3e4712050aedbf135aa1
tree78cc24cf6e8acd1cf03aad49c22be47ae4842c57
parent494dc62730a7fb093d0a94431c7d6f98f10451d2
Allow false positive hits from build-in AABBs intersector

This change allows the test to execute any hit shader,
in case of AABB geometry is used and the ray falsely 'intersects'
it.

This is needed, as the test does not calculate the proper
intersection in 'intersection' stage - it uses a shader that always
reports TRUE. Hence the test relies on build-in AABB
intersector, which may report false positives according to the
specification.

VK-GL-CTS Issue: 2848

Components: Vulkan

Affects: dEQP-VK.ray_tracing_pipeline.build.*aabbs*

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