Re: [Mesa-dev] [PATCH] nir: Mark nir_print_instr's instr pointer as const.

2015-02-09 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Mon, Feb 9, 2015 at 4:42 PM, Kenneth Graunke wrote: > Printing instructions doesn't modify them, so we can mark the parameter > const. > --- > src/glsl/nir/nir.h | 2 +- > src/glsl/nir/nir_print.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-)

[Mesa-dev] [PATCH] nir: Mark nir_print_instr's instr pointer as const.

2015-02-09 Thread Kenneth Graunke
Printing instructions doesn't modify them, so we can mark the parameter const. --- src/glsl/nir/nir.h | 2 +- src/glsl/nir/nir_print.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 4cb2e92..ceda977 100644 --- a/src/glsl