summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_transfer.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-04 13:56:32 +0800
committerChia-I Wu <[email protected]>2014-09-09 13:31:36 +0800
commit55f80a3290cb0e07db780265369eb504573b4e62 (patch)
tree73f26e1b54ea39df331af02fe9092e42351da75f /src/gallium/drivers/ilo/ilo_transfer.c
parentdab4a676f7590e94640461ad454911e09d95fa88 (diff)
ilo: make ilo_cp based on ilo_builder
This makes ilo_cp use the builder to manage batch buffers, and use ilo_builder_decode() to replace ilo_3d_pipeline_dump().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_transfer.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_transfer.c b/src/gallium/drivers/ilo/ilo_transfer.c
index de6f4324b9a..50eda3da56a 100644
--- a/src/gallium/drivers/ilo/ilo_transfer.c
+++ b/src/gallium/drivers/ilo/ilo_transfer.c
@@ -1045,7 +1045,7 @@ copy_staging_resource(struct ilo_context *ilo,
static bool
is_bo_busy(struct ilo_context *ilo, struct intel_bo *bo, bool *need_flush)
{
- const bool referenced = intel_bo_has_reloc(ilo->cp->bo, bo);
+ const bool referenced = ilo_builder_has_reloc(&ilo->cp->builder, bo);
if (need_flush)
*need_flush = referenced;