Re: [Mesa-dev] [PATCH 10/25] glsl: remove dead code in a single pass

2015-08-20 Thread Ian Romanick
On 08/20/2015 11:12 AM, Ilia Mirkin wrote: > On Thu, Aug 20, 2015 at 2:08 PM, Ian Romanick wrote: >> s/optimisation/optimization/ elsewhere (including the commit message) too. > > Does mesa standardise on US spelling? I did not realize that the British spelling was different. I think we mostly

Re: [Mesa-dev] [PATCH 10/25] glsl: remove dead code in a single pass

2015-08-20 Thread Ilia Mirkin
On Thu, Aug 20, 2015 at 2:08 PM, Ian Romanick wrote: > s/optimisation/optimization/ elsewhere (including the commit message) too. Does mesa standardise on US spelling? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org

Re: [Mesa-dev] [PATCH 10/25] glsl: remove dead code in a single pass

2015-08-20 Thread Ian Romanick
On 08/19/2015 09:37 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 10/25] glsl: remove dead code in a single pass

2015-08-19 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