[Mesa-dev] [PATCH 07/10] glsl: Add bits for AMD_conservative_depth to ir_variable

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


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

diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 06198e4..9c5ff42 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -289,6 +289,16 @@ public:
    /*@}*/
 
    /**
+    * \name AMD_conservative_depth
+    * @{
+    */
+   unsigned depth_any:1;
+   unsigned depth_greater:1;
+   unsigned depth_less:1;
+   unsigned depth_unchanged:1;
+   /*@}*/
+
+   /**
     * Was the location explicitly set in the shader?
     *
     * If the location is explicitly set in the shader, it \b cannot be changed
-- 
1.7.1



More information about the mesa-dev mailing list