ac/surface: store HTILE mip info into the surface
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Dec 2020 17:59:18 +0000 (18:59 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Jan 2021 08:02:17 +0000 (09:02 +0100)
commit8087202a6555218b647089016981ce0bb3a858b2
treeb8e82077c336459285f63a470ebeb0d2e557cea1
parent2f5ef1e8915bf661688edde26a3198e06cbcaf1b
ac/surface: store HTILE mip info into the surface

GFX10 can only compress the first level in the mip tail.
GFX9+ is not yet supported because mips are interleaved.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8124>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h