nir: add a pass to remove unused variables
authorConnor Abbott <connor.abbott@intel.com>
Wed, 30 Jul 2014 18:56:52 +0000 (11:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:58 +0000 (07:18 -0800)
commit370e875b32ebc7b2989fbc590b29e2d8dcb74913
tree286dd3675ba66a1180855b21571a738718392148
parent494790b2a958f964547fb4362929171efffde153
nir: add a pass to remove unused variables

After we lower variables, we want to delete them in order to free up
some memory.

v2: Jason Ekstrand <jason.ekstrand@intel.com>:
    whitespace fixes
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_remove_dead_variables.c [new file with mode: 0644]