nir: Properly invalidate metadata in nir_remove_dead_variables().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 3 Nov 2015 05:28:26 +0000 (21:28 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Nov 2015 01:06:48 +0000 (17:06 -0800)
commit4cb7546066f3f06b8030b8fce78f82469b0c6980
tree036ce90b72cc7d5c8a1303df26908d76e00fba31
parent8bb44510fca5315bbdd61502c72c22c7198c0daf
nir: Properly invalidate metadata in nir_remove_dead_variables().

v2: Preserve live_variables too (Jason).

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