[Mesa-dev] [PATCH 4/6] glsl: copy each field's precision information when generating varying variables
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Mon Nov 16 23:33:58 PST 2015
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/glsl/builtin_variables.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp
index b927d50..fc7a3c3 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);
}
}
--
2.5.0
More information about the mesa-dev
mailing list