glsl: Link error if fs defines conflicting qualifiers for gl_FragCoord
[mesa.git] / src / glsl / glsl_parser_extras.h
index e3db877be49af2c0da6e514773ece812f0ae6e48..2e10574034674432120639bfc05aad33d6b34d02 100644 (file)
@@ -423,6 +423,7 @@ struct _mesa_glsl_parse_state {
    const struct gl_extensions *extensions;
 
    bool uses_builtin_functions;
+   bool fs_uses_gl_fragcoord;
 
    /**
     * For geometry shaders, size of the most recently seen input declaration