[Mesa-dev] [PATCH 03/10] glsl: Add bits for AMD_conservative_depth to ast_type_qualifier

Chad Versace chad.versace at intel.com
Sat Oct 23 11:22:23 PDT 2010


---
 src/glsl/ast.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index e5aa5c1..4555344 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -349,6 +349,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;
+         /*@}*/
       } q;
       unsigned i;
    } flags;
-- 
1.7.1



More information about the mesa-dev mailing list