summaryrefslogtreecommitdiff
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-01-27 01:40:10 -0800
committerChad Versace <chad.versace@intel.com>2011-01-26 16:37:44 -0800
commit565a22090c3f143a343c19249a92be6a84b291b0 (patch)
treea1106859987b51f4a47f9fe7b52983d5ce105dad /src/glsl/ast.h
parent0423f24eb8a415cf704c307c93e2a8647e799002 (diff)
glsl: Add depth layout qualifiers to ast_type_qualifier
Diffstat (limited to 'src/glsl/ast.h')
-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 c4622f6142..b2e19169e9 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;