From 82ee971497daac83c1b128fa2ccf50b0b08aab34 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 24 Jul 2018 21:03:52 -0700 Subject: [PATCH] iris: drop unused bo parameter --- src/gallium/drivers/iris/iris_pipe_control.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/iris/iris_pipe_control.c b/src/gallium/drivers/iris/iris_pipe_control.c index a296dcc495a..ed261fdc1c0 100644 --- a/src/gallium/drivers/iris/iris_pipe_control.c +++ b/src/gallium/drivers/iris/iris_pipe_control.c @@ -147,7 +147,7 @@ iris_cache_sets_clear(struct iris_batch *batch) * different caches within a batchbuffer, it's all our responsibility. */ static void -flush_depth_and_render_caches(struct iris_batch *batch, struct iris_bo *bo) +flush_depth_and_render_caches(struct iris_batch *batch) { iris_emit_pipe_control_flush(batch, PIPE_CONTROL_DEPTH_CACHE_FLUSH | @@ -167,7 +167,7 @@ iris_cache_flush_for_read(struct iris_batch *batch, { if (_mesa_hash_table_search(batch->cache.render, bo) || _mesa_set_search(batch->cache.depth, bo)) - flush_depth_and_render_caches(batch, bo); + flush_depth_and_render_caches(batch); } static void * @@ -183,7 +183,7 @@ iris_cache_flush_for_render(struct iris_batch *batch, enum isl_aux_usage aux_usage) { if (_mesa_set_search(batch->cache.depth, bo)) - flush_depth_and_render_caches(batch, bo); + flush_depth_and_render_caches(batch); /* Check to see if this bo has been used by a previous rendering operation * but with a different format or aux usage. If it has, flush the render @@ -210,7 +210,7 @@ iris_cache_flush_for_render(struct iris_batch *batch, */ struct hash_entry *entry = _mesa_hash_table_search(batch->cache.render, bo); if (entry && entry->data != format_aux_tuple(format, aux_usage)) - flush_depth_and_render_caches(batch, bo); + flush_depth_and_render_caches(batch); } void @@ -238,7 +238,7 @@ iris_cache_flush_for_depth(struct iris_batch *batch, struct iris_bo *bo) { if (_mesa_hash_table_search(batch->cache.render, bo)) - flush_depth_and_render_caches(batch, bo); + flush_depth_and_render_caches(batch); } void -- 2.30.2