st/glsl: move nir linking loop to new function st_link_nir()
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 9 Nov 2017 06:32:08 +0000 (17:32 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commitda953b641d806cdb8031ff8fe7ce458963a3fe4f
tree6f611c7be2409c582841759a9fb77fde6f419796
parent2a35021bc61632562e34448249c80887a0d7ac3c
st/glsl: move nir linking loop to new function st_link_nir()

This will allow us to refactor linking and include some nir link
time optimisations.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_nir.h