From: Samuel Iglesias Gonsálvez Date: Mon, 16 Nov 2015 11:02:41 +0000 (+0100) Subject: glsl: copy each field's precision information from the old gl_PerVertex interface... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=688b58c40c2fdf99c94706d02511293d30fe2430;p=mesa.git glsl: copy each field's precision information from the old gl_PerVertex interface block Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Tapani Pälli --- diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index f5292435058..97554cbd688 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -6603,6 +6603,8 @@ ast_interface_block::hir(exec_list *instructions, earlier_per_vertex->fields.structure[j].sample; fields[i].patch = earlier_per_vertex->fields.structure[j].patch; + fields[i].precision = + earlier_per_vertex->fields.structure[j].precision; } }