Lines Matching refs:fragNdx
132 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
133 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
138 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
139 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
144 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
145 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
213 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
215 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
226 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
227 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
228 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
382 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
384 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y());
389 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
390 colors[fragNdx] = tcu::Vec4(0.0f);
402 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
403 colors[fragNdx] += tmpColors[fragNdx] * scale + bias;
407 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
409 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias;
413 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
414 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
415 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
537 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
539 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z());
545 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
551 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
552 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
553 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
645 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
647 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
648 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), float(layer));
653 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
655 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
659 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
660 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
661 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
753 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
755 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
756 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), depth);
761 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
763 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
767 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
768 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
769 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);
849 for (int fragNdx = 0; fragNdx < 4; ++fragNdx)
851 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
856 rr::writeFragmentDepth(context, packetNdx, fragNdx, 0, gradientMin + (gradientMax-gradientMin) * f0);
858 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
859 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
860 else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor);