summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_builder.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-19 15:40:31 +0800
committerChia-I Wu <[email protected]>2014-09-19 16:02:11 +0800
commit45cbc9267eec3ac5b426aab562e4856e3d3c50c1 (patch)
treec8860a55db60abc75b1eb83b130869b47cc05e88 /src/gallium/drivers/ilo/ilo_builder.h
parent8a2352262e27bf7d3c31a20b72eb04772d56ff42 (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_builder.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder.h b/src/gallium/drivers/ilo/ilo_builder.h
index 2dab97fa306..ab1ee11dce6 100644
--- a/src/gallium/drivers/ilo/ilo_builder.h
+++ b/src/gallium/drivers/ilo/ilo_builder.h
@@ -170,7 +170,7 @@ ilo_builder_writer_checked_record(struct ilo_builder *builder,
enum ilo_builder_item_type item,
unsigned offset, unsigned size)
{
- if (unlikely(ilo_debug & ILO_DEBUG_3D)) {
+ if (unlikely(ilo_debug & ILO_DEBUG_BATCH)) {
if (!ilo_builder_writer_record(builder, which, item, offset, size)) {
builder->unrecoverable_error = true;
builder->writers[which].item_used = 0;