Lines Matching defs:frag
454 std::ostringstream frag;
455 std::ostringstream& op = isVtxCase ? vert : frag;
466 frag << "varying mediump vec4 v_color;\n";
471 frag << "varying " << coordPrecName << " " << coordTypeName << " v_texCoord;\n";
476 frag << "varying " << coordPrecName << " float v_lodBias;\n";
485 frag << "\nvoid main()\n{\n";
490 frag << "\tgl_FragColor = ";
507 frag << "\tgl_FragColor = v_color;\n";
517 frag << "}\n";
520 m_fragShaderSource = frag.str();