glsl: add subroutine support to nir linker
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 30 Jan 2020 01:05:14 +0000 (12:05 +1100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 23:22:14 +0000 (23:22 +0000)
commit1da6b7f8a3b13f44e8d9cc101034319c0b732f08
tree9fb563ea0351e0e3adb14c43d58edf30594263d3
parentb1bc24f826f4d08f22efd26f067621de84a100f0
glsl: add subroutine support to nir linker

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4050>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4050>
src/compiler/glsl/gl_nir_link_uniforms.c