summaryrefslogtreecommitdiffstats
path: root/src/freedreno/drm
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-03-04 15:32:36 -0600
committerJason Ekstrand <[email protected]>2019-03-06 17:24:57 +0000
commitde8d80f9cc210367246382c0f1cb30c64fd7da4f (patch)
tree352030652cb70014ae9cb9820afeb2e2d224d325 /src/freedreno/drm
parent0a6b1d058076923fb98d44ac1d2b1bc314635800 (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 <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/freedreno/drm')
0 files changed, 0 insertions, 0 deletions