panfrost: Enable MSAA if we render to such a surface
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 3 Jul 2020 16:04:53 +0000 (12:04 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 01:13:39 +0000 (01:13 +0000)
commitbb577051dd5dbb5519f770eabf149de8675770ba
tree58d4331e7eee81a025f04933bed737f170f3fecd
parent3b7aeb2448a1c3cfad43db5ae3eff897dffed627
panfrost: Enable MSAA if we render to such a surface

We hit this case for clears of MSAA surfaces without draws.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
src/gallium/drivers/panfrost/pan_mfbd.c