[Mesa-dev] [PATCH] glcpp: initializes version to -1
Juan A. Suarez Romero
jasuarez at igalia.com
Tue Nov 8 14:58:41 UTC 2016
On Tue, 2016-11-08 at 14:19 +0100, Karol Herbst wrote:
> well I don't care either way, maybe the spec does say anything about
> it.
I was re-reading GLSL 1.10 spec about #version directive.
#version follows the same convention as __VERSION__
For __VERSION___, spec says "will substitute a decimal integer
reflecting the version number of the OpenGL shading language"
So no clear if we should always read as decimal, or keep current
behaviour.
J.A.
More information about the mesa-dev
mailing list