[Mesa-dev] [Bug 71870] Metro: Last Light rendering issues

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 17 15:09:43 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=71870

--- Comment #39 from Darius Spitznagel <d.spitznagel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140217/d402aaa7/attachment.html>


More information about the mesa-dev mailing list