bgfx/3rdparty/glsl-optimizer/tests/fragment/z-flare-inES.txt
2012-10-07 20:41:18 -07:00

12 lines
370 B
Plaintext

uniform sampler2D _FlareTexture;
lowp vec4 xlat_main( in lowp vec4 color, in highp vec2 texcoord ) {
return (texture2D( _FlareTexture, texcoord) * color);
}
varying lowp vec4 xlv_COLOR;
varying highp vec2 xlv_TEXCOORD0;
void main() {
lowp vec4 xl_retval;
xl_retval = xlat_main( vec4(xlv_COLOR), vec2(xlv_TEXCOORD0));
gl_FragData[0] = vec4( xl_retval);
}