[Mesa-dev] [PATCH 3/4] mesa: remove MESA_GLSL=no_opts env option
Emil Velikov
emil.l.velikov at gmail.com
Thu Mar 30 22:41:48 UTC 2017
On 30 March 2017 at 17:44, Brian Paul <brianp at vmware.com> wrote:
> On 03/30/2017 05:26 AM, Timothy Arceri wrote:
>>
>> This is confusing because is only applys to ARB shaders, and because
>
>
> s/ARB shaders/GL_ARB_vertex/fragment_program/
>
>> of that its also not very useful.
>>
>> If someone requires this for debugging they can just make an ad-hoc
>> code change.
>
>
> I think I'm the original author of this and my intention was that if a user
> ran into a suspected shader compiler bug, they could set this env var to see
> if disabling optimizations worked around the issue. Seems like a useful
> thing to me, but I'm not sure it got much/any use. I'm pretty certain an
> earlier version of the GLSL compiler respected it too. But it probably was
> overlooked and dropped at some point.
>
> I still think this env option could be useful. But for lack of use, I guess
> it can go.
>
Skimming through your reply reminded me the following bug/regression
that Vinson reported recently.
https://bugs.freedesktop.org/show_bug.cgi?id=96684
Not sure if I'll get to having another look at it soon, so I'm just
throwing it in here ;-)
-Emil
More information about the mesa-dev
mailing list