commit | e3e1c50067e0a1e219bc4d30333b953c6baa0c08 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Mon Jul 20 14:09:50 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Wed Jul 29 17:38:58 2020 +0000 |
tree | 52aef8015c0ab553ce60e45b8146ac0aea54d069 | |
parent | feb32f898c6d36f3c81c3ce2d5a3f8ddd915e332 [diff] |
nir: Add a nir_foreach_gl_uniform_variable helper for GL linking There are a bunch of cases where we really do want to walk the list that is nir->uniforms because we want all things declared "uniform" in the GLSL. Add a helper for this but restrict it to the GL linking code. Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>