https://bugs.freedesktop.org/show_bug.cgi?id=71870
--- Comment #39 from Darius Spitznagel <d.spitzna...@goodbytez.de> --- @Ian: I'm very impressed by the fact, that you contact(ed) the vendor to report on this. It's always a bad idea breaking or ignoring specs or rules, i know that. But at the end, this will only fix the problem for Metro LL. What about all the other games using the faulty FXAA shaders from nvidia? Or other game developers simply misunderstanding GLSL specs? Some of us mesa users here like Jose, Thomas and Mike have good ideas. We all waited so long seeing Linux getting more and more attention on the desktop, so give us a hand. Life is too short and world is far from being perfect. I have 2 other ideas to solve this. 1. There are already environment variables like MESA_GLSL_VERSION_OVERRIDE="XXX" inside mesa. How about implement another one like MESA_GLSL_ALLOW_DOUBLE_UNDERSCORES="XXX". Default is of course "no", override is "yes". We could then write our own bash script or enter it in the launch options in steam. I think, this is a good option. 2. Look for a file like .glslrc (inspired by comment 34) in the games directory or where the games executable lie. If it contains a string like ALLOW_DOUBLE_UNDERSOURCES="yes" then override. This seams simpler to code but may break when the vendor is doing some kind on nasty check against foreign files. So I think with both examples you don't break your rules and we are happy. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev