diff options
author | Chad Versace <[email protected]> | 2011-01-27 01:40:26 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-01-26 16:37:44 -0800 |
commit | bc04d244f5a86fd7085e3d648949413e2d2ec797 (patch) | |
tree | 4d9918aa005973fcf07a8b8efd4a59650766630a /src/glsl/ir.h | |
parent | 5fc57f471b10e74546f999269a2a8f9186da9731 (diff) |
glsl: Propagate depth layout qualifier from AST to IR
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 8 |
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 |