f5bf4657fb
This adds a driver control to instruct NIR to not inline all functions. It adds a very simple inlining heuristic that works for what I've played with, but will probably need to grow some better ideas. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24687>