projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc76d3
)
iris: Make blit code use actual aux usages
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 10 Dec 2018 00:09:55 +0000
(16:09 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_blit.c
b/src/gallium/drivers/iris/iris_blit.c
index
aafbfcf
..
8b704d6
100644
(file)
--- 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,