From eee68d3631813580a14fa51fda6f0c959279256c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 7 Oct 2010 15:13:38 -0700 Subject: glsl: Track explicit location in AST to IR translation --- 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 5e2109ecc6..fd1c5d9071 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1071,6 +1071,7 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name, this->ir_type = ir_type_variable; this->type = type; this->name = talloc_strdup(this, name); + this->explicit_location = false; this->location = -1; this->warn_extension = NULL; this->constant_value = NULL; -- cgit v1.2.3