Re: [Mesa-dev] [PATCH 1/5] nir: Expose nir_print_instr() for debug prints

2015-01-21 Thread Jason Ekstrand
On Wed, Jan 21, 2015 at 5:25 PM, Eric Anholt wrote: > It's nice to have this present in your default cases so you can see what > instruction is triggering an abort. > --- > src/glsl/nir/nir.h | 1 + > src/glsl/nir/nir_print.c | 14 -- > 2 files changed, 13 insertions(+), 2 del

[Mesa-dev] [PATCH 1/5] nir: Expose nir_print_instr() for debug prints

2015-01-21 Thread Eric Anholt
It's nice to have this present in your default cases so you can see what instruction is triggering an abort. --- src/glsl/nir/nir.h | 1 + src/glsl/nir/nir_print.c | 14 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h in