nir: Properly invalidate metadata in nir_lower_global_vars_to_local().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 3 Nov 2015 05:02:37 +0000 (21:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Nov 2015 01:06:48 +0000 (17:06 -0800)
commitaea40091f003f8772afce3562b0f8c6a17dad07f
treea186f43ceff97181a4585123068d25c596c17742
parent531be601d5f9ac4f8a9cc77240ba865fda077709
nir: Properly invalidate metadata in nir_lower_global_vars_to_local().

v2: Preserve nir_metadata_live_variables as well (caught by 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_lower_global_vars_to_local.c