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.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/ir.cpp') 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) -- cgit v1.2.3