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

33 lines
590 B
Text

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