mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 05:20:30 +01:00
ac/surface/gfx12: fix setting tile_swizzle
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30503>
This commit is contained in:
parent
0f665b8178
commit
de83b5ef77
1 changed files with 1 additions and 0 deletions
|
|
@ -3153,6 +3153,7 @@ static bool gfx12_compute_miptree(struct ac_addrlib *addrlib, const struct radeo
|
|||
return false;
|
||||
|
||||
assert(xout.pipeBankXor <= u_bit_consecutive(0, sizeof(surf->tile_swizzle) * 8 + 2));
|
||||
surf->tile_swizzle = xout.pipeBankXor;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue