Home
last modified time | relevance | path

Searched refs:xMajorAxis (Results 1 - 2 of 2) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
H A DvktClippingTests.cpp980 const bool xMajorAxis = deFloatAbs(vertices[vertexNdx1].x() - vertices[vertexNdx0].x()) >= deFloatAbs(vertices[vertexNdx1].y() - vertices[vertexNdx0].y()); in testWideLines() local
983 : (xMajorAxis) ? tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f) : tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); // Line caps are aligned to the minor axis in testWideLines()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/
H A DvktClippingTests.cpp980 const bool xMajorAxis = deFloatAbs(vertices[vertexNdx1].x() - vertices[vertexNdx0].x()) >= deFloatAbs(vertices[vertexNdx1].y() - vertices[vertexNdx0].y()); in testWideLines() local
983 : (xMajorAxis) ? tcu::Vec4(0.0f, 1.0f, 0.0f, 0.0f) : tcu::Vec4(1.0f, 0.0f, 0.0f, 0.0f); // Line caps are aligned to the minor axis in testWideLines()

Completed in 11 milliseconds