bgfx/3rdparty/glsl-optimizer/tests/fragment/bug-inline-names-ir.txt
2012-10-07 20:41:18 -07:00

36 lines
557 B
Text

varying float vv;
float foo (
in float v_1
)
{
float a_2;
float b_3;
float a_4;
float tmpvar_5;
tmpvar_5 = v_1;
a_4 = tmpvar_5;
float tmpvar_6;
tmpvar_6 = sin (v_1);
float tmpvar_7;
tmpvar_7 = tmpvar_6;
a_2 = tmpvar_7;
float tmpvar_8;
tmpvar_8 = a_2;
b_3 = tmpvar_8;
float tmpvar_9;
tmpvar_9 = (a_4 + b_3);
a_4 = tmpvar_9;
return a_4;
}
void main ()
{
float tmpvar_10;
tmpvar_10 = foo (vv);
vec4 tmpvar_11;
tmpvar_11 = vec4(tmpvar_10);
vec4 tmpvar_12;
tmpvar_12 = tmpvar_11;
gl_FragColor = tmpvar_12;
}