Home | History | Annotate | Download | only in functional

Lines Matching refs:vtx

245 	std::ostringstream vtx;
247 std::ostringstream& op = isVertexCase ? vtx : frag;
249 vtx << "#version 300 es\n";
252 vtx << "in highp vec4 a_position;\n";
253 vtx << "in highp vec4 a_coords;\n";
257 vtx << "in mediump float a_one;\n";
261 vtx << "out mediump vec3 v_color;\n";
266 vtx << "out mediump vec4 v_coords;\n";
271 vtx << "out mediump float v_one;\n";
294 vtx << "\n";
295 vtx << "void main()\n";
296 vtx << "{\n";
297 vtx << " gl_Position = a_position;\n";
304 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
313 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
320 vtx << " ${COUNTER_PRECISION} float one = a_one;\n";
409 vtx << " v_color = res.rgb;\n";
414 vtx << " v_coords = a_coords;\n";
418 vtx << " v_one = a_one;\n";
421 vtx << "}\n";
430 StringTemplate vertTemplate(vtx.str().c_str());
443 std::ostringstream vtx;
445 std::ostringstream& op = isVertexCase ? vtx : frag;
447 vtx << "#version 300 es\n";
450 vtx << "in highp vec4 a_position;\n";
451 vtx << "in highp vec4 a_coords;\n";
455 vtx << "in mediump float a_one;\n";
460 vtx << "out mediump vec3 v_color;\n";
465 vtx << "out mediump vec4 v_coords;\n";
470 vtx << "out mediump float v_one;\n";
485 vtx << "\n";
486 vtx << "void main()\n";
487 vtx << "{\n";
488 vtx << " gl_Position = a_position;\n";
497 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
503 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
1061 vtx << " v_color = res.rgb;\n";
1066 vtx << " v_coords = a_coords;\n";
1070 vtx << " v_one = a_one;\n";
1073 vtx << "}\n";
1118 StringTemplate vertTemplate(vtx.str().c_str());