Lines Matching refs:frag
76 std::ostringstream frag; in createExpressionCase() local
77 std::ostringstream& op = isVertexCase ? vtx : frag; in createExpressionCase()
85 frag << "varying mediump vec3 v_color;\n"; in createExpressionCase()
90 frag << "varying mediump vec4 v_coords;\n"; in createExpressionCase()
100 frag << "\n"; in createExpressionCase()
101 frag << "void main()\n"; in createExpressionCase()
102 frag << "{\n"; in createExpressionCase()
116 frag << " gl_FragColor = vec4(v_color, 1.0);\n"; in createExpressionCase()
121 frag << " gl_FragColor = vec4(res, 1.0);\n"; in createExpressionCase()
125 frag << "}\n"; in createExpressionCase()
132 StringTemplate fragTemplate(frag.str().c_str()); in createExpressionCase()