Lines Matching refs:fragSrc
152 std::ostringstream fragSrc; in init() local
153 fragSrc << "#version 300 es\n"; in init()
154 fragSrc << "layout(location = 0) out mediump vec4 o_color;\n"; in init()
155 fragSrc << "in mediump vec2 v_coords;\n"; in init()
158 …fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(sampler… in init()
160 fragSrc << "void main (void)\n" in init()
166 fragSrc << "\t" << glu::getPrecisionName(samplerPrec) << " vec4 r = "; in init()
168 fragSrc << "\tr += "; in init()
171 fragSrc << "vec4("; in init()
173 fragSrc << "texture(u_sampler" << texNdx << ", v_coords)"; in init()
176 fragSrc << ")"; in init()
178 fragSrc << ";\n"; in init()
181 fragSrc << " o_color = r;\n" in init()
184 m_fragShaderSource = fragSrc.str(); in init()