radeonsi: fix and enable full DCC with MSAA 2x on gfx9
authorMarek Olšák <marek.olsak@amd.com>
Fri, 19 Mar 2021 20:14:23 +0000 (16:14 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 03:17:42 +0000 (03:17 +0000)
commit8b95f51ef139b9995da020c19340410340f959db
tree78fd59cd946fce3d6f250d8af9d61e211eb46713
parent7e68fae25f6e5416787edb8dd74844f4c89ff482
radeonsi: fix and enable full DCC with MSAA 2x on gfx9

This enables fast clear with any clear color (not just 0/1) for bpp >= 32.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10003>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_clear.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_texture.c