summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-06-19 23:08:25 -0500
committerKenneth Graunke <[email protected]>2019-06-20 13:32:15 -0500
commit64fb20ed326fa0e524582225faaa4bb28f6e4349 (patch)
tree14206300f8a1a08acf2b0bdaab04418ba8cd5923 /src/gallium/drivers/iris/iris_resource.c
parent5e501ffeb245c3e2e4f93260495aaff960cd8876 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c2
1 files changed, 2 insertions, 0 deletions
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