Home | History | Annotate | Download | only in performance

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;
1152 frag << "#version 300 es\n"
1163 frag << "in mediump vec4 v_color;\n";
1170 frag << "in " << inputPrecision << " vec4 v_in" << i << ";\n";
1185 frag << "\n";
1186 frag << "void main()\n";
1187 frag << "{\n";
1265 frag << " o_color = v_color;\n";
1274 frag << "}\n";
1295 return ProgramContext(vtx.str(), frag.str(), attributes, description);
1501 std::ostringstream frag;
1502 std::ostringstream& op = isVertexCase ? vtx : frag;
1505 frag << "#version 300 es\n"
1516 frag << "in mediump vec4 v_color;\n";
1523 frag << "in " << inputPrecision << " vec4 v_in" << i << ";\n";
1541 frag << "\n";
1542 frag << "void main()\n";
1543 frag << "{\n";
1736 frag << " o_color = v_color;\n";
1745 frag << "}\n";
1767 return ProgramContext(vtx.str(), frag.str(), attributes, description);