nir: Add a pass to lower outputs to temporary variables
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 29 Aug 2015 00:09:02 +0000 (17:09 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Sep 2015 00:05:23 +0000 (17:05 -0700)
commitf6a0eff1ba3899276988cc115289d78363c25af0
tree45e4ae9ca8ea9476ba98da18958667d43a6ba1c0
parent4956bbaa33858f2d67465421ac59dcfd66637c8b
nir: Add a pass to lower outputs to temporary variables

This pass can be used as a helper for NIR producers so they don't have to
worry about creating the temporaries themselves.
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_outputs_to_temporaries.c [new file with mode: 0644]