Lines Matching refs:vtx
278 std::ostringstream vtx; in createGenericLoopCase() local
280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
282 vtx << "attribute highp vec4 a_position;\n"; in createGenericLoopCase()
283 vtx << "attribute highp vec4 a_coords;\n"; in createGenericLoopCase()
286 vtx << "attribute mediump float a_one;\n"; in createGenericLoopCase()
290 vtx << "varying mediump vec3 v_color;\n"; in createGenericLoopCase()
295 vtx << "varying mediump vec4 v_coords;\n"; in createGenericLoopCase()
300 vtx << "varying mediump float v_one;\n"; in createGenericLoopCase()
323 vtx << "\n"; in createGenericLoopCase()
324 vtx << "void main()\n"; in createGenericLoopCase()
325 vtx << "{\n"; in createGenericLoopCase()
326 vtx << " gl_Position = a_position;\n"; in createGenericLoopCase()
333 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; in createGenericLoopCase()
342 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n"; in createGenericLoopCase()
349 vtx << " ${COUNTER_PRECISION} float one = a_one;\n"; in createGenericLoopCase()
438 vtx << " v_color = res.rgb;\n"; in createGenericLoopCase()
443 vtx << " v_coords = a_coords;\n"; in createGenericLoopCase()
447 vtx << " v_one = a_one;\n"; in createGenericLoopCase()
450 vtx << "}\n"; in createGenericLoopCase()
459 StringTemplate vertTemplate(vtx.str().c_str()); in createGenericLoopCase()
486 std::ostringstream vtx; in createSpecialLoopCase() local
488 std::ostringstream& op = isVertexCase ? vtx : frag; in createSpecialLoopCase()
490 vtx << "attribute highp vec4 a_position;\n"; in createSpecialLoopCase()
491 vtx << "attribute highp vec4 a_coords;\n"; in createSpecialLoopCase()
494 vtx << "attribute mediump float a_one;\n"; in createSpecialLoopCase()
499 vtx << "varying mediump vec3 v_color;\n"; in createSpecialLoopCase()
504 vtx << "varying mediump vec4 v_coords;\n"; in createSpecialLoopCase()
509 vtx << "varying mediump float v_one;\n"; in createSpecialLoopCase()
530 vtx << "\n"; in createSpecialLoopCase()
531 vtx << "void main()\n"; in createSpecialLoopCase()
532 vtx << "{\n"; in createSpecialLoopCase()
533 vtx << " gl_Position = a_position;\n"; in createSpecialLoopCase()
542 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n"; in createSpecialLoopCase()
548 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; in createSpecialLoopCase()
1169 vtx << " v_color = res.rgb;\n"; in createSpecialLoopCase()
1174 vtx << " v_coords = a_coords;\n"; in createSpecialLoopCase()
1178 vtx << " v_one = a_one;\n"; in createSpecialLoopCase()
1181 vtx << "}\n"; in createSpecialLoopCase()
1226 StringTemplate vertTemplate(vtx.str().c_str()); in createSpecialLoopCase()