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.
This commit is contained in:
Kenneth Graunke
2019-06-19 23:12:52 -05:00
parent 1d63af0f2c
commit ecc500398f
4 changed files with 8 additions and 9 deletions

View File

@@ -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");
}