radv: fix resetting VRS if the graphics pipeline doesn't enable it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 May 2023 10:14:24 +0000 (12:14 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 17 May 2023 07:51:18 +0000 (07:51 +0000)
commitf1e339dfd6db7d18ee2262387268aa3f2f8c0f8c
treecc1f0b02c97d2bc9b5d1c270c27cc325f51dba58
parent9ba416cdc67073cdda9a73fe9d37304b82bdd526
radv: fix resetting VRS if the graphics pipeline doesn't enable it

Otherwise the VRS state isn't reset and the graphics pipeline might
still use the previous VRS state. The VRS state will only be re-emitted
if it's different when the pipeline is bound.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9005
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23052>
src/amd/vulkan/radv_pipeline_graphics.c