Lines Matching refs:frag
279 std::ostringstream frag; in createGenericLoopCase() local
280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
291 frag << "varying mediump vec3 v_color;\n"; in createGenericLoopCase()
296 frag << "varying mediump vec4 v_coords;\n"; in createGenericLoopCase()
301 frag << "varying mediump float v_one;\n"; in createGenericLoopCase()
328 frag << "\n"; in createGenericLoopCase()
329 frag << "void main()\n"; in createGenericLoopCase()
330 frag << "{\n"; in createGenericLoopCase()
335 frag << " ${PRECISION} vec4 coords = v_coords;\n"; in createGenericLoopCase()
344 frag << " ${COUNTER_PRECISION} int one = int(v_one + 0.5);\n"; in createGenericLoopCase()
351 frag << " ${COUNTER_PRECISION} float one = v_one;\n"; in createGenericLoopCase()
439 frag << " gl_FragColor = vec4(v_color.rgb, 1.0);\n"; in createGenericLoopCase()
444 frag << " gl_FragColor = vec4(res.rgb, 1.0);\n"; in createGenericLoopCase()
451 frag << "}\n"; in createGenericLoopCase()
460 StringTemplate fragTemplate(frag.str().c_str()); in createGenericLoopCase()
487 std::ostringstream frag; in createSpecialLoopCase() local
488 std::ostringstream& op = isVertexCase ? vtx : frag; in createSpecialLoopCase()
500 frag << "varying mediump vec3 v_color;\n"; in createSpecialLoopCase()
505 frag << "varying mediump vec4 v_coords;\n"; in createSpecialLoopCase()
510 frag << "varying mediump float v_one;\n"; in createSpecialLoopCase()
535 frag << "\n"; in createSpecialLoopCase()
536 frag << "void main()\n"; in createSpecialLoopCase()
537 frag << "{\n"; in createSpecialLoopCase()
544 frag << " ${COUNTER_PRECISION} int one = int(v_one + 0.5);\n"; in createSpecialLoopCase()
550 frag << " ${PRECISION} vec4 coords = v_coords;\n"; in createSpecialLoopCase()
1170 frag << " gl_FragColor = vec4(v_color.rgb, 1.0);\n"; in createSpecialLoopCase()
1175 frag << " gl_FragColor = vec4(res.rgb, 1.0);\n"; in createSpecialLoopCase()
1182 frag << "}\n"; in createSpecialLoopCase()
1227 StringTemplate fragTemplate(frag.str().c_str()); in createSpecialLoopCase()