Home | History | Annotate | Download | only in glshared

Lines Matching refs:triNdx

704 		for (int triNdx = (int)scene.triangles.size() - 1; triNdx >= 0; --triNdx)
706 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0],
707 scene.triangles[triNdx].positions[1],
708 scene.triangles[triNdx].positions[2],
717 const InterpolationRange weights = interpolator.interpolate(triNdx, tcu::IVec2(x, y), viewportSize, multisampled, subPixelBits);
719 triNdx].colors[0] +
720 de::clamp(weights.max.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] +
721 de::clamp(weights.max.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2];
722 const tcu::Vec4 fragmentColorMin = de::clamp(weights.min.x(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[0] +
723 de::clamp(weights.min.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] +
724 de::clamp(weights.min.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2];
2228 for (int triNdx = 0; triNdx < (int)scene.triangles.size(); ++triNdx)
2230 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize);
2238 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0],
2239 scene.triangles[triNdx].positions[1],
2240 scene.triangles[triNdx].positions[2],
2258 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize))
2263 if (friendTriNdx != triNdx && pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[friendTriNdx], viewportSize))