summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index 2b5f441ddd8..79cbaa9ea07 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -802,6 +802,8 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name,
this->location = -1;
this->warn_extension = NULL;
this->constant_value = NULL;
+ this->origin_upper_left = false;
+ this->pixel_center_integer = false;
if (type && type->base_type == GLSL_TYPE_SAMPLER)
this->read_only = true;