Skip to content

gallivm: fix printf hook for cached shaders.

Dave Airlie requested to merge airlied/mesa:gallivm-fix-printf-hook into main

I've noticed this before but never tracked it down, but it's annoying.

The printf hooks would crash with debug shaders when they were loaded from the cache. This was because nothing was initing the printf hook in the cached path so the global was never set.

No problems just always creating this afaics.

Merge request reports