iris: Fix iris_flush_and_dirty_history to actually dirty history.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Jun 2019 04:08:25 +0000 (23:08 -0500)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Jun 2019 18:32:15 +0000 (13:32 -0500)
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

index c696b0916f5bee1feb55750c36a4c8f38181b43b..f088f259f19427be6607896597c7eab24782e742 100644 (file)
@@ -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