turnip: Store serialized nir for LTO
Storing the actual shaders has an inordinate memory cost. Serialize and deserialize them instead.
This should hopefully help get CS2 running with FEX+turnip.
Based on !25679 (merged) to avoid rebase troubles.
Storing the actual shaders has an inordinate memory cost. Serialize and deserialize them instead.
This should hopefully help get CS2 running with FEX+turnip.
Based on !25679 (merged) to avoid rebase troubles.