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:
Marek Olšák 2024-08-03 15:37:10 -04:00 committed by Marge Bot
parent 0f665b8178
commit de83b5ef77

View file

@ -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;