Default ES precision qualifiers for integer types in the VS and FS
are different and that should make the test fail to compile/link
if Mesa actually checked for these things (because it would realize
that VS outputs and FS inputs do not have the exact same type as
a consequence).
Fix this by setting a default precision qualifier for integers.
---
tests/spec/ext_transform_feedback/structs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/ext_transform_feedback/structs.c
b/tests/spec/ext_transform_feedback/structs.c
index 3d90bb9..c754b9f 100644
--- a/tests/spec/ext_transform_feedback/structs.c
+++ b/tests/spec/ext_transform_feedback/structs.c
@@ -126,6 +126,7 @@ PIGLIT_GL_TEST_CONFIG_END
static const char gles3_header[] =
"#version 300 es\n"
"precision highp float;\n"
+ "precision highp int;\n"
"#define DECLARE_VARYING(DIR, TYPE, NAME) flat DIR TYPE NAME\n"
"#define VARYING(NAME) NAME\n";
--
1.9.1
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit