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: b8ef3271c8
("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>
This commit is contained in:
parent
68b7b4fb38
commit
f4004fde26
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue