nir/large_constants: use nir_index_vars and nir_variable::index
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 15 Nov 2019 16:13:20 +0000 (16:13 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 20 Nov 2019 15:05:42 +0000 (15:05 +0000)
commitca2de7ae9cee12e95a3c64a237e94b652e007979
treef36b0fd6160df036432152a4f9a5ced1a3d0fdf8
parent9f92e8b72130df484862db3d07216a476348aadc
nir/large_constants: use nir_index_vars and nir_variable::index

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_opt_large_constants.c