bgfx/3rdparty/glsl-optimizer/tests/fragment/vpos-irES.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

28 lines
535 B
Text

varying highp vec2 xlv_VPOS;
mediump vec4 xlat_main (
in highp vec2 pos
)
{
highp vec4 tmpvar_1;
tmpvar_1.zw = vec2(0.0, 0.0);
tmpvar_1.xy = pos.xy;
return tmpvar_1;
}
void main ()
{
mediump vec4 xl_retval;
highp vec2 tmpvar_1;
tmpvar_1 = xlv_VPOS.xy;
mediump vec4 tmpvar_2;
tmpvar_2 = xlat_main (tmpvar_1);
mediump vec4 tmpvar_3;
tmpvar_3 = tmpvar_2;
xl_retval = tmpvar_3;
mediump vec4 tmpvar_4;
tmpvar_4 = xl_retval.xyzw;
mediump vec4 tmpvar_5;
tmpvar_5 = tmpvar_4;
gl_FragData[0] = tmpvar_5;
}