glsl: Propagate depth layout qualifier from AST to IR

This commit is contained in:
Chad Versace
2011-01-27 01:40:26 -08:00
parent 5fc57f471b
commit bc04d244f5
3 changed files with 73 additions and 0 deletions

View File

@@ -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)