[Piglit] [PATCH 1/5] texturing: make sure s3tc tests require GL 1.1

Erik Faye-Lund erik.faye-lund at collabora.com
Wed Oct 24 16:29:44 UTC 2018


The EXT_texture_compression_s3tc spec lists that it requires
OpenGL 1.1, not 1.0 like some of these list.

In reality, this probably doesn't make a huge difference, as
OpenGL 1.0 hardware/drivers are pretty much extinct, but let's
just get it right to avoid confusion.
---
 tests/texturing/s3tc-errors.c      | 2 +-
 tests/texturing/s3tc-teximage.c    | 2 +-
 tests/texturing/s3tc-texsubimage.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/texturing/s3tc-errors.c b/tests/texturing/s3tc-errors.c
index 81fee3e21..ccedf8a22 100644
--- a/tests/texturing/s3tc-errors.c
+++ b/tests/texturing/s3tc-errors.c
@@ -36,7 +36,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-    config.supports_gl_compat_version = 10;
+    config.supports_gl_compat_version = 11;
 
     config.window_width = 200;
     config.window_height = 200;
diff --git a/tests/texturing/s3tc-teximage.c b/tests/texturing/s3tc-teximage.c
index 07e04f729..a08feaa69 100644
--- a/tests/texturing/s3tc-teximage.c
+++ b/tests/texturing/s3tc-teximage.c
@@ -36,7 +36,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 10;
+	config.supports_gl_compat_version = 11;
 
 	config.window_width = 500;
 	config.window_height = 600;
diff --git a/tests/texturing/s3tc-texsubimage.c b/tests/texturing/s3tc-texsubimage.c
index 17d739a39..39b94938e 100644
--- a/tests/texturing/s3tc-texsubimage.c
+++ b/tests/texturing/s3tc-texsubimage.c
@@ -36,7 +36,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 10;
+	config.supports_gl_compat_version = 11;
 
 	config.window_width = 500;
 	config.window_height = 600;
-- 
2.17.2



More information about the Piglit mailing list