diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp index 275b2a1d0ac..7bb1f64dab7 100644 --- a/src/glsl/ast_type.cpp +++ b/src/glsl/ast_type.cpp @@ -149,6 +149,9 @@ ast_type_qualifier::merge_qualifier(YYLTYPE *loc, if (q.flags.q.explicit_binding) this->binding = q.binding; + if (q.precision != ast_precision_none) + this->precision = q.precision; + return true; }