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

2014-02-25 Thread Ian Romanick
On 02/24/2014 05:34 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

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

2014-02-25 Thread Anuj Phogat
On Tue, Feb 25, 2014 at 7:43 AM, Ian Romanick i...@freedesktop.org wrote: On 02/24/2014 05:34 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

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

2014-02-25 Thread Ian Romanick
On 02/25/2014 01:39 PM, Anuj Phogat wrote: On Tue, Feb 25, 2014 at 7:43 AM, Ian Romanick i...@freedesktop.org wrote: On 02/24/2014 05:34 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 V2 1/4] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-02-24 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