From: Iago Toral Quiroga <[email protected]>
As the comment in precision_qualifier_allowed() says, they are only allowed
for float, integer and sampler types.
---
src/glsl/ast_to_hir.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 8b170c2..4a6ce71 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -2025,7 +2025,6 @@ precision_qualifier_allowed(const glsl_type *type)
*/
return type->is_float()
|| type->is_integer()
- || type->is_record()
|| type->is_sampler();
}
--
2.4.3
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev