nir: Add a stub function inlining pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 Dec 2015 19:16:16 +0000 (11:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Dec 2015 21:49:56 +0000 (13:49 -0800)
commit1749e667ea38ec539d29c92c08f94738afcb91ad
treed2080fe16854c6f9159b3b08639173966720e549
parent413a9d351746a0e3ecb274a8f39dcefec7010edd
nir: Add a stub function inlining pass

All it does is remove the return at the end, but it's good enough for
simple functions.
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_returns.c [new file with mode: 0644]