radv: do not emit PA_SC_VRS_OVERRIDE_CNTL from the pipeline on GFX11
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 15 Dec 2022 11:26:07 +0000 (12:26 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Mar 2023 10:30:48 +0000 (10:30 +0000)
commitd1e724b952a665d07d6c57dbfc49d8c55918a823
treebe045206780e114db3b7d47c7ea002ac0be7523b
parentc186420b26e6de96798925fd174cbef6f9907ac4
radv: do not emit PA_SC_VRS_OVERRIDE_CNTL from the pipeline on GFX11

PA_SC_VRS_OVERRIDE_CNTL is emitted when a framebuffer is bound because
it controls the VRS surface enable bit. Though, if a pipeline is bound
after the framebuffer is emitted, it can override the state. Remove it
completely since VRS for flat shading and RADV_FORCE_VRS are disabled.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20333>
src/amd/vulkan/radv_pipeline.c