mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
16 lines
338 B
Text
16 lines
338 B
Text
|
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( );
|
||
|
gl_FragData[0] = mediump vec4( xl_retval);
|
||
|
}
|