summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-01-27 01:40:10 -0800
committerChad Versace <[email protected]>2011-01-26 16:37:44 -0800
commit565a22090c3f143a343c19249a92be6a84b291b0 (patch)
treea1106859987b51f4a47f9fe7b52983d5ce105dad
parent0423f24eb8a415cf704c307c93e2a8647e799002 (diff)
glsl: Add depth layout qualifiers to ast_type_qualifier
-rw-r--r--src/glsl/ast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index c4622f6142a..b2e19169e98 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -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;