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

16 lines
330 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
mediump vec4 xlat_main( );
mediump vec4 xlat_main( ) {
highp float foo = 1.00000;
foo += 1.00000;
foo += 100000.;
foo += -0.00100000;
foo += 2.00000;
foo += 3.00000;
return vec4( foo);
}
void main() {
mediump vec4 xl_retval;
xl_retval = xlat_main( );
2014-02-11 02:06:13 -05:00
gl_FragData[0] = vec4( xl_retval);
2012-04-03 23:30:07 -04:00
}