The tests define a series of quads made of triangles with opposite
winding orders. This change fixes them so that all triangles are
counter-clockwise.
Components: Vulkan
VK-GL-CTS issue: 2454
Affects:
dEQP-VK.ray_tracing_pipeline.builtin.worldrayoriginext.*
dEQP-VK.ray_tracing_pipeline.builtin.worldraydirectionext.*
dEQP-VK.ray_tracing_pipeline.builtin.objectrayoriginext.*
dEQP-VK.ray_tracing_pipeline.builtin.objectraydirectionext.*
dEQP-VK.ray_tracing_pipeline.builtin.objecttoworldext.*
dEQP-VK.ray_tracing_pipeline.builtin.worldtoobjectext.*
Change-Id: Ieed1a71b26b7e81ec2de932a209061ecfd91ab66
if (triangles)
{
- geometryData.push_back(tcu::Vec3(-1.0f, y0, z));
geometryData.push_back(tcu::Vec3(-1.0f, y1, z));
+ geometryData.push_back(tcu::Vec3(-1.0f, y0, z));
geometryData.push_back(tcu::Vec3(+1.0f, y0, z));
geometryData.push_back(tcu::Vec3(-1.0f, y1, z));
geometryData.push_back(tcu::Vec3(+1.0f, y0, z));