summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_blit.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-06-19 23:12:52 -0500
committerKenneth Graunke <[email protected]>2019-06-20 13:32:16 -0500
commitecc500398f29c2dd7a86de7dec20f121974c65a2 (patch)
treefd1b123b4e7368f782a421545848aed5fda8c9ba /src/gallium/drivers/iris/iris_blit.c
parent1d63af0f2c6be12d134357670c32c47ace2c8da2 (diff)
iris: Drop RT flushes from depth stencil clearing flushes.
These write depth and stencil, not color writes, so there's no need to flush the render target.
Diffstat (limited to 'src/gallium/drivers/iris/iris_blit.c')
-rw-r--r--src/gallium/drivers/iris/iris_blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c
index 1ac56aa4eaf..6f90910b516 100644
--- a/src/gallium/drivers/iris/iris_blit.c
+++ b/src/gallium/drivers/iris/iris_blit.c
@@ -493,6 +493,7 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
iris_flush_and_dirty_for_history(ice, batch, (struct iris_resource *)
info->dst.resource,
+ PIPE_CONTROL_RENDER_TARGET_FLUSH,
"cache history: post-blit");
}
@@ -640,6 +641,7 @@ iris_resource_copy_region(struct pipe_context *ctx,
}
iris_flush_and_dirty_for_history(ice, batch, (struct iris_resource *) dst,
+ PIPE_CONTROL_RENDER_TARGET_FLUSH,
"cache history: post copy_region");
}