diff options
author | Chia-I Wu <[email protected]> | 2014-09-19 15:40:31 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-19 16:02:11 +0800 |
commit | 45cbc9267eec3ac5b426aab562e4856e3d3c50c1 (patch) | |
tree | c8860a55db60abc75b1eb83b130869b47cc05e88 /src/gallium/drivers/ilo/ilo_cp.c | |
parent | 8a2352262e27bf7d3c31a20b72eb04772d56ff42 (diff) |
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().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_cp.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_cp.c | 3 |
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); } |