From e79120afdc17c04143ef4d7fb71394a5053114a5 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 9 Apr 2015 21:09:48 -0700 Subject: nir/print: Print the closing paren on load_const instructions Reviewed-by: Connor Abbott --- src/glsl/nir/nir_print.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c index fb8c9344c77..eb4045cec8e 100644 --- a/src/glsl/nir/nir_print.c +++ b/src/glsl/nir/nir_print.c @@ -533,6 +533,8 @@ print_load_const_instr(nir_load_const_instr *instr, unsigned tabs, FILE *fp) fprintf(fp, "0x%08x /* %f */", instr->value.u[i], instr->value.f[i]); } + + fprintf(fp, ")"); } static void -- cgit v1.2.3