Re: [Mesa-dev] [PATCH 4/5] nir: Make some helpers for copying ALU src/dests.

2015-01-23 Thread Jason Ekstrand
On Fri, Jan 23, 2015 at 4:25 PM, Jason Ekstrand wrote: > I'll throw together a patch to make nir_src_copy take pointers to keep > things consistent. > > Reviewed-by: Jason Ekstrand > > On Thu, Jan 22, 2015 at 11:08 AM, Eric Anholt wrote: > >> Jason Ekstrand writes: >> >> > On Wed, Jan 21, 2015

Re: [Mesa-dev] [PATCH 4/5] nir: Make some helpers for copying ALU src/dests.

2015-01-23 Thread Jason Ekstrand
I'll throw together a patch to make nir_src_copy take pointers to keep things consistent. Reviewed-by: Jason Ekstrand On Thu, Jan 22, 2015 at 11:08 AM, Eric Anholt wrote: > Jason Ekstrand writes: > > > On Wed, Jan 21, 2015 at 5:26 PM, Eric Anholt wrote: > > > >> There aren't many users yet,

Re: [Mesa-dev] [PATCH 4/5] nir: Make some helpers for copying ALU src/dests.

2015-01-22 Thread Eric Anholt
Jason Ekstrand writes: > On Wed, Jan 21, 2015 at 5:26 PM, Eric Anholt wrote: > >> There aren't many users yet, but I wanted to do this from my scalarizing >> pass. >> --- >> src/glsl/nir/nir.c | 18 ++ >> src/glsl/nir/nir.h | 5 - >>

Re: [Mesa-dev] [PATCH 4/5] nir: Make some helpers for copying ALU src/dests.

2015-01-21 Thread Jason Ekstrand
On Wed, Jan 21, 2015 at 5:26 PM, Eric Anholt wrote: > There aren't many users yet, but I wanted to do this from my scalarizing > pass. > --- > src/glsl/nir/nir.c | 18 ++ > src/glsl/nir/nir.h | 5 - > src/glsl/nir/nir_lower_vec_to_movs

[Mesa-dev] [PATCH 4/5] nir: Make some helpers for copying ALU src/dests.

2015-01-21 Thread Eric Anholt
There aren't many users yet, but I wanted to do this from my scalarizing pass. --- src/glsl/nir/nir.c | 18 ++ src/glsl/nir/nir.h | 5 - src/glsl/nir/nir_lower_vec_to_movs.c | 7 ++- src/glsl/nir/nir_opt_peephole_select.c | 5 +--