projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03933a2
)
iris: assert depth is 1 in resource_copy_region
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 15 Aug 2018 06:22:12 +0000
(23:22 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000
(10:26 -0800)
given the dstz parameter I don't think it does multiple slices..
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 ef6900ca5ab52b12bc5f2b8a3d8a26178f2eb0aa..5e9a2bcb4974b6a010341c44da2ef25d534d64ea 100644
(file)
--- a/
src/gallium/drivers/iris/iris_blit.c
+++ b/
src/gallium/drivers/iris/iris_blit.c
@@
-214,6
+214,8
@@
iris_resource_copy_region(struct pipe_context *ctx,
unsigned dst_layer = dstz;
unsigned src_layer = src_box->z;
+ assert(src_box->depth == 1);
+
struct iris_batch *batch = &ice->render_batch;
iris_batch_maybe_flush(batch, 1500);