nir: Remove nir_array from lower_locals_to_regs
authorThomas Helland <thomashelland90@gmail.com>
Thu, 15 Dec 2016 22:36:54 +0000 (23:36 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Dec 2016 20:02:28 +0000 (12:02 -0800)
commita66818830ae544dd8b270fb8e8f148930736a35d
tree4887ed8c4b75e1b04c1fd9606593ab1578bfda0b
parent79b66ec05e2745e5d19838dcfd83f905afa82b6c
nir: Remove nir_array from lower_locals_to_regs

We do nothing but initialize it, add to it, and delete it.
This is a fallout from removing constant initializer support.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_locals_to_regs.c