mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
iris: assert depth is 1 in resource_copy_region
given the dstz parameter I don't think it does multiple slices..
This commit is contained in:
parent
03933a2d1b
commit
0e059e4829
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue