From: Kenneth Graunke Date: Thu, 20 Jun 2019 04:08:25 +0000 (-0500) Subject: iris: Fix iris_flush_and_dirty_history to actually dirty history. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64fb20ed326fa0e524582225faaa4bb28f6e4349;p=mesa.git 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. --- diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index c696b0916f5..f088f259f19 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