From 45cbc9267eec3ac5b426aab562e4856e3d3c50c1 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 19 Sep 2014 15:40:31 +0800 Subject: ilo: rename ILO_DEBUG=3d It has been a bad name since we added the builder. Rename it to ILO_DEBUG=batch to match i965, and call ilo_builder_decode() from ilo_cp_submit_internal(). --- src/gallium/drivers/ilo/ilo_cp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/ilo/ilo_cp.c') 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); } -- cgit v1.2.3