vc4: Dump constant uniform values in VC4_DEBUG=qir.
[mesa.git] / src / gallium / drivers / vc4 / vc4_opt_copy_propagation.c
index 66b7c80a77db51580300d8e8065a2266e9e1932e..0cffb284e44eff5fd7d55f46d67e45d90a388b70 100644 (file)
@@ -63,7 +63,7 @@ qir_opt_copy_propagation(struct vc4_compile *c)
                               !reads_a_uniform))) {
                                 if (debug) {
                                         fprintf(stderr, "Copy propagate: ");
-                                        qir_dump_inst(inst);
+                                        qir_dump_inst(c, inst);
                                         fprintf(stderr, "\n");
                                 }
 
@@ -73,7 +73,7 @@ qir_opt_copy_propagation(struct vc4_compile *c)
 
                                 if (debug) {
                                         fprintf(stderr, "to: ");
-                                        qir_dump_inst(inst);
+                                        qir_dump_inst(c, inst);
                                         fprintf(stderr, "\n");
                                 }