summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-04-09 21:09:48 -0700
committerJason Ekstrand <[email protected]>2015-04-22 18:10:40 -0700
commite79120afdc17c04143ef4d7fb71394a5053114a5 (patch)
treed88ee5a241b55e48ad123e61d31c009948bea061
parent02f03fc0f111c484bd26497a85cbca7245400f68 (diff)
nir/print: Print the closing paren on load_const instructions
Reviewed-by: Connor Abbott <[email protected]>
-rw-r--r--src/glsl/nir/nir_print.c2
1 files changed, 2 insertions, 0 deletions
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