projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a17d5
)
iris: actually handle array layers in blits
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 4 Jul 2018 23:07:28 +0000
(16:07 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +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 da23a9d524c0ea576756188ff852541721c70b05..b83f1aa7172d116804acdf45444cf73e3c77387f 100644
(file)
--- a/
src/gallium/drivers/iris/iris_blit.c
+++ b/
src/gallium/drivers/iris/iris_blit.c
@@
-80,9
+80,8
@@
iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
enum isl_format src_isl_format = iris_get_blorp_format(info->src.format);
enum isl_format dst_isl_format = iris_get_blorp_format(info->dst.format);
- // XXX: ???
- unsigned dst_layer = 0;
- unsigned src_layer = 0;
+ unsigned dst_layer = info->dst.box.z;
+ unsigned src_layer = info->src.box.z;
struct isl_swizzle src_isl_swizzle = ISL_SWIZZLE_IDENTITY;