Lines Matching refs:vtx
246 std::ostringstream vtx; in createGenericLoopCase() local
248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
250 vtx << "#version 300 es\n"; in createGenericLoopCase()
253 vtx << "in highp vec4 a_position;\n"; in createGenericLoopCase()
254 vtx << "in highp vec4 a_coords;\n"; in createGenericLoopCase()
258 vtx << "in mediump float a_one;\n"; in createGenericLoopCase()
262 vtx << "out mediump vec3 v_color;\n"; in createGenericLoopCase()
267 vtx << "out mediump vec4 v_coords;\n"; in createGenericLoopCase()
272 vtx << "out mediump float v_one;\n"; in createGenericLoopCase()
295 vtx << "\n"; in createGenericLoopCase()
296 vtx << "void main()\n"; in createGenericLoopCase()
297 vtx << "{\n"; in createGenericLoopCase()
298 vtx << " gl_Position = a_position;\n"; in createGenericLoopCase()
305 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; in createGenericLoopCase()
314 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n"; in createGenericLoopCase()
321 vtx << " ${COUNTER_PRECISION} float one = a_one;\n"; in createGenericLoopCase()
410 vtx << " v_color = res.rgb;\n"; in createGenericLoopCase()
415 vtx << " v_coords = a_coords;\n"; in createGenericLoopCase()
419 vtx << " v_one = a_one;\n"; in createGenericLoopCase()
422 vtx << "}\n"; in createGenericLoopCase()
431 StringTemplate vertTemplate(vtx.str().c_str()); in createGenericLoopCase()
444 std::ostringstream vtx; in createSpecialLoopCase() local
446 std::ostringstream& op = isVertexCase ? vtx : frag; in createSpecialLoopCase()
448 vtx << "#version 300 es\n"; in createSpecialLoopCase()
451 vtx << "in highp vec4 a_position;\n"; in createSpecialLoopCase()
452 vtx << "in highp vec4 a_coords;\n"; in createSpecialLoopCase()
456 vtx << "in mediump float a_one;\n"; in createSpecialLoopCase()
461 vtx << "out mediump vec3 v_color;\n"; in createSpecialLoopCase()
466 vtx << "out mediump vec4 v_coords;\n"; in createSpecialLoopCase()
471 vtx << "out mediump float v_one;\n"; in createSpecialLoopCase()
486 vtx << "\n"; in createSpecialLoopCase()
487 vtx << "void main()\n"; in createSpecialLoopCase()
488 vtx << "{\n"; in createSpecialLoopCase()
489 vtx << " gl_Position = a_position;\n"; in createSpecialLoopCase()
498 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n"; in createSpecialLoopCase()
504 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; in createSpecialLoopCase()
1062 vtx << " v_color = res.rgb;\n"; in createSpecialLoopCase()
1067 vtx << " v_coords = a_coords;\n"; in createSpecialLoopCase()
1071 vtx << " v_one = a_one;\n"; in createSpecialLoopCase()
1074 vtx << "}\n"; in createSpecialLoopCase()
1119 StringTemplate vertTemplate(vtx.str().c_str()); in createSpecialLoopCase()