[Piglit] [PATCH] egl: Test more invalid GLES2 context versions

Chad Versace chad.versace at linux.intel.com
Mon Nov 5 14:53:23 PST 2012


In test egl-create-context-invalid-gl-version, try to create OpenGL ES2
contexts with additional invalid versions: 3.2, 3.9, 4.7.

Fails with mesa-84b437 on Intel Sandybridge.

CC: Matt Turner <mattst88 at gmail.com>
---
 tests/egl/spec/egl_khr_create_context/invalid-gl-version.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/egl/spec/egl_khr_create_context/invalid-gl-version.c b/tests/egl/spec/egl_khr_create_context/invalid-gl-version.c
index ee33fb9..d83c40b 100644
--- a/tests/egl/spec/egl_khr_create_context/invalid-gl-version.c
+++ b/tests/egl/spec/egl_khr_create_context/invalid-gl-version.c
@@ -82,6 +82,9 @@ int main(int argc, char **argv)
 		pass = pass && try_version(0, 0);
 		pass = pass && try_version(0, -1);
 		pass = pass && try_version(1, 2);
+		pass = pass && try_version(3, 2);
+		pass = pass && try_version(3, 9);
+		pass = pass && try_version(4, 7);
 
 		EGL_KHR_create_context_teardown();
 	}
-- 
1.7.11.7



More information about the Piglit mailing list