Re: [Mesa-dev] [PATCH] i965/fs: Allow copy propagation on ATTR file registers.

2015-03-18 Thread Jason Ekstrand
On Tue, Mar 10, 2015 at 4:18 AM, Kenneth Graunke wrote: > This especially helps with NIR because we currently emit MOVs at the top > of the shader to copy from various ATTR registers to a giant VGRF array > of all inputs. (This could potentially be done better, but since > there's only ever one w

Re: [Mesa-dev] [PATCH] i965/fs: Allow copy propagation on ATTR file registers.

2015-03-18 Thread Matt Turner
On Tue, Mar 10, 2015 at 4:18 AM, Kenneth Graunke wrote: > This especially helps with NIR because we currently emit MOVs at the top > of the shader to copy from various ATTR registers to a giant VGRF array > of all inputs. (This could potentially be done better, but since > there's only ever one w

[Mesa-dev] [PATCH] i965/fs: Allow copy propagation on ATTR file registers.

2015-03-10 Thread Kenneth Graunke
This especially helps with NIR because we currently emit MOVs at the top of the shader to copy from various ATTR registers to a giant VGRF array of all inputs. (This could potentially be done better, but since there's only ever one write to each register, it should be trivial to copy propagate awa