bgfx/3rdparty/glsl-optimizer/tests/fragment/basic-ir.txt

19 lines
258 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
vec4 xlat_main ()
{
2012-10-07 23:41:18 -04:00
return vec4(1.0, 1e+07, 1e-06, 1.5);
2012-04-03 23:30:07 -04:00
}
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 x_1;
2012-04-03 23:30:07 -04:00
vec4 tmpvar_2;
2012-10-07 23:41:18 -04:00
tmpvar_2 = xlat_main ();
2012-04-03 23:30:07 -04:00
vec4 tmpvar_3;
2012-10-07 23:41:18 -04:00
tmpvar_3 = tmpvar_2;
x_1 = tmpvar_3;
2012-04-03 23:30:07 -04:00
vec4 tmpvar_4;
2012-10-07 23:41:18 -04:00
tmpvar_4 = x_1;
2012-04-03 23:30:07 -04:00
gl_FragData[0] = tmpvar_4;
}