From f4004fde262964351f72656f396e1cca491ee955 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 1 Oct 2021 13:15:10 -0700 Subject: [PATCH] iris: Fix parameters to iris_copy_region in reallocate_resource_inplace We had accidentally passed instead of . Fixes: b8ef3271c870 ("iris: Move suballocated resources to a dedicated allocation on export") Reviewed-by: Nanley Chery Reviewed-by: Paulo Zanoni Part-of: --- src/gallium/drivers/iris/iris_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index aee9bb6b999..588bba900f3 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -1444,7 +1444,7 @@ iris_reallocate_resource_inplace(struct iris_context *ice, .depth = util_num_layers(&templ, l), }; - iris_copy_region(&ice->blorp, batch, &new_res->base.b, 0, 0, 0, l, + iris_copy_region(&ice->blorp, batch, &new_res->base.b, l, 0, 0, 0, &old_res->base.b, l, &box); } }