nir: Call nir_metadata_preserve from nir_lower_alu_to_scalar().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Sep 2016 22:17:29 +0000 (15:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Sep 2016 19:01:39 +0000 (12:01 -0700)
commite6eed3533e578f29e1e40c5db10c44df003fc8da
tree73de4e5b4d69fbf7e1322deafd3bd01bb2da0f5e
parentbff90aedf1d06c7e746b2d56319b19a624594feb
nir: Call nir_metadata_preserve from nir_lower_alu_to_scalar().

This is mandatory.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_lower_alu_to_scalar.c