radeonsi: deduplicate ES and GS thread enablement code
authorMarek Olšák <marek.olsak@amd.com>
Thu, 5 Dec 2019 01:27:46 +0000 (20:27 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 20:06:07 +0000 (20:06 +0000)
commit1a07df840e0429e84905113610273d684c06ff3d
treea81fc31474cf3fb725675e41a060e33e80589dec
parentf90cbd18ff43ae493f03ed86b12df5439eee58c0
radeonsi: deduplicate ES and GS thread enablement code

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