Re: [Mesa-dev] [PATCH 2/3] glsl: Only warn for macro names containing __

2014-02-18 Thread Kenneth Graunke
On 02/18/2014 10:19 AM, Ian Romanick wrote: > From: Ian Romanick > > From page 14 (page 20 of the PDF) of the GLSL 1.10 spec: > > "In addition, all identifiers containing two consecutive underscores > (__) are reserved as possible future keywords." > > The intention is that names conta

[Mesa-dev] [PATCH 2/3] glsl: Only warn for macro names containing __

2014-02-18 Thread Ian Romanick
From: Ian Romanick From page 14 (page 20 of the PDF) of the GLSL 1.10 spec: "In addition, all identifiers containing two consecutive underscores (__) are reserved as possible future keywords." The intention is that names containing __ are reserved for internal use by the implementation