Align triangle winding of triangles in default AS geometry
authorSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 27 Jan 2023 14:35:41 +0000 (15:35 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 10 Mar 2023 13:20:27 +0000 (13:20 +0000)
commitc1a48fc030823ebafbbc48c2924480b4f680de25
tree49861ed5df8165b78ae1692c5be61a460f598e93
parent25e651b5a1c293c90786594cf80607c08716d917
Align triangle winding of triangles in default AS geometry

Change triangle winding of deatult AS geometry so the two triangles
would match in winding. This makes the triangles share an edge, forming
waterthight geometry.

This fixes tests that were casting the rays in the direction of the edge,
like dEQP-VK.binding_model.descriptor_buffer.single.graphics*.

Components: Vulkan

VK-GL-CTS Issue: 4258

Affects: dEQP-VK.binding_model.descriptor_buffer.single.graphics*
    dEQP-VK.binding_model.descriptor_update.acceleration_structure.*
    dEQP-VK.binding_model.descriptorset_random*rgnv
    dEQP-VK.binding_model.descriptorset_random*rgen*
    dEQP-VK.binding_model.descriptorset_random*sect*
    dEQP-VK.binding_model.descriptorset_random*ahit*
    dEQP-VK.binding_model.descriptorset_random*chit*
    dEQP-VK.binding_model.descriptorset_random*miss*
    dEQP-VK.binding_model.descriptorset_random*call*
    dEQP-VK.ray_tracing.*
    dEQP-VK.ray_query.*
Change-Id: Ida30ee5cb292963d24b9a68b77922edc14492edf
external/vulkancts/framework/vulkan/vkRayTracingUtil.cpp