Searched refs:lineDir (Results 1 - 3 of 3) sorted by relevance
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 981 const tcu::Vec2 lineDir = tcu::normalize(tcu::Vec2(vertices[vertexNdx1].x() - vertices[vertexNdx0].x(), vertices[vertexNdx1].y() - vertices[vertexNdx0].y())); in testWideLines() local 982 const tcu::Vec4 lineNormalDir = (strictLines) ? tcu::Vec4(lineDir.y(), -lineDir.x(), 0.0f, 0.0f) // Line caps are perpendicular to the direction of the line segment. in testWideLines()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 981 const tcu::Vec2 lineDir = tcu::normalize(tcu::Vec2(vertices[vertexNdx1].x() - vertices[vertexNdx0].x(), vertices[vertexNdx1].y() - vertices[vertexNdx0].y())); in testWideLines() local 982 const tcu::Vec4 lineNormalDir = (strictLines) ? tcu::Vec4(lineDir.y(), -lineDir.x(), 0.0f, 0.0f) // Line caps are perpendicular to the direction of the line segment. in testWideLines()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRasterizationVerifier.cpp | 958 const tcu::Vec2 lineDir = tcu::normalize(lineScreenSpace[1] - lineScreenSpace[0]); 959 const tcu::Vec2 lineNormalDir = (strictMode || scene.isRectangular) ? tcu::Vec2(lineDir.y(), -lineDir.x()) 1137 const tcu::Vec2 lineDir = tcu::normalize(lineScreenSpace[1] - lineScreenSpace[0]); 1138 const tcu::Vec2 lineNormalDir = (strictMode || scene.isRectangular) ? tcu::Vec2(lineDir.y(), -lineDir.x())
|
Completed in 9 milliseconds