bgfx/3rdparty/glsl-optimizer/tests/fragment/z-flare-inES.txt

12 lines
370 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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);
}