nir/print: Print the closing paren on load_const instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Apr 2015 04:09:48 +0000 (21:09 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Apr 2015 01:10:40 +0000 (18:10 -0700)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_print.c

index fb8c9344c77321b77ac2501e1a02d65039b2f337..eb4045cec8e1913505a526bfcc97791cfd6e3aeb 100644 (file)
@@ -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