commit | fc1363cc6039110f9dcd6a5c7cf8b8453042823b | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Tue Jul 21 11:55:27 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Wed Jul 29 17:38:58 2020 +0000 |
tree | c9b1ee2b1653e74839055cd40d6aecc42aefb74b | |
parent | 789ec95dcd18c155a9578b5d5f56cb0aab74c763 [diff] |
nir/gl_nir_linker: Call add_vars_with_modes once for GL_PROGRAM_INPUT Now that nir_foreach_variable_with_modes can handle multiple modes at one time, we can simplify things a bit and only walk the list once. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>