[Piglit] [PATCH 2/2] egl: Add more cases to egl-create-context-invalid-gl-version

Chad Versace chad.versace at linux.intel.com
Thu Nov 8 11:00:30 PST 2012


Fails on mesa-a196f43 with Intel Sandybridge with:
  Created OpenGL ES1 context with invalid version 3.9

CC: Ian Romanick <idr at freedesktop.org>
CC: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/egl/spec/egl_khr_create_context/invalid-gl-version.c | 5 +++++
 1 file changed, 5 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 9bbce5c..c1c2def 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
@@ -85,6 +85,8 @@ 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(2, 9);
+		pass = pass && try_version(3, 9);
 
 		EGL_KHR_create_context_teardown();
 	}
@@ -93,6 +95,8 @@ int main(int argc, char **argv)
 		ran_test = true;
 		pass = pass && try_version(2, -1);
 		pass = pass && try_version(2, 1);
+		pass = pass && try_version(3, 9);
+		pass = pass && try_version(4, 9);
 
 		EGL_KHR_create_context_teardown();
 	}
@@ -112,6 +116,7 @@ int main(int argc, char **argv)
 		 * have to include functionality not in 4.0, and that would be weird.
 		 */
 		pass = pass && try_version(3, 4);
+		pass = pass && try_version(4, 9);
 
 		EGL_KHR_create_context_teardown();
 	}
-- 
1.7.11.7



More information about the Piglit mailing list