summaryrefslogtreecommitdiff
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-10-07 15:13:38 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-10-08 14:21:23 -0700
commiteee68d3631813580a14fa51fda6f0c959279256c (patch)
tree18b91ceceac18e6df1449538e8e9fe95a3d182b9 /src/glsl/ir.cpp
parent2b45ba8bce6a2919762a2def3095c7b9ba05d692 (diff)
glsl: Track explicit location in AST to IR translation
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 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;