nir: Split nir_index_vars into two functions
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 20 Jul 2020 21:49:46 +0000 (16:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commit3be0be7d545334107977e850ce9ab51b0110a222
treea7009f340ecf0ca20baf3d6e9171037b1665133e
parent86c93038148d237b959d070e16e4393418baf111
nir: Split nir_index_vars into two functions

We also very slightly change the semantics.  It no longer is one index
per list for global variables and is a single index over-all.

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