Re: [Mesa-dev] [PATCH 1/3] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-19 Thread Anuj Phogat
On Tue, Feb 18, 2014 at 5:28 PM, Ian Romanick i...@freedesktop.org wrote: On 02/18/2014 03:36 PM, Anuj Phogat wrote: On Tue, Feb 18, 2014 at 11:01 AM, Ian Romanick i...@freedesktop.org wrote: On 02/10/2014 05:29 PM, Anuj Phogat wrote: GLSL 1.50 spec says: If gl_FragCoord is redeclared in

Re: [Mesa-dev] [PATCH 1/3] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-18 Thread Ian Romanick
On 02/10/2014 05:29 PM, Anuj Phogat wrote: GLSL 1.50 spec says: If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the fragment shaders in that program that have a static use gl_FragCoord. All redeclarations of gl_FragCoord in all

Re: [Mesa-dev] [PATCH 1/3] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-18 Thread Anuj Phogat
On Tue, Feb 18, 2014 at 11:01 AM, Ian Romanick i...@freedesktop.org wrote: On 02/10/2014 05:29 PM, Anuj Phogat wrote: GLSL 1.50 spec says: If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the fragment shaders in that program that have

Re: [Mesa-dev] [PATCH 1/3] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-18 Thread Ian Romanick
On 02/18/2014 03:36 PM, Anuj Phogat wrote: On Tue, Feb 18, 2014 at 11:01 AM, Ian Romanick i...@freedesktop.org wrote: On 02/10/2014 05:29 PM, Anuj Phogat wrote: GLSL 1.50 spec says: If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the

[Mesa-dev] [PATCH 1/3] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-10 Thread Anuj Phogat
GLSL 1.50 spec says: If gl_FragCoord is redeclared in any fragment shader in a program, it must be redeclared in all the fragment shaders in that program that have a static use gl_FragCoord. All redeclarations of gl_FragCoord in all fragment shaders in a single program must have