Re: [Mesa-dev] [PATCH V6 05/27] glsl: remove dead code in a single pass

2015-10-06 Thread Ian Romanick
On 09/28/2015 07:42 PM, Timothy Arceri wrote: > Currently only one ir assignment is removed for each var in a single > dead code optimisation pass. This means if a var has more than one > assignment, then it requires all the glsl optimisations to be run again > for each additional assignment to be

[Mesa-dev] [PATCH V6 05/27] glsl: remove dead code in a single pass

2015-09-28 Thread Timothy Arceri
Currently only one ir assignment is removed for each var in a single dead code optimisation pass. This means if a var has more than one assignment, then it requires all the glsl optimisations to be run again for each additional assignment to be removed. Another pass is also required to remove the v