summaryrefslogtreecommitdiff
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-01-27 01:40:26 -0800
committerChad Versace <chad.versace@intel.com>2011-01-26 16:37:44 -0800
commitbc04d244f5a86fd7085e3d648949413e2d2ec797 (patch)
tree4d9918aa005973fcf07a8b8efd4a59650766630a /src/glsl/ir.cpp
parent5fc57f471b10e74546f999269a2a8f9186da9731 (diff)
glsl: Propagate depth layout qualifier from AST to IR
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r--src/glsl/ir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index b3676d5707..b4ceb5bba1 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -1341,6 +1341,7 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name,
this->constant_value = NULL;
this->origin_upper_left = false;
this->pixel_center_integer = false;
+ this->depth_layout = ir_depth_layout_none;
this->used = false;
if (type && type->base_type == GLSL_TYPE_SAMPLER)