nir/metadata: Rename metadata_dirty to metadata_preserve
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 13 Dec 2014 00:22:46 +0000 (16:22 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:21 +0000 (07:20 -0800)
commitb6c81b3ff453d51898f86a819f80ea1128aea0fe
tree39d54cdc238d5eecb69f572fe52ef894a9c7244e
parent3c2c0a164c2308a5777d7a59b6da4b44a57ba6e2
nir/metadata: Rename metadata_dirty to metadata_preserve

nir_metadata_dirty was a terrible name because the parameter it takes is
the metadata to be preserved.  This is really confusing because it looks
like it's doing the opposite of what it is actually doing.  Now it's named
sensibly.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.c
src/glsl/nir/nir.h
src/glsl/nir/nir_algebraic.py
src/glsl/nir/nir_from_ssa.c
src/glsl/nir/nir_lower_variables.c
src/glsl/nir/nir_metadata.c
src/glsl/nir/nir_opt_cse.c
src/glsl/nir/nir_opt_peephole_select.c