Re: [Mesa-dev] [PATCH 01/10] nir: use nir_foreach_ssa_def for indexing ssa defs

2015-02-05 Thread Connor Abbott
Reviewed-by: Connor Abbott On Thu, Feb 5, 2015 at 5:28 PM, Jason Ekstrand wrote: > This is both simpler and more correct. The old code didn't properly index > load_const instructions. > --- > src/glsl/nir/nir.c | 26 -- > 1 file changed, 4 insertions(+), 22 deletions(-)

[Mesa-dev] [PATCH 01/10] nir: use nir_foreach_ssa_def for indexing ssa defs

2015-02-05 Thread Jason Ekstrand
This is both simpler and more correct. The old code didn't properly index load_const instructions. --- src/glsl/nir/nir.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 10e6ed3..9a88bd3 100644 --- a/src