6304c7cb82
This fixes memory exhaustion errors when doing shader replacement with very large shaders. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15288>