Lines Matching refs:triangles

587 …eInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].po…  in interpolate()
588 …eInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].po… in interpolate()
589 …eInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].po… in interpolate()
590 …eInterpolationWeights(scene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].po… in interpolate()
704 for (int triNdx = (int)scene.triangles.size() - 1; triNdx >= 0; --triNdx) in verifyTriangleGroupInterpolationWithInterpolator()
706 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupInterpolationWithInterpolator()
707 scene.triangles[triNdx].positions[1], in verifyTriangleGroupInterpolationWithInterpolator()
708 scene.triangles[triNdx].positions[2], in verifyTriangleGroupInterpolationWithInterpolator()
719 …const tcu::Vec4 fragmentColorMax = de::clamp(weights.max.x(), 0.0f, 1.0f) * scene.triangles[triNdx… in verifyTriangleGroupInterpolationWithInterpolator()
720 de::clamp(weights.max.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] + in verifyTriangleGroupInterpolationWithInterpolator()
721 de::clamp(weights.max.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2]; in verifyTriangleGroupInterpolationWithInterpolator()
722 …const tcu::Vec4 fragmentColorMin = de::clamp(weights.min.x(), 0.0f, 1.0f) * scene.triangles[triNdx… in verifyTriangleGroupInterpolationWithInterpolator()
723 de::clamp(weights.min.y(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[1] + in verifyTriangleGroupInterpolationWithInterpolator()
724 de::clamp(weights.min.z(), 0.0f, 1.0f) * scene.triangles[triNdx].colors[2]; in verifyTriangleGroupInterpolationWithInterpolator()
878 triangleScene.triangles.resize(2 * scene.lines.size()); in verifyMultisampleLineGroupRasterization()
911triangles[lineNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
912triangles[lineNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
913triangles[lineNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
915triangles[lineNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
916triangles[lineNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
917triangles[lineNdx*2 + 1].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[3].x(), lineQuadNo… in verifyMultisampleLineGroupRasterization()
931 triangleScene.triangles.resize(2 * scene.lines.size()); in verifyMultisampleLineGroupInterpolation()
964 …triangleScene.triangles[lineNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x… in verifyMultisampleLineGroupInterpolation()
965 …triangleScene.triangles[lineNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x… in verifyMultisampleLineGroupInterpolation()
966 …triangleScene.triangles[lineNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x… in verifyMultisampleLineGroupInterpolation()
968 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[0] = false; in verifyMultisampleLineGroupInterpolation()
969 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[1] = false; in verifyMultisampleLineGroupInterpolation()
970 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[2] = true; in verifyMultisampleLineGroupInterpolation()
972 triangleScene.triangles[lineNdx*2 + 0].colors[0] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
973 triangleScene.triangles[lineNdx*2 + 0].colors[1] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
974 triangleScene.triangles[lineNdx*2 + 0].colors[2] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
976 …triangleScene.triangles[lineNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x… in verifyMultisampleLineGroupInterpolation()
977 …triangleScene.triangles[lineNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x… in verifyMultisampleLineGroupInterpolation()
978 …triangleScene.triangles[lineNdx*2 + 1].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[3].x… in verifyMultisampleLineGroupInterpolation()
980 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[0] = true; in verifyMultisampleLineGroupInterpolation()
981 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[1] = false; in verifyMultisampleLineGroupInterpolation()
982 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[2] = false; in verifyMultisampleLineGroupInterpolation()
984 triangleScene.triangles[lineNdx*2 + 1].colors[0] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
985 triangleScene.triangles[lineNdx*2 + 1].colors[1] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
986 triangleScene.triangles[lineNdx*2 + 1].colors[2] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
999 triangleScene.triangles.resize(2 * scene.points.size()); in verifyMultisamplePointGroupRasterization()
1014triangles[pointNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
1015triangles[pointNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
1016triangles[pointNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
1018triangles[pointNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
1019triangles[pointNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
1020triangles[pointNdx*2 + 1].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[3].x(), lineQuadN… in verifyMultisamplePointGroupRasterization()
2228 for (int triNdx = 0; triNdx < (int)scene.triangles.size(); ++triNdx) in verifyTriangleGroupRasterization()
2230 const tcu::IVec4 aabb = getTriangleAABB(scene.triangles[triNdx], viewportSize); in verifyTriangleGroupRasterization()
2238 const CoverageType coverage = calculateTriangleCoverage(scene.triangles[triNdx].positions[0], in verifyTriangleGroupRasterization()
2239 scene.triangles[triNdx].positions[1], in verifyTriangleGroupRasterization()
2240 scene.triangles[triNdx].positions[2], in verifyTriangleGroupRasterization()
2258 if (pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[triNdx], viewportSize)) in verifyTriangleGroupRasterization()
2261 for (int friendTriNdx = 0; friendTriNdx < (int)scene.triangles.size(); ++friendTriNdx) in verifyTriangleGroupRasterization()
2263 …if (friendTriNdx != triNdx && pixelOnlyOnASharedEdge(tcu::IVec2(x, y), scene.triangles[friendTriNd… in verifyTriangleGroupRasterization()