aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-09 16:09:55 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commitb77d2dc71bdce7fc6272fc8bfcce9fb9c0dee2a8 (patch)
tree4db5d6cd20adda27d5580af9eb49ab3cf9738645
parentbfc76d35250c37f41003f618893eb2fd35097b13 (diff)
iris: Make blit code use actual aux usages
-rw-r--r--src/gallium/drivers/iris/iris_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c
index aafbfcf85e2..8b704d6d891 100644
--- a/src/gallium/drivers/iris/iris_blit.c
+++ b/src/gallium/drivers/iris/iris_blit.c
@@ -306,9 +306,9 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
struct blorp_surf src_surf, dst_surf;
iris_blorp_surf_for_resource(&src_surf, info->src.resource,
- ISL_AUX_USAGE_NONE, false);
+ src_aux_usage, false);
iris_blorp_surf_for_resource(&dst_surf, info->dst.resource,
- ISL_AUX_USAGE_NONE, true);
+ dst_aux_usage, true);
iris_resource_prepare_access(ice, batch, dst_res, info->dst.level, 1,
info->dst.box.z, info->dst.box.depth,