From: Samuel Iglesias Gonsálvez Date: Mon, 16 Nov 2015 11:01:37 +0000 (+0100) Subject: glsl: copy each field's precision information when generating varying variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfe32cfa8ed0cb2b41be8e63ddab9f68f2cc63de;p=mesa.git glsl: copy each field's precision information when generating varying variables Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Tapani Pälli --- diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index b927d506faf..fc7a3c3f64c 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -1187,6 +1187,7 @@ builtin_variable_generator::generate_varyings() var->data.centroid = fields[i].centroid; var->data.sample = fields[i].sample; var->data.patch = fields[i].patch; + var->data.precision = fields[i].precision; var->init_interface_type(per_vertex_out_type); } }