radeonsi: move patch_vertices-related tessellation updates out of si_draw
authorMarek Olšák <marek.olsak@amd.com>
Tue, 23 Aug 2022 21:51:49 +0000 (17:51 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 04:57:43 +0000 (04:57 +0000)
commit01d351a4912e5791d0b4f276c99a022938c1c20e
tree624368bbd3cd541e265cb7d5cef211ce201f20b1
parent93cd96b5237ba2618fb6688fa9ab49e1b5cc5df8
radeonsi: move patch_vertices-related tessellation updates out of si_draw

This only depends on the patch_vertices and the TCS.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18195>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.cpp
src/gallium/drivers/radeonsi/si_state_shaders.cpp