radeonsi/gfx10: implement hardware MSAA resolve
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 2 Jul 2018 16:50:48 +0000 (18:50 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
commit1666ee183e2dd0ae78cbec236315ad6328692589
tree2390a9a50a316c490de7d56448c62a75088174b3
parent69c41fb8ff97bf31196a834e3e4086ae8247a9ff
radeonsi/gfx10: implement hardware MSAA resolve

MSAA is only supported for 64KB_{R,Z}_X modes, so the micro tile
optimization that we use on gfx9 and earlier does not work.

Be very explicit about how the swizzle mode of the temporary surface is
selected.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_clear.c
src/gallium/drivers/radeonsi/si_texture.c