OSDN Git Service

amd/common: Fix tcCompatible degradation on Stoney.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 11 Dec 2019 15:04:58 +0000 (16:04 +0100)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 16 Dec 2019 21:59:23 +0000 (13:59 -0800)
commit4f45bac153f21394751ade4b9d2e582cffac2737
treefa50fa93aa5121c3e1bdad691be5ef75919d6d84
parentfbb0f5dfbb047c5ce6f4a5931249199e3ba1332c
amd/common: Fix tcCompatible degradation on Stoney.

addrlib sometimes returns smaller sizes for tcCompat as it does
not seem to take into account the depth+stencil matching config
gymnastics with tcCompat.

This fixes
dEQP-VK.pipeline.render_to_image.core.2d_array.huge.height.r8g8b8a8_unorm_d32_sfloat_s8_uint

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3054>
(cherry picked from commit e197fb1c2fccf4719630d91a7c7f76308d88132b)
src/amd/common/ac_surface.c