Searched refs:hitDist (Results 1 – 1 of 1) sorted by relevance
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 288 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleOneVertex() local 290 if (hitDist >= degenerateLimit) in clipTriangleOneVertex() 297 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex() 298 …const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.pos… in clipTriangleOneVertex() 301 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist); in clipTriangleOneVertex() 302 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist); in clipTriangleOneVertex() 303 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist); in clipTriangleOneVertex() 312 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleOneVertex() local 314 if (hitDist >= degenerateLimit) in clipTriangleOneVertex() 321 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex() [all …]
|