summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_cp.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_cp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.c b/src/gallium/drivers/ilo/ilo_cp.c
index f7411a92465..37e9b2ae2bf 100644
--- a/src/gallium/drivers/ilo/ilo_cp.c
+++ b/src/gallium/drivers/ilo/ilo_cp.c
@@ -138,6 +138,9 @@ ilo_cp_submit_internal(struct ilo_cp *cp)
cp->last_submitted_bo = bo;
intel_bo_reference(cp->last_submitted_bo);
+ if (ilo_debug & ILO_DEBUG_BATCH)
+ ilo_builder_decode(&cp->builder);
+
if (cp->submit_callback)
cp->submit_callback(cp, cp->submit_callback_data);
}