Here we move anything that expects the IR to have already been linked so that in a future patch we can use glsl_to_nir() to convert IR that has only been compiled. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29761>