summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_program.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
index e0586304b94..03cda0e72d6 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
@@ -676,6 +676,11 @@ nvc0_program_translate(struct nvc0_program *prog, uint16_t chipset,
prog->type, info->bin.tlsSpace, prog->num_gprs,
info->bin.instructions, info->bin.codeSize);
+#ifdef DEBUG
+ if (debug_get_option("NV50_PROG_CHIPSET", NULL))
+ nvc0_program_dump(prog);
+#endif
+
out:
FREE(info);
return !ret;