glsl: Add depth layout qualifiers to ast_type_qualifier
authorChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:10 +0000 (01:40 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:44 +0000 (16:37 -0800)
src/glsl/ast.h

index c4622f6142ac0cdb24a31404a06eabcc841968f2..b2e19169e981efd73cf7e006bf2841102179f40a 100644 (file)
@@ -350,6 +350,14 @@ struct ast_type_qualifier {
          * qualifier is used.
          */
         unsigned explicit_location:1;
+
+         /** \name Layout qualifiers for GL_AMD_conservative_depth */
+         /** \{ */
+         unsigned depth_any:1;
+         unsigned depth_greater:1;
+         unsigned depth_less:1;
+         unsigned depth_unchanged:1;
+         /** \} */
       }
       /** \brief Set of flags, accessed by name. */
       q;