Skip to content

glsl/linker: remove most uses of gl_context internals

Dave Airlie requested to merge airlied/mesa:glsl-linker-less-gl_context into main

I'd like to move towards splitting mtypes.h into separate pieces, so I can change gl_context without rebuilding all the GLSL compiler every time.

This is the first round of changes towards that, it gets rid of a lot of the gl_context pointers in the glsl linkers in favour of passing around ptrs to gl_constants, gl_extensions and the gl_api.

Merge request reports