Lines Matching refs:lineNdx
615 const int lineNdx = primitiveNdx / 2; in interpolate() local
626 const float wa = scene.lines[lineNdx].positions[0].w(); in interpolate()
627 const float wb = scene.lines[lineNdx].positions[1].w(); in interpolate()
628 …const tcu::Vec2 pa = tcu::Vec2((scene.lines[lineNdx].positions[0].x() / wa + 1.0f) * 0.5f * (float… in interpolate()
629 (scene.lines[lineNdx].positions[0].y() / wa + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
630 …const tcu::Vec2 pb = tcu::Vec2((scene.lines[lineNdx].positions[1].x() / wb + 1.0f) * 0.5f * (float… in interpolate()
631 (scene.lines[lineNdx].positions[1].y() / wb + 1.0f) * 0.5f * (float)viewportSize.y()); in interpolate()
919 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifyMultisampleLineGroupRasterization() local
924 …(scene.lines[lineNdx].positions[0].x() / scene.lines[lineNdx].positions[0].w(), scene.lines[lineNd… in verifyMultisampleLineGroupRasterization()
925 …(scene.lines[lineNdx].positions[1].x() / scene.lines[lineNdx].positions[1].w(), scene.lines[lineNd… in verifyMultisampleLineGroupRasterization()
957 …lineNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
958 …lineNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
959 …lineNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
961 …lineNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
962 …lineNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
963 …lineNdx*2 + 1].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[3].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
978 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifyMultisampleLineGroupInterpolation() local
983 …(scene.lines[lineNdx].positions[0].x() / scene.lines[lineNdx].positions[0].w(), scene.lines[lineNd… in verifyMultisampleLineGroupInterpolation()
984 …(scene.lines[lineNdx].positions[1].x() / scene.lines[lineNdx].positions[1].w(), scene.lines[lineNd… in verifyMultisampleLineGroupInterpolation()
1010 …triangleScene.triangles[lineNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x… in verifyMultisampleLineGroupInterpolation()
1011 …triangleScene.triangles[lineNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x… in verifyMultisampleLineGroupInterpolation()
1012 …triangleScene.triangles[lineNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x… in verifyMultisampleLineGroupInterpolation()
1014 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[0] = false; in verifyMultisampleLineGroupInterpolation()
1015 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[1] = false; in verifyMultisampleLineGroupInterpolation()
1016 triangleScene.triangles[lineNdx*2 + 0].sharedEdge[2] = true; in verifyMultisampleLineGroupInterpolation()
1018 triangleScene.triangles[lineNdx*2 + 0].colors[0] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
1019 triangleScene.triangles[lineNdx*2 + 0].colors[1] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
1020 triangleScene.triangles[lineNdx*2 + 0].colors[2] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
1022 …triangleScene.triangles[lineNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x… in verifyMultisampleLineGroupInterpolation()
1023 …triangleScene.triangles[lineNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x… in verifyMultisampleLineGroupInterpolation()
1024 …triangleScene.triangles[lineNdx*2 + 1].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[3].x… in verifyMultisampleLineGroupInterpolation()
1026 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[0] = true; in verifyMultisampleLineGroupInterpolation()
1027 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[1] = false; in verifyMultisampleLineGroupInterpolation()
1028 triangleScene.triangles[lineNdx*2 + 1].sharedEdge[2] = false; in verifyMultisampleLineGroupInterpolation()
1030 triangleScene.triangles[lineNdx*2 + 1].colors[0] = scene.lines[lineNdx].colors[0]; in verifyMultisampleLineGroupInterpolation()
1031 triangleScene.triangles[lineNdx*2 + 1].colors[1] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
1032 triangleScene.triangles[lineNdx*2 + 1].colors[2] = scene.lines[lineNdx].colors[1]; in verifyMultisampleLineGroupInterpolation()
1076 for (int lineNdx = 0; lineNdx < (int)lines.size(); ++lineNdx) in genScreenSpaceLines() local
1080 …tcu::Vec2(lines[lineNdx].positions[0].x() / lines[lineNdx].positions[0].w(), lines[lineNdx].positi… in genScreenSpaceLines()
1081 …tcu::Vec2(lines[lineNdx].positions[1].x() / lines[lineNdx].positions[1].w(), lines[lineNdx].positi… in genScreenSpaceLines()
1089 …screenspaceLines[lineNdx] = tcu::Vec4(lineScreenSpace[0].x(), lineScreenSpace[0].y(), lineScreenSp… in genScreenSpaceLines()
1113 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleLineGroupRasterization() local
1116 rasterizer.init(tcu::Vec4(screenspaceLines[lineNdx][0], in verifySinglesampleLineGroupRasterization()
1117 screenspaceLines[lineNdx][1], in verifySinglesampleLineGroupRasterization()
1120 tcu::Vec4(screenspaceLines[lineNdx][2], in verifySinglesampleLineGroupRasterization()
1121 screenspaceLines[lineNdx][3], in verifySinglesampleLineGroupRasterization()
1127 lineIsXMajor[lineNdx] = isPackedSSLineXMajor(screenspaceLines[lineNdx]); in verifySinglesampleLineGroupRasterization()
1150 … referenceLineMap.getAccess().setPixel(tcu::IVec4(lineNdx + 1, 0, 0, 0), fragPos.x(), fragPos.y()); in verifySinglesampleLineGroupRasterization()
1468 int lineNdx; member
1519 for (int lineNdx = 0; lineNdx < (int)screenspaceLines.size(); ++lineNdx) in setMaskMapCoverageBitForLines() local
1521 const tcu::Vec2 pa = screenspaceLines[lineNdx].swizzle(0, 1); in setMaskMapCoverageBitForLines()
1522 const tcu::Vec2 pb = screenspaceLines[lineNdx].swizzle(2, 3); in setMaskMapCoverageBitForLines()
1524 setMaskMapCoverageBitForLine(lineNdx, pa, pb, lineWidth, maskMap); in setMaskMapCoverageBitForLines()
1595 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifyLineGroupPixelIndependentInterpolation() local
1597 if (((lineCoverageSet >> lineNdx) & 0x01) != 0) in verifyLineGroupPixelIndependentInterpolation()
1599 const float wa = scene.lines[lineNdx].positions[0].w(); in verifyLineGroupPixelIndependentInterpolation()
1600 const float wb = scene.lines[lineNdx].positions[1].w(); in verifyLineGroupPixelIndependentInterpolation()
1601 const tcu::Vec2 pa = screenspaceLines[lineNdx].swizzle(0, 1); in verifyLineGroupPixelIndependentInterpolation()
1602 const tcu::Vec2 pb = screenspaceLines[lineNdx].swizzle(2, 3); in verifyLineGroupPixelIndependentInterpolation()
1608 …e.min.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.min.y(), 0.0f, 1.0f) * s… in verifyLineGroupPixelIndependentInterpolation()
1609 …e.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.max.y(), 0.0f, 1.0f) * s… in verifyLineGroupPixelIndependentInterpolation()
1637 candidate.lineNdx = lineNdx; in verifyLineGroupPixelIndependentInterpolation()
1678 log << tcu::TestLog::Message << "\tCandidate (line " << candidate.lineNdx << "):\n" in verifyLineGroupPixelIndependentInterpolation()
1740 int lineNdx; member
1811 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1813 const tcu::Vec2 lineScreenSpaceP0 = screenspaceLines[lineNdx].swizzle(0, 1); in verifySinglesampleWideLineGroupInterpolation()
1814 const tcu::Vec2 lineScreenSpaceP1 = screenspaceLines[lineNdx].swizzle(2, 3); in verifySinglesampleWideLineGroupInterpolation()
1815 const bool isXMajor = isPackedSSLineXMajor(screenspaceLines[lineNdx]); in verifySinglesampleWideLineGroupInterpolation()
1817 lineIsXMajor[lineNdx] = isXMajor; in verifySinglesampleWideLineGroupInterpolation()
1825 effectiveLines[lineNdx] = tcu::Vec4(lineScreenSpaceP0.x() + offset.x(), in verifySinglesampleWideLineGroupInterpolation()
1833 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1847 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation()
1854 …expandedP0 = getLineCoordAtAxisCoord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNd… in verifySinglesampleWideLineGroupInterpolation()
1855 …expandedP1 = getLineCoordAtAxisCoord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNd… in verifySinglesampleWideLineGroupInterpolation()
1860 rootPixelLocation[lineNdx].resize(majorSize, FLAG_ROOT_NOT_SET); in verifySinglesampleWideLineGroupInterpolation()
1876 DE_ASSERT((rootPixelLocation[lineNdx][majorPos] & FLAG_ROOT_NOT_SET) != 0u); in verifySinglesampleWideLineGroupInterpolation()
1877 rootPixelLocation[lineNdx][majorPos] = packed; in verifySinglesampleWideLineGroupInterpolation()
1884 DE_ASSERT((rootPixelLocation[lineNdx][majorPos] & FLAG_ROOT_NOT_SET) == 0u); in verifySinglesampleWideLineGroupInterpolation()
1919 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1921 if (((lineCoverageSet >> lineNdx) & 0x01) != 0) in verifySinglesampleWideLineGroupInterpolation()
1923 const float wa = scene.lines[lineNdx].positions[0].w(); in verifySinglesampleWideLineGroupInterpolation()
1924 const float wb = scene.lines[lineNdx].positions[1].w(); in verifySinglesampleWideLineGroupInterpolation()
1925 const tcu::Vec2 pa = effectiveLines[lineNdx].swizzle(0, 1); in verifySinglesampleWideLineGroupInterpolation()
1926 const tcu::Vec2 pb = effectiveLines[lineNdx].swizzle(2, 3); in verifySinglesampleWideLineGroupInterpolation()
1931 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation()
1933 const deUint32 minorInfoPacked = rootPixelLocation[lineNdx][majorPosition]; in verifySinglesampleWideLineGroupInterpolation()
1940 candidate.lineNdx = lineNdx; in verifySinglesampleWideLineGroupInterpolation()
1962 …e.min.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.min.y(), 0.0f, 1.0f) * s… in verifySinglesampleWideLineGroupInterpolation()
1963 …e.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.max.y(), 0.0f, 1.0f) * s… in verifySinglesampleWideLineGroupInterpolation()
2044 msg << "\tCandidate line (line " << candidate.lineNdx << "):\n"; in verifySinglesampleWideLineGroupInterpolation()