diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2019-03-04 15:32:36 -0600 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2019-03-06 17:24:57 +0000 |
commit | de8d80f9cc210367246382c0f1cb30c64fd7da4f (patch) | |
tree | 352030652cb70014ae9cb9820afeb2e2d224d325 /src/imgui | |
parent | 0a6b1d058076923fb98d44ac1d2b1bc314635800 (diff) |
nir/inline_functions: Break inlining into a builder helper
This pulls the guts of function inlining into a builder helper so that
it can be used elsewhere. The rest of the infrastructure is still
needed for most inlining cases to ensure that everything gets inlined
and only ever once. However, there are use-cases where you just want to
inline one little thing. This new helper also has a neat trick where it
can seamlessly inline a function from one nir_shader into another.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/imgui')
0 files changed, 0 insertions, 0 deletions