- fprintf(stderr, "0x%016"PRIx64" %s\n", c->qpu_insts[i], str);
+ fprintf(stderr, "0x%016"PRIx64" %s", c->qpu_insts[i], str);
+
+ /* We can only do this on 4.x, because we're not tracking TMU
+ * implicit uniforms here on 3.x.
+ */
+ if (c->devinfo->ver >= 40 &&
+ reads_uniform(c->devinfo, c->qpu_insts[i])) {
+ fprintf(stderr, " (");
+ vir_dump_uniform(c->uniform_contents[next_uniform],
+ c->uniform_data[next_uniform]);
+ fprintf(stderr, ")");
+ next_uniform++;
+ }
+ fprintf(stderr, "\n");
+ ralloc_free((void *)str);