• Home
  • Raw
  • Download

Lines Matching refs:fragNdx

225 		for (int fragNdx = 0; fragNdx < 4; ++fragNdx)  in shadeFragments()  local
227 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments()
232 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
233 colors[fragNdx] = tcu::Vec4(0.0f); in shadeFragments()
245 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
246 colors[fragNdx] += tmpColors[fragNdx] * scale + bias; in shadeFragments()
250 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
252 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias; in shadeFragments()
256 …if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0… in shadeFragments()
257 …outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments()
258 …tputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor); in shadeFragments()
397 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
399 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
400 texCoords[fragNdx] = tcu::Vec4(coord.x(), coord.y(), coord.z(), (float)m_layer); in shadeFragments()
405 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
407 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; in shadeFragments()
411 …if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0,… in shadeFragments()
412 …else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, … in shadeFragments()
413 …utputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor); in shadeFragments()