glsl: drop opt if simplification
This has no real benefit now that we convert to nir at compile time.
shader-db results radeonsi:
TOTALS FROM AFFECTED SHADERS (12/168079)
SGPRS: 560.00 -> 560.00 (0.00 %)
VGPRS: 320.00 -> 336.00 (5.00 %)
Spilled SGPRs: 0.00 -> 0.00 (0.00 %)
Spilled VGPRs: 0.00 -> 0.00 (0.00 %)
Private memory VGPRs: 0.00 -> 0.00 (0.00 %)
Scratch size: 0.00 -> 0.00 (0.00 %) dwords per thread
Code Size: 14560.00 -> 14728.00 (1.15 %) bytes
Max Waves: 192.00 -> 192.00 (0.00 %)
Outputs: 0.00 -> 0.00 (0.00 %)
Patch Outputs: 0.00 -> 0.00 (0.00 %)
shader-db results iris (BDW):
total instructions in shared programs: 17806704 -> 17806704 (0.00%)
instructions in affected programs: 0 -> 0
helped: 0
HURT: 0
total cycles in shared programs: 856898104 -> 856897791 (<.01%)
cycles in affected programs: 101626 -> 101313 (-0.31%)
helped: 26
HURT: 11
helped stats (abs) min: 1 max: 40 x̄: 16.35 x̃: 16
helped stats (rel) min: 0.02% max: 3.44% x̄: 1.28% x̃: 0.76%
HURT stats (abs) min: 2 max: 24 x̄: 10.18 x̃: 6
HURT stats (rel) min: 0.06% max: 0.51% x̄: 0.28% x̃: 0.20%
95% mean confidence interval for cycles value: -14.16 -2.76
95% mean confidence interval for cycles %-change: -1.25% -0.39%
Cycles are helped.
LOST: 0
GAINED: 1
Edited by Timothy Arceri