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

34 lines
612 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying vec4 xlv_TEXCOORD1;
varying vec4 xlv_TEXCOORD0;
vec4 xlat_main (
2012-10-07 23:41:18 -04:00
in vec4 uv_1,
in vec4 foobar_xlv_foo_2
2012-04-03 23:30:07 -04:00
)
{
2012-10-07 23:41:18 -04:00
vec4 c_3;
vec4 tmpvar_4;
tmpvar_4 = vec4(0.0, 0.0, 0.0, 0.0);
c_3 = tmpvar_4;
return c_3;
2012-04-03 23:30:07 -04:00
}
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 xl_retval_5;
2012-04-03 23:30:07 -04:00
vec4 tmpvar_6;
2012-10-07 23:41:18 -04:00
tmpvar_6 = xlv_TEXCOORD0.xyzw;
vec4 tmpvar_7;
tmpvar_7 = xlv_TEXCOORD1.xyzw;
vec4 tmpvar_8;
tmpvar_8 = xlat_main (tmpvar_6, tmpvar_7);
vec4 tmpvar_9;
tmpvar_9 = tmpvar_8;
xl_retval_5 = tmpvar_9;
vec4 tmpvar_10;
tmpvar_10 = xl_retval_5.xyzw;
vec4 tmpvar_11;
tmpvar_11 = tmpvar_10;
gl_FragData[0] = tmpvar_11;
2012-04-03 23:30:07 -04:00
}