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

51 lines
1.1 KiB
Text

struct v2f {
vec4 pos;
float unusedmember;
};
void main ()
{
float arrunused_1[3];
float arrused_2[3];
float funused_3;
float fused_4;
v2f sunused_5;
v2f sused_6;
float f_7;
float tmpvar_8;
tmpvar_8 = gl_FragCoord.x;
f_7 = tmpvar_8;
vec4 tmpvar_9;
tmpvar_9 = vec4(f_7);
vec4 tmpvar_10;
tmpvar_10 = tmpvar_9;
sused_6.pos = tmpvar_10;
float tmpvar_11;
tmpvar_11 = (f_7 * 6.0);
sused_6.unusedmember = tmpvar_11;
vec4 tmpvar_12;
tmpvar_12 = vec4(f_7);
vec4 tmpvar_13;
tmpvar_13 = tmpvar_12;
sunused_5.pos = tmpvar_13;
float tmpvar_14;
tmpvar_14 = (f_7 * 7.0);
sunused_5.unusedmember = tmpvar_14;
float tmpvar_15;
tmpvar_15 = (f_7 * 2.0);
fused_4 = tmpvar_15;
float tmpvar_16;
tmpvar_16 = (f_7 * 3.0);
funused_3 = tmpvar_16;
float tmpvar_17;
tmpvar_17 = (f_7 * 4.0);
arrused_2[0] = tmpvar_17;
float tmpvar_18;
tmpvar_18 = (f_7 * 5.0);
arrunused_1[0] = tmpvar_18;
vec4 tmpvar_19;
tmpvar_19 = vec4(((fused_4 + sused_6.pos.x) + arrused_2[0]));
vec4 tmpvar_20;
tmpvar_20 = tmpvar_19;
gl_FragColor = tmpvar_20;
}