glsl: Link error if fs defines conflicting qualifiers for gl_FragCoord
[mesa.git] / src / mesa / main / mtypes.h
index 5fbfffe98e0fe6abc7efab925970d4fa4a89b09a..d9fb297a96691c1ad009d31b6ad4cd85aa6f2b63 100644 (file)
@@ -2432,6 +2432,14 @@ struct gl_shader
    struct glsl_symbol_table *symbols;
 
    bool uses_builtin_functions;
+   bool uses_gl_fragcoord;
+   bool redeclares_gl_fragcoord;
+
+   /**
+    * Fragment shader state from GLSL 1.50 layout qualifiers.
+    */
+   bool origin_upper_left;
+   bool pixel_center_integer;
 
    /**
     * Geometry shader state from GLSL 1.50 layout qualifiers.