[Mesa-dev] [PATCH] glcpp: initializes version to -1

Karol Herbst karolherbst at gmail.com
Tue Nov 8 13:19:41 UTC 2016


2016-11-08 13:35 GMT+01:00 Juan A. Suarez Romero <jasuarez at igalia.com>:
> On Sat, 2016-11-05 at 10:48 +0100, Karol Herbst wrote:
>> "#version 0512": 0:1(10): error: GLSL 3.30 is not supported.
>> Supported
>> versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
>>
>> so the issue with this would be, that "0512" is parsed as 3.30, which
>> isn't right either, but the current master version does the same. \o/
>> new bug found
>
>
> Doing a quick check, not sure if this is a bug... 0512 is interpreted
> in octal format, which in decimal is 330. Same for 0130, which is 88 in
> decimal.
>
>
> So unless we want to force all the values to be read as decimal, I
> woulnd't say it is a bug.
>
>
>         J.A.
>

well I don't care either way, maybe the spec does say anything about it.


More information about the mesa-dev mailing list