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