Lines Matching defs:frag
107 std::ostringstream frag;
108 std::ostringstream& op = isVertex ? vtx : frag;
113 frag << "#version 310 es\n"
119 frag << "layout(location = 0) in mediump vec4 v_color;\n";
124 frag << "layout(location = 0) in highp vec4 v_coords;\n";
134 frag << "\n"
154 frag << " o_color = v_color;\n";
159 frag << " o_color = vec4(res, 1.0);\n";
163 frag << "}\n";
165 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, isVertex, vtx.str(), frag.str(),