Home | History | Annotate | Download | only in stress

Lines Matching defs:frag

126 	std::ostringstream	vert, frag;
131 frag << "#version 300 es\n";
139 frag << "flat in highp int v_iterCount;\n";
143 (isVertCase ? vert : frag) << "uniform highp int u_iterCount;\n";
148 frag << "in mediump vec4 v_color;\n";
151 frag << "out mediump vec4 o_color;\n";
160 frag << "\nvoid main (void)\n{\n";
167 std::ostringstream& op = isVertCase ? vert : frag;
198 frag << " o_color = v_color;\n";
201 frag << " o_color = color;\n";
204 frag << "}\n";
206 return glu::ProgramSources() << glu::VertexSource(vert.str()) << glu::FragmentSource(frag.str());