Lines Matching defs:frag
72 ostringstream frag;
73 ostringstream& op = isVertexCase ? vtx : frag;
79 frag << "#version 300 es\n"
85 frag << "flat in " << precName << " " << typeName << " v_out;\n";
91 frag << "flat in " << precName << " " << typeName << " v_in0;\n"
97 frag << "\nvoid main (void)\n{\n";
109 frag << " o_out = floatBitsToUint(v_out);\n";
115 frag << " o_out = floatBitsToUint(res);\n";
119 frag << "}\n";
121 return new glu::ShaderProgram(context, glu::makeVtxFragSources(vtx.str(), frag.str()));
129 ostringstream frag;
130 ostringstream& op = isVertexCase ? vtx : frag;
136 frag << "#version 300 es\n"
142 frag << "flat in " << precName << " " << typeName << " v_out;\n";
148 frag << "flat in " << precName << " " << typeName << " v_in0;\n"
154 frag << "\nvoid main (void)\n{\n";
163 frag << " o_out = v_out;\n";
172 frag << "}\n";
174 return new glu::ShaderProgram(context, glu::makeVtxFragSources(vtx.str(), frag.str()));