radeonsi: don't wrap the VS prolog in if (ES thread) .. endif
authorMarek Olšák <marek.olsak@amd.com>
Thu, 12 Dec 2019 22:11:40 +0000 (17:11 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 20:06:07 +0000 (20:06 +0000)
commitde4a4595f62a9bd1494781c203ea8b1049545605
tree0687ceb32341d7afd6cc28cc4d574d70548c47e1
parentdb67e51903521f03fc772761368266e2c2174f6b
radeonsi: don't wrap the VS prolog in if (ES thread) .. endif

We can execute it unconditionally and the values computed for disabled
threads won't be used anyway.

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/si_shader.c