nir: Free dead variables when removing them.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Mar 2015 23:19:27 +0000 (16:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Apr 2015 21:19:58 +0000 (14:19 -0700)
commitf61b6c3e48071991c098aa588ee86473f419d5c0
treeae1e0c866ca6fa5201b04d6516caa8defffdf8a2
parentf4e449108060dcaea1b4e1e445b76a8ef43d3a05
nir: Free dead variables when removing them.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_remove_dead_variables.c