amd/common: Always use addrlib for HTILE tc-compat.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 12 Dec 2019 11:10:58 +0000 (12:10 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 14 Dec 2019 20:39:29 +0000 (20:39 +0000)
commitb53856aca31b1a1fde8cd87a6978934cd6ae94b1
tree0a9d8e0ed243c8113f729d7cd7de45e0936eebd3
parente197fb1c2fccf4719630d91a7c7f76308d88132b
amd/common: Always use addrlib for HTILE tc-compat.

Even without depth+stencil addrlib can (correctly!) decide to
disable tc compatible HTILE.

One example is 8x sampling with 32-bit depth on Stoney. The row size
on Stoney is 1024, while the tile size is 2048, which results in
tile splits which are not supported with tc-compat.

On Stoney, this fixes
dEQP-VK.glsl.builtin_var.fragdepth.*_list_d32_sfloat_multisample_8

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3054>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3054>
src/amd/common/ac_surface.c