[Piglit] [PATCH] minmax: change the glGet functions to accept 64-bit variables

Sandra Koroniewska sandra.koroniewska at gmail.com
Wed Sep 20 14:22:02 UTC 2017


This fixes
spec/gl-3.2/minmax.c and spec/gl-3.3/minmax.c on Windows Intel driver.
---
 tests/spec/gl-3.2/minmax.c | 2 +-
 tests/spec/gl-3.3/minmax.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/spec/gl-3.2/minmax.c b/tests/spec/gl-3.2/minmax.c
index e44246f3e..f50ca785f 100644
--- a/tests/spec/gl-3.2/minmax.c
+++ b/tests/spec/gl-3.2/minmax.c
@@ -163,7 +163,7 @@ piglit_init(int argc, char **argv)
 	piglit_test_min_int(GL_MAX_COLOR_TEXTURE_SAMPLES, 1);
 	piglit_test_min_int(GL_MAX_DEPTH_TEXTURE_SAMPLES, 1);
 	piglit_test_min_int(GL_MAX_INTEGER_SAMPLES, 1);
-	piglit_test_min_int(GL_MAX_SERVER_WAIT_TIMEOUT, 0);
+	piglit_test_min_uint64(GL_MAX_SERVER_WAIT_TIMEOUT, 0);
 
 	piglit_test_min_int(GL_MAX_DRAW_BUFFERS, 8);
 	piglit_test_min_int(GL_SAMPLE_BUFFERS, 0);
diff --git a/tests/spec/gl-3.3/minmax.c b/tests/spec/gl-3.3/minmax.c
index 2eae411b5..67668da5d 100644
--- a/tests/spec/gl-3.3/minmax.c
+++ b/tests/spec/gl-3.3/minmax.c
@@ -141,7 +141,7 @@ piglit_init(int argc, char **argv)
 	piglit_test_min_int(GL_MAX_COLOR_TEXTURE_SAMPLES, 1);
 	piglit_test_min_int(GL_MAX_DEPTH_TEXTURE_SAMPLES, 1);
 	piglit_test_min_int(GL_MAX_INTEGER_SAMPLES, 1);
-	piglit_test_min_int(GL_MAX_SERVER_WAIT_TIMEOUT, 0);
+	piglit_test_min_uint64(GL_MAX_SERVER_WAIT_TIMEOUT, 0);
 
 	piglit_test_min_int(GL_MAX_DRAW_BUFFERS, 8);
 	piglit_test_min_int(GL_MAX_DUAL_SOURCE_DRAW_BUFFERS, 1);
-- 
2.11.0.windows.1



More information about the Piglit mailing list