Home | History | Annotate | Download | only in functional

Lines Matching refs:vtx

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