radv: always re-emit patch control points when a pipeline with tess is bound
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Oct 2022 15:16:09 +0000 (17:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Oct 2022 17:21:56 +0000 (17:21 +0000)
commit65dd53ca9718babbcb63687b7cc457698a5b45ca
tree864091abbd73e7d26f5dbdbf4b87381d5f3fff58
parent3c9771b434bcc4fc0b65557100e9b6c10cdadefe
radv: always re-emit patch control points when a pipeline with tess is bound

We already re-emit this state when it's static. It could be dirtied
conditionally but the number of parameters to check is not worth it.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7457
Fixes: eef1511437a ("radv: implement dynamic patch control points")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19021>
src/amd/vulkan/radv_cmd_buffer.c