lima: precompile bugfixing
Untested changes to fix issues with precompiling affecting context state, context state affecting precompiles, and excessive recompiles due to sampler format changes.
Untested changes to fix issues with precompiling affecting context state, context state affecting precompiles, and excessive recompiles due to sampler format changes.