From bc04d244f5a86fd7085e3d648949413e2d2ec797 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Thu, 27 Jan 2011 01:40:26 -0800 Subject: glsl: Propagate depth layout qualifier from AST to IR --- src/glsl/ir.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/glsl/ir.h') diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 7399df4038..8d5056aa1a 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -353,6 +353,14 @@ public: unsigned pixel_center_integer:1; /*@}*/ + /** + * \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? * -- cgit v1.2.3