Lines Matching refs:triNdx
659 for (int triNdx = (int)scene.triangles.size() - 1; triNdx >= 0; --triNdx)
661 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0],
662 scene.triangles[triNdx].positions[1],
663 scene.triangles[triNdx].positions[2],
672 const InterpolationRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize, multisampled, subPixelBits);
674 const tcu::Vec4 fragmentColorMax = de::clamp(weights.max.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] +
675 de::clamp(weights.max.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] +
676 de::clamp(weights.max.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2];
677 const tcu::Vec4 fragmentColorMin = de::clamp(weights.min.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] +
678 de::clamp(weights.min.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] +
679 de::clamp(weights.min.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2];
1770 for (int triNdx = 0; triNdx < (int)scene.triangles.size(); ++triNdx)
1772 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize);
1780 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0],
1781 scene.triangles[triNdx].positions[1],
1782 scene.triangles[triNdx].positions[2],
1800 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize))
1805 if (friendTriNdx != triNdx && pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[friendTriNdx], viewportSize))