nir/linking: Rework some internal helpers
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 20 Jul 2020 22:15:27 +0000 (17:15 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commit4c3a30393d945d37d0acc457f129705ba89b4cf6
tree9a94be3a9fa9e42755ac2b293358115a7af9b9fe
parentcaab46c1e93d702c12a887cb0902d04eaddc0707
nir/linking: Rework some internal helpers

Instead of taking a variable list, take a nir_shader and mode.

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
src/compiler/nir/nir_linking_helpers.c