nir: Add a helper for creating a "bare" nir_function_impl
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 28 Oct 2015 04:34:56 +0000 (21:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Dec 2015 21:49:56 +0000 (13:49 -0800)
commit98291b8f2cad24d6467cf35e00135e4b015cb1f2
tree84d56367ddc342ea5c0fba415b379641883cbbd7
parent86772c24885be27a7fa9473c471a8eaff54b2ee9
nir: Add a helper for creating a "bare" nir_function_impl

This is useful if you want to clone a single function_impl if, for
instance, you wanted to do function inlining.
src/glsl/nir/nir.c
src/glsl/nir/nir.h