Lines Matching refs:vtx

224 	std::ostringstream  vtx;
226 std::ostringstream& op = isVertexCase ? vtx : frag;
228 vtx << getGLSLVersionDeclaration(glslVersion) << "\n";
231 vtx << "in highp vec4 a_position;\n";
232 vtx << "in highp vec4 a_coords;\n";
236 vtx << "in mediump float a_one;\n";
240 vtx << "out mediump vec3 v_color;\n";
245 vtx << "out mediump vec4 v_coords;\n";
250 vtx << "out mediump float v_one;\n";
273 vtx << "\n";
274 vtx << "void main()\n";
275 vtx << "{\n";
276 vtx << " gl_Position = a_position;\n";
283 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
292 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
299 vtx << " ${COUNTER_PRECISION} float one = a_one;\n";
391 vtx << " v_color = res.rgb;\n";
396 vtx << " v_coords = a_coords;\n";
400 vtx << " v_one = a_one;\n";
403 vtx << "}\n";
412 StringTemplate vertTemplate(vtx.str().c_str());
428 std::ostringstream vtx;
430 std::ostringstream& op = isVertexCase ? vtx : frag;
432 vtx << getGLSLVersionDeclaration(glslVersion) << "\n";
435 vtx << "in highp vec4 a_position;\n";
436 vtx << "in highp vec4 a_coords;\n";
440 vtx << "in mediump float a_one;\n";
445 vtx << "out mediump vec3 v_color;\n";
450 vtx << "out mediump vec4 v_coords;\n";
455 vtx << "out mediump float v_one;\n";
470 vtx << "\n";
471 vtx << "void main()\n";
472 vtx << "{\n";
473 vtx << " gl_Position = a_position;\n";
482 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
488 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
1054 vtx << " v_color = res.rgb;\n";
1059 vtx << " v_coords = a_coords;\n";
1063 vtx << " v_one = a_one;\n";
1066 vtx << "}\n";
1112 StringTemplate vertTemplate(vtx.str().c_str());