Lines Matching refs:triNdx
708 for (int triNdx = (int)scene.triangles.size() - 1; triNdx >= 0; --triNdx) in verifyTriangleGroupInterpolationWithInterpolator() local
710 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupInterpolationWithInterpolator()
711 scene.triangles[triNdx].positions[1], in verifyTriangleGroupInterpolationWithInterpolator()
712 scene.triangles[triNdx].positions[2], in verifyTriangleGroupInterpolationWithInterpolator()
721 …const InterpolationRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize… in verifyTriangleGroupInterpolationWithInterpolator()
723 …ec4 fragmentColorMax = de::clamp(weights.max.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] + in verifyTriangleGroupInterpolationWithInterpolator()
724 de::clamp(weights.max.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] + in verifyTriangleGroupInterpolationWithInterpolator()
725 de::clamp(weights.max.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2]; in verifyTriangleGroupInterpolationWithInterpolator()
726 …ec4 fragmentColorMin = de::clamp(weights.min.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] + in verifyTriangleGroupInterpolationWithInterpolator()
727 de::clamp(weights.min.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] + in verifyTriangleGroupInterpolationWithInterpolator()
728 de::clamp(weights.min.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2]; in verifyTriangleGroupInterpolationWithInterpolator()
2704 for (int triNdx = 0; triNdx < (int)scene.triangles.size(); ++triNdx) in verifyTriangleGroupRasterization() local
2706 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize); in verifyTriangleGroupRasterization()
2714 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupRasterization()
2715 scene.triangles[triNdx].positions[1], in verifyTriangleGroupRasterization()
2716 scene.triangles[triNdx].positions[2], in verifyTriangleGroupRasterization()
2734 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize)) in verifyTriangleGroupRasterization()
2739 if (friendTriNdx == triNdx) in verifyTriangleGroupRasterization()