[Piglit] [PATCH 02/13] texture-integer-glsl130: Drop non-GL_EXT_texture_integer limit queries.

Eric Anholt eric at anholt.net
Sat Oct 15 13:19:31 PDT 2011


These have nothing to do with this extension.
---
 .../ext_texture_integer/texture-integer-glsl130.c  |   33 --------------------
 1 files changed, 0 insertions(+), 33 deletions(-)

diff --git a/tests/spec/ext_texture_integer/texture-integer-glsl130.c b/tests/spec/ext_texture_integer/texture-integer-glsl130.c
index 06513d5..a30068f 100644
--- a/tests/spec/ext_texture_integer/texture-integer-glsl130.c
+++ b/tests/spec/ext_texture_integer/texture-integer-glsl130.c
@@ -515,36 +515,6 @@ test_errors(void)
    return GL_TRUE;
 }
 
-
-/** test some glGetInteger queries */
-static GLboolean
-test_limits(void)
-{
-   GLint val = 0;
-
-   glGetIntegerv(GL_MIN_PROGRAM_TEXEL_OFFSET, &val);
-   if (val > -8) {
-      fprintf(stderr,
-              "%s failure: query of GL_MIN_PROGRAM_TEXEL_OFFSET "
-              "returned %d\n",
-              TestName, val);
-      return GL_FALSE;
-   }
-
-   glGetIntegerv(GL_MAX_PROGRAM_TEXEL_OFFSET, &val);
-   if (val < 7) {
-      fprintf(stderr,
-              "%s failure: query of GL_MAX_PROGRAM_TEXEL_OFFSET "
-              "returned %d\n",
-              TestName, val);
-      return GL_FALSE;
-   }
-
-   return GL_TRUE;
-}
-
-
-
 enum piglit_result
 piglit_display(void)
 {
@@ -557,9 +527,6 @@ piglit_display(void)
    if (!test_errors())
       return PIGLIT_FAIL;
 
-   if (!test_limits())
-      return PIGLIT_FAIL;
-
    return PIGLIT_PASS;
 }
 
-- 
1.7.7



More information about the Piglit mailing list