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

29 lines
473 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying vec2 xlv_VPOS;
vec4 xlat_main (
2012-10-07 23:41:18 -04:00
in vec2 pos_1
2012-04-03 23:30:07 -04:00
)
{
2012-10-07 23:41:18 -04:00
vec4 tmpvar_2;
tmpvar_2.zw = vec2(0.0, 0.0);
tmpvar_2.xy = pos_1.xy;
return tmpvar_2;
2012-04-03 23:30:07 -04:00
}
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 xl_retval_3;
vec2 tmpvar_4;
tmpvar_4 = xlv_VPOS.xy;
2012-04-03 23:30:07 -04:00
vec4 tmpvar_5;
2012-10-07 23:41:18 -04:00
tmpvar_5 = xlat_main (tmpvar_4);
vec4 tmpvar_6;
tmpvar_6 = tmpvar_5;
xl_retval_3 = tmpvar_6;
vec4 tmpvar_7;
tmpvar_7 = xl_retval_3.xyzw;
vec4 tmpvar_8;
tmpvar_8 = tmpvar_7;
gl_FragData[0] = tmpvar_8;
2012-04-03 23:30:07 -04:00
}