bgfx/3rdparty/glsl-optimizer/tests/fragment/varyings-irES.txt
2014-02-10 23:06:13 -08:00

33 lines
704 B
Text

varying highp vec4 xlv_TEXCOORD0;
varying highp vec4 xlv_TEXCOORD1;
mediump vec4 xlat_main (
in highp vec4 uv_1,
in highp vec4 foobar_xlv_foo_2
)
{
mediump vec4 c_3;
vec4 tmpvar_4;
tmpvar_4 = vec4(0.0, 0.0, 0.0, 0.0);
c_3 = tmpvar_4;
return c_3;
}
void main ()
{
mediump vec4 xl_retval_5;
highp vec4 tmpvar_6;
tmpvar_6 = xlv_TEXCOORD0.xyzw;
highp vec4 tmpvar_7;
tmpvar_7 = xlv_TEXCOORD1.xyzw;
mediump vec4 tmpvar_8;
tmpvar_8 = xlat_main (tmpvar_6, tmpvar_7);
mediump vec4 tmpvar_9;
tmpvar_9 = tmpvar_8;
xl_retval_5 = tmpvar_9;
mediump vec4 tmpvar_10;
tmpvar_10 = xl_retval_5.xyzw;
mediump vec4 tmpvar_11;
tmpvar_11 = tmpvar_10;
gl_FragData[0] = tmpvar_11;
}