iris: Fix parameters to iris_copy_region in reallocate_resource_inplace
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Oct 2021 20:15:10 +0000 (13:15 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 16 Nov 2021 11:22:04 +0000 (11:22 +0000)
commitf4004fde262964351f72656f396e1cca491ee955
tree19639aa7995f34c614dc89cfe61ad5ddb88d49ed
parent68b7b4fb38e0bbdb5f84443a6a071ecd0fed7bd2
iris: Fix parameters to iris_copy_region in reallocate_resource_inplace

We had accidentally passed <x, y, z, l> instead of <l, x, y, z>.

Fixes: b8ef3271c870 ("iris: Move suballocated resources to a dedicated allocation on export")
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13815>
src/gallium/drivers/iris/iris_resource.c