nir/large_constants: Use ralloc for var_infos
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 7 Jun 2019 16:21:09 +0000 (09:21 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 18 Jul 2019 19:24:24 +0000 (12:24 -0700)
commitd9b67ad0796612620b82b7ea11a720735ce7df3f
tree83940c1c5432bc27ff6edf52b0d8388df86d2cec
parent0d8a4c67cf44604d648696e007740bd9fa9faa4c
nir/large_constants: Use ralloc for var_infos

This will be used later on to allocate constant data for each
variable (and then deduplicate).  Also drop initializing found_read,
as it is already implicitly false in the literal.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_large_constants.c