2009/6/17 Stefan Dösinger stefan@codeweavers.com:
That would need a shader_create callback function for the shader backend. I can sure add it, but I think it would defeat the purpose.
Why does the lookup need to happen on shader creation? I think doing it from shader_arb_select() would work just as well.
The other thing is that if we want to, we can use this functionality in GLSL and get rid of the shader link program and make Mesa happy.
Mesa 7.5 should already support proper GLSL linking.