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.cpp | |
parent | 5fc57f471b10e74546f999269a2a8f9186da9731 (diff) |
glsl: Propagate depth layout qualifier from AST to IR
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index b3676d57076..b4ceb5bba14 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) |