Lines Matching refs:frag
802 const string& frag = m_programData[progNdx].fragShaderSource;
804 m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSources(vert, frag))));
1148 std::ostringstream frag;
1149 std::ostringstream& op = isVertexCase ? vtx : frag;
1159 frag << "varying mediump vec4 v_color;\n";
1166 frag << "varying " << inputPrecision << " vec4 v_in" << i << ";\n";
1181 frag << "\n";
1182 frag << "void main()\n";
1183 frag << "{\n";
1261 frag << " gl_FragColor = v_color;\n";
1270 frag << "}\n";
1291 return ProgramContext(vtx.str(), frag.str(), attributes, description);
1497 std::ostringstream frag;
1498 std::ostringstream& op = isVertexCase ? vtx : frag;
1508 frag << "varying mediump vec4 v_color;\n";
1515 frag << "varying " << inputPrecision << " vec4 v_in" << i << ";\n";
1533 frag << "\n";
1534 frag << "void main()\n";
1535 frag << "{\n";
1728 frag << " gl_FragColor = v_color;\n";
1737 frag << "}\n";
1759 return ProgramContext(vtx.str(), frag.str(), attributes, description);