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

33 lines
682 B
Text

varying highp vec4 xlv_TEXCOORD1;
varying highp vec4 xlv_TEXCOORD0;
mediump vec4 xlat_main (
in highp vec4 uv,
in highp vec4 foobar_xlv_foo
)
{
mediump vec4 c;
vec4 tmpvar_1;
tmpvar_1 = vec4(0.0, 0.0, 0.0, 0.0);
c = tmpvar_1;
return c;
}
void main ()
{
mediump vec4 xl_retval;
highp vec4 tmpvar_1;
tmpvar_1 = xlv_TEXCOORD0.xyzw;
highp vec4 tmpvar_2;
tmpvar_2 = xlv_TEXCOORD1.xyzw;
mediump vec4 tmpvar_3;
tmpvar_3 = xlat_main (tmpvar_1, tmpvar_2);
mediump vec4 tmpvar_4;
tmpvar_4 = tmpvar_3;
xl_retval = tmpvar_4;
mediump vec4 tmpvar_5;
tmpvar_5 = xl_retval.xyzw;
mediump vec4 tmpvar_6;
tmpvar_6 = tmpvar_5;
gl_FragData[0] = tmpvar_6;
}