r600: Update the PS state when MSAA-ness changes, too.
authorEmma Anholt <emma@anholt.net>
Fri, 7 Jan 2022 01:09:11 +0000 (17:09 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 28 Mar 2022 17:39:02 +0000 (17:39 +0000)
commitf07b8a0cac0d1e3073289dca471acd7062b06588
tree44d11938d04c519e4bd0adc81bbcdb572a60a18c
parente0429d9fef932eaa80b9c06feabb6e9aa02156b1
r600: Update the PS state when MSAA-ness changes, too.

Avoids a regression when enabling shader precompilation, where the
precompile would happen with MSAA disabled (so no sample mask export) but
we'd never catch up to the shader being rendered with MSAA.

Doesn't fix any current testcases, though.

Acked-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14427>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c