diff options
author | Ian Romanick <[email protected]> | 2010-10-07 15:13:38 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-10-08 14:21:23 -0700 |
commit | eee68d3631813580a14fa51fda6f0c959279256c (patch) | |
tree | 18b91ceceac18e6df1449538e8e9fe95a3d182b9 /src/glsl/ir.cpp | |
parent | 2b45ba8bce6a2919762a2def3095c7b9ba05d692 (diff) |
glsl: Track explicit location in AST to IR translation
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 5e2109ecc6e..fd1c5d90718 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; |