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>
Wed, 9 Sep 2015 19:29:21 +0000 (12:29 -0700)
commit1dbe4af9c9e318525fc082b542b93fb7f1e5efba
treeee54360108520ca2ea623560717ac209ecf38154
parentf5e08ab6b1351c41000fd2f1a16c1273d2f74d40
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.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_outputs_to_temporaries.c [new file with mode: 0644]