mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
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> (cherry picked from commitf4004fde26)
This commit is contained in:
parent
6e1de95860
commit
ca307d8cbf
2 changed files with 2 additions and 2 deletions
|
|
@ -409,7 +409,7 @@
|
|||
"description": "iris: Fix parameters to iris_copy_region in reallocate_resource_inplace",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "b8ef3271c870a4e8c0d641cbe4114f827015b75b"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1446,7 +1446,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…
Add table
Reference in a new issue