radeonsi: reorder code in update_gs_ring_buffers and init_tess_factor_ring
authorMarek Olšák <marek.olsak@amd.com>
Tue, 16 Jun 2020 17:57:24 +0000 (13:57 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2020 16:08:19 +0000 (12:08 -0400)
commitb84dbd29369c47215c7d25c52319b65c4d48c239
tree589695428690b363400302207ef9df7b4de2041d
parentbabd87f2e0865fde1386c4797131c26265b2da09
radeonsi: reorder code in update_gs_ring_buffers and init_tess_factor_ring

to reduce the churn when adding codepaths for shadowed registers

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