vc4: do not attempt to do deep tiled blits

We only copy a single layer, so let's not even try to support deep
blits here.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Tested-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18427>
This commit is contained in:
Erik Faye-Lund 2022-09-06 11:08:46 +02:00 committed by Marge Bot
parent eb2307ec69
commit 00c4882bc9

View file

@ -69,7 +69,9 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info)
if (info->dst.box.x != info->src.box.x ||
info->dst.box.y != info->src.box.y ||
info->dst.box.width != info->src.box.width ||
info->dst.box.height != info->src.box.height) {
info->dst.box.height != info->src.box.height ||
info->dst.box.depth != info->src.box.depth ||
info->dst.box.depth != 1) {
return false;
}