ac/surface: fix MSAA crash with FORCE_SWIZZLE_MODE on gfx9
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 May 2020 14:56:20 +0000 (10:56 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 20:03:15 +0000 (20:03 +0000)
commitc4cdef64ad6d11e82894d24691348c38d7fad6ce
treee23556aac7bec804cdfbc1f3a045f286cb0cad9a
parent1dcf291e3bf7050a396cee74b6baca99a575d915
ac/surface: fix MSAA crash with FORCE_SWIZZLE_MODE on gfx9

Fixes: 3dc2ccc14c0e035 "ac/surface: replace RADEON_SURF_OPTIMIZE_FOR_SPACE with !FORCE_SWIZZLE_MODE"
Closes: #2884
Tested-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4862>
src/amd/common/ac_surface.c