summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-01-27 01:40:26 -0800
committerChad Versace <[email protected]>2011-01-26 16:37:44 -0800
commitbc04d244f5a86fd7085e3d648949413e2d2ec797 (patch)
tree4d9918aa005973fcf07a8b8efd4a59650766630a /src/glsl/ir.h
parent5fc57f471b10e74546f999269a2a8f9186da9731 (diff)
glsl: Propagate depth layout qualifier from AST to IR
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 7399df40385..8d5056aa1a4 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -354,6 +354,14 @@ public:
/*@}*/
/**
+ * \brief Layout qualifier for gl_FragDepth.
+ *
+ * This is not equal to \c ir_depth_layout_none if and only if this
+ * variable is \c gl_FragDepth and a layout qualifier is specified.
+ */
+ ir_depth_layout depth_layout;
+
+ /**
* Was the location explicitly set in the shader?
*
* If the location is explicitly set in the shader, it \b cannot be changed