[Piglit] [PATCH 2/3] glslparsertest: Add support for GLSL ES 3.0 via GL_ARB_ES3_compatibility
Ian Romanick
idr at freedesktop.org
Fri Nov 16 16:08:17 PST 2012
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/glslparsertest/glslparsertest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/glslparsertest/glslparsertest.c b/tests/glslparsertest/glslparsertest.c
index 4620b4e..14a7a13 100644
--- a/tests/glslparsertest/glslparsertest.c
+++ b/tests/glslparsertest/glslparsertest.c
@@ -353,6 +353,8 @@ piglit_init(int argc, char**argv)
if (requested_version == 100) {
piglit_require_extension("GL_ARB_ES2_compatibility");
+ } else if (requested_version == 300) {
+ piglit_require_extension("GL_ARB_ES3_compatibility");
} else if (glsl_version < requested_version) {
fprintf(stderr,
"GLSL version is %u.%u, but requested version %u.%u is required\n",
--
1.7.11.7
More information about the Piglit
mailing list