[Mesa-dev] [RFC] glsl: bump default glsl version to 130 if EXT_gpu_shader4 used

Ilia Mirkin imirkin at alum.mit.edu
Tue May 15 20:09:36 UTC 2018


On Tue, May 15, 2018 at 3:54 PM, Marek Olšák <maraeo at gmail.com> wrote:
> On Tue, May 15, 2018 at 3:36 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>
>> The extension is totally different... it adds things like "unsigned
>> int", and a ton of texture*/shadow* variants. If it helps this one
>> shader compile, that's a coincidence. IMO it's dangerous to start
>> throwing things like this in.
>
>
> That's why it prints a warning. The extension isn't exposed.

It bumps the GLSL version to 1.30 though, which e.g. makes "in" and
"out" a keyword. And a bunch of other stuff like that. Just seems
dangerous.

  -ilia


More information about the mesa-dev mailing list