[Mesa-dev] [Bug 71591] Second Life shaders fail to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 18 03:30:01 PST 2013


--- Comment #5 from MirceaKitsune <sonichedgehog_hyperblast00 at yahoo.com> ---
Although I'm not a driver developer and have little technical expertise here,
I've gotten a better understanding of the issue.

I can see why Mesa deems such shaders as invalid, given the statement is not
placed correctly and it is bad writing. However, I believe the Mesa developers
should consider that many applications have shaders written this way, with
developers who might not care to fix them. Failing with an error here will
condemn those with the free drivers to be unable to run what those with the
proprietary drivers can. Yes, Mesa's approach is technically correct, the
writing is bad and shouldn't be supported... but users of many programs with
bad shaders have to suffer the consequences, which I don't think is right.

My personal suggestion is to not fail with an error, but print a big warning in
the console to let people know the shaders are written poorly. I believe this
is a fair approach, and a compromise Mesa can make for the sake of
compatibility. Please consider it.

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/20131118/cebeab94/attachment.html>

More information about the mesa-dev mailing list