Lines Matching defs:vtx
106 std::ostringstream vtx;
108 std::ostringstream& op = isVertex ? vtx : frag;
110 vtx << "#version 310 es\n"
118 vtx << "layout(location = 0) out mediump vec4 v_color;\n";
123 vtx << "layout(location = 0) out highp vec4 v_coords;\n";
130 vtx << "\n"
153 vtx << " v_color = vec4(res, 1.0);\n";
158 vtx << " v_coords = a_coords;\n";
162 vtx << "}\n";
165 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, isVertex, vtx.str(), frag.str(),