nir: Add a helper for getting the one function from a shader
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Feb 2016 21:46:25 +0000 (13:46 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Feb 2016 02:04:39 +0000 (18:04 -0800)
commit979732fafc8d5c8db4c70461493b7c93ac870cfd
tree44f016cb75a3fe64d3390ec58b02b6334b868fb7
parent8c05b44bbb317b5547f1079d1957c05ac29a591e
nir: Add a helper for getting the one function from a shader
src/compiler/nir/nir.h