gallium/ureg: Set the next shader stage from the shader info.
authorEric Anholt <eric@anholt.net>
Wed, 8 Jan 2020 20:59:16 +0000 (12:59 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Sep 2020 16:58:44 +0000 (09:58 -0700)
commit9ed33383a5b1399315cd62f119234ee2332ee76f
treea434e894248af04dd4aa8255511b3051538f8b79
parent500b0735c0caa293d22fb3728cb76d267a016834
gallium/ureg: Set the next shader stage from the shader info.

Saves a loop over the linked shaders in glsl_to_tgsi which the GLSL linker
has already done for us.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp