• Home
  • Raw
  • Download

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()
957lineNdx*2 + 0].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
958lineNdx*2 + 0].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[1].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
959lineNdx*2 + 0].positions[2] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
961lineNdx*2 + 1].positions[0] = tcu::Vec4(lineQuadNormalizedDeviceSpace[0].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
962lineNdx*2 + 1].positions[1] = tcu::Vec4(lineQuadNormalizedDeviceSpace[2].x(), lineQuadNormalizedDe… in verifyMultisampleLineGroupRasterization()
963lineNdx*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()
1476 int lineNdx; member
1527 for (int lineNdx = 0; lineNdx < (int)screenspaceLines.size(); ++lineNdx) in setMaskMapCoverageBitForLines() local
1529 const tcu::Vec2 pa = screenspaceLines[lineNdx].swizzle(0, 1); in setMaskMapCoverageBitForLines()
1530 const tcu::Vec2 pb = screenspaceLines[lineNdx].swizzle(2, 3); in setMaskMapCoverageBitForLines()
1532 setMaskMapCoverageBitForLine(lineNdx, pa, pb, lineWidth, maskMap); in setMaskMapCoverageBitForLines()
1603 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifyLineGroupPixelIndependentInterpolation() local
1605 if (((lineCoverageSet >> lineNdx) & 0x01) != 0) in verifyLineGroupPixelIndependentInterpolation()
1607 const float wa = scene.lines[lineNdx].positions[0].w(); in verifyLineGroupPixelIndependentInterpolation()
1608 const float wb = scene.lines[lineNdx].positions[1].w(); in verifyLineGroupPixelIndependentInterpolation()
1609 const tcu::Vec2 pa = screenspaceLines[lineNdx].swizzle(0, 1); in verifyLineGroupPixelIndependentInterpolation()
1610 const tcu::Vec2 pb = screenspaceLines[lineNdx].swizzle(2, 3); in verifyLineGroupPixelIndependentInterpolation()
1616 …e.min.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.min.y(), 0.0f, 1.0f) * s… in verifyLineGroupPixelIndependentInterpolation()
1617 …e.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.max.y(), 0.0f, 1.0f) * s… in verifyLineGroupPixelIndependentInterpolation()
1645 candidate.lineNdx = lineNdx; in verifyLineGroupPixelIndependentInterpolation()
1686 log << tcu::TestLog::Message << "\tCandidate (line " << candidate.lineNdx << "):\n" in verifyLineGroupPixelIndependentInterpolation()
1748 int lineNdx; member
1819 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1821 const tcu::Vec2 lineScreenSpaceP0 = screenspaceLines[lineNdx].swizzle(0, 1); in verifySinglesampleWideLineGroupInterpolation()
1822 const tcu::Vec2 lineScreenSpaceP1 = screenspaceLines[lineNdx].swizzle(2, 3); in verifySinglesampleWideLineGroupInterpolation()
1823 const bool isXMajor = isPackedSSLineXMajor(screenspaceLines[lineNdx]); in verifySinglesampleWideLineGroupInterpolation()
1825 lineIsXMajor[lineNdx] = isXMajor; in verifySinglesampleWideLineGroupInterpolation()
1833 effectiveLines[lineNdx] = tcu::Vec4(lineScreenSpaceP0.x() + offset.x(), in verifySinglesampleWideLineGroupInterpolation()
1841 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1855 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation()
1862 …expandedP0 = getLineCoordAtAxisCoord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNd… in verifySinglesampleWideLineGroupInterpolation()
1863 …expandedP1 = getLineCoordAtAxisCoord(effectiveLines[lineNdx].swizzle(0, 1), effectiveLines[lineNd… in verifySinglesampleWideLineGroupInterpolation()
1868 rootPixelLocation[lineNdx].resize(majorSize, FLAG_ROOT_NOT_SET); in verifySinglesampleWideLineGroupInterpolation()
1884 DE_ASSERT((rootPixelLocation[lineNdx][majorPos] & FLAG_ROOT_NOT_SET) != 0u); in verifySinglesampleWideLineGroupInterpolation()
1885 rootPixelLocation[lineNdx][majorPos] = packed; in verifySinglesampleWideLineGroupInterpolation()
1892 DE_ASSERT((rootPixelLocation[lineNdx][majorPos] & FLAG_ROOT_NOT_SET) == 0u); in verifySinglesampleWideLineGroupInterpolation()
1927 for (int lineNdx = 0; lineNdx < (int)scene.lines.size(); ++lineNdx) in verifySinglesampleWideLineGroupInterpolation() local
1929 if (((lineCoverageSet >> lineNdx) & 0x01) != 0) in verifySinglesampleWideLineGroupInterpolation()
1931 const float wa = scene.lines[lineNdx].positions[0].w(); in verifySinglesampleWideLineGroupInterpolation()
1932 const float wb = scene.lines[lineNdx].positions[1].w(); in verifySinglesampleWideLineGroupInterpolation()
1933 const tcu::Vec2 pa = effectiveLines[lineNdx].swizzle(0, 1); in verifySinglesampleWideLineGroupInterpolation()
1934 const tcu::Vec2 pb = effectiveLines[lineNdx].swizzle(2, 3); in verifySinglesampleWideLineGroupInterpolation()
1939 const bool isXMajor = lineIsXMajor[lineNdx]; in verifySinglesampleWideLineGroupInterpolation()
1941 const deUint32 minorInfoPacked = rootPixelLocation[lineNdx][majorPosition]; in verifySinglesampleWideLineGroupInterpolation()
1948 candidate.lineNdx = lineNdx; in verifySinglesampleWideLineGroupInterpolation()
1970 …e.min.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.min.y(), 0.0f, 1.0f) * s… in verifySinglesampleWideLineGroupInterpolation()
1971 …e.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors[0] + de::clamp(range.max.y(), 0.0f, 1.0f) * s… in verifySinglesampleWideLineGroupInterpolation()
2052 msg << "\tCandidate line (line " << candidate.lineNdx << "):\n"; in verifySinglesampleWideLineGroupInterpolation()