Mesa (master): glsl: Add depth layout qualifiers to ast_type_qualifier

Chad Versace chadversary at kemper.freedesktop.org
Thu Jan 27 01:49:38 UTC 2011


Module: Mesa
Branch: master
Commit: 565a22090c3f143a343c19249a92be6a84b291b0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=565a22090c3f143a343c19249a92be6a84b291b0

Author: Chad Versace <chad.versace at intel.com>
Date:   Thu Jan 27 01:40:10 2011 -0800

glsl: Add depth layout qualifiers to ast_type_qualifier

---

 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 c4622f6..b2e1916 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;




More information about the mesa-commit mailing list