• Home
  • Raw
  • Download

Lines Matching refs:fragNdx

151 		for (int fragNdx = 0; fragNdx < 4; ++fragNdx)  in shadeFragments()  local
153 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(f0, f1, 1.0f-f0, 1.0f-f1)); in shadeFragments()
216 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
218 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
219 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments()
226 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
227 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, colors[fragNdx]); in shadeFragments()
298 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
300 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
307 case tcu::CUBEFACE_NEGATIVE_X: texCoords[fragNdx] = tcu::Vec3(-1.0f, -y, +x); break; in shadeFragments()
308 case tcu::CUBEFACE_POSITIVE_X: texCoords[fragNdx] = tcu::Vec3(+1.0f, -y, -x); break; in shadeFragments()
309 case tcu::CUBEFACE_NEGATIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, -1.0f, -y); break; in shadeFragments()
310 case tcu::CUBEFACE_POSITIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, +1.0f, +y); break; in shadeFragments()
311 case tcu::CUBEFACE_NEGATIVE_Z: texCoords[fragNdx] = tcu::Vec3( -x, -y, -1.0f); break; in shadeFragments()
312 case tcu::CUBEFACE_POSITIVE_Z: texCoords[fragNdx] = tcu::Vec3( +x, -y, +1.0f); break; in shadeFragments()
322 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) in shadeFragments() local
323 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, colors[fragNdx]); in shadeFragments()