From 64fb20ed326fa0e524582225faaa4bb28f6e4349 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 19 Jun 2019 23:08:25 -0500 Subject: [PATCH] iris: Fix iris_flush_and_dirty_history to actually dirty history. When I split iris_flush_and_dirty_history into two helper functions, I accidentally made it stop dirtying. Which was...sort of the point. Fixes: 21688a306b2 iris: Split iris_flush_and_dirty_for_history into two helpers. --- src/gallium/drivers/iris/iris_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index c696b09..f088f25 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -1576,6 +1576,8 @@ iris_flush_and_dirty_for_history(struct iris_context *ice, flush |= PIPE_CONTROL_RENDER_TARGET_FLUSH; iris_emit_pipe_control_flush(batch, reason, flush); + + iris_dirty_for_history(ice, res); } bool -- 2.7.4