OSDN Git Service

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)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 16 Dec 2019 21:59:27 +0000 (13:59 -0800)
commite3f1a591723cb5e9f20eaaa7aa093775053c48ce
tree986fb2bf8029e9470b819823a233b2fc30d7b454
parent4f45bac153f21394751ade4b9d2e582cffac2737
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>
(cherry picked from commit b53856aca31b1a1fde8cd87a6978934cd6ae94b1)
src/amd/common/ac_surface.c