Mesa (master): iris: Fix iris_flush_and_dirty_history to actually dirty history.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 20 18:32:52 UTC 2019


Module: Mesa
Branch: master
Commit: 64fb20ed326fa0e524582225faaa4bb28f6e4349
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=64fb20ed326fa0e524582225faaa4bb28f6e4349

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jun 19 23:08:25 2019 -0500

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 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




More information about the mesa-commit mailing list