Hi, just sending few hacky patches I made while wrestling with Unigine demos.
First patch, fixes long standing issue of using driconf GUI with Gallium drivers. I stumbled upon it long ago. Now I fixed swrast to work with it too. Second patch allows to use GLSL warning mode for shaders that dont declare that they want modern GLSL features. Unigine is major example of this, sadly. I coldnt find a way to make Gallium use that option via driconf because of abstraction between mesa "state_tracker" and dri state tracker that uses it. Speaking of which I think that it would be good to move it out of mesa main dir and put it to gallium state_tracker dir where it belongs. Third patch which you probably wont accept piggybacks on that force GLSL extension mode to also bump default GLSL version because otherwice some GLSL extensions are not aviable even with this hack on to shaders that dont ask for proper GLSL version (again Unigine of course...) Best regards, Maxim Levitsky. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev