Re: [Mesa-dev] [PATCH v5 3/3] i965/fs_nir: Get rid of get_alu_src

2015-02-02 Thread Jason Ekstrand
On Mon, Feb 2, 2015 at 10:00 PM, Kenneth Graunke wrote: > On Thursday, January 29, 2015 01:40:20 PM Jason Ekstrand wrote: > > Originally, get_alu_src was supposed to handle resolving swizzles and > > things like that. However, now that basically every instruction we have > > only takes scalar so

Re: [Mesa-dev] [PATCH v5 3/3] i965/fs_nir: Get rid of get_alu_src

2015-02-02 Thread Kenneth Graunke
On Thursday, January 29, 2015 01:40:20 PM Jason Ekstrand wrote: > Originally, get_alu_src was supposed to handle resolving swizzles and > things like that. However, now that basically every instruction we have > only takes scalar sources, we don't really need it anymore. The only case > where it'

[Mesa-dev] [PATCH v5 3/3] i965/fs_nir: Get rid of get_alu_src

2015-01-29 Thread Jason Ekstrand
Originally, get_alu_src was supposed to handle resolving swizzles and things like that. However, now that basically every instruction we have only takes scalar sources, we don't really need it anymore. The only case where it's still marginally useful is for the mov and vecN operations that are le