From: Samuel Iglesias Gonsálvez Date: Mon, 16 Nov 2015 10:59:18 +0000 (+0100) Subject: glsl: initialize data.precision value in ir_variable constructor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91eefe850531adf7e1ed527e4b5bcb4a1f8c5d63;p=mesa.git glsl: initialize data.precision value in ir_variable constructor Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Tapani Pälli --- diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 8933b230177..8b5ba71fbba 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1676,6 +1676,7 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name, this->data.interpolation = INTERP_QUALIFIER_NONE; this->data.max_array_access = 0; this->data.atomic.offset = 0; + this->data.precision = GLSL_PRECISION_NONE; this->data.image_read_only = false; this->data.image_write_only = false; this->data.image_coherent = false;