[Piglit] [PATCH 4/6] Remove redundant test

Ian Romanick idr at freedesktop.org
Wed Jul 27 17:50:47 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

This test is made redundant by the spec/glsl-1.20/recursion tests.  As
is, this test may not have been valid.  It expected the error to be
generated at compile time, but many implementations generate this
error at link time.
---
 tests/glslparsertest/glsl2/function-12.vert |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
 delete mode 100644 tests/glslparsertest/glsl2/function-12.vert

diff --git a/tests/glslparsertest/glsl2/function-12.vert b/tests/glslparsertest/glsl2/function-12.vert
deleted file mode 100644
index ac3e0ff..0000000
--- a/tests/glslparsertest/glsl2/function-12.vert
+++ /dev/null
@@ -1,22 +0,0 @@
-// [config]
-// expect_result: fail
-// glsl_version: 1.20
-// [end config]
-
-/*
- * GLSL 1.20
- * 6.1.1 Function Calling Conventions
- * Recursion is not allowed, not even statically.
- */
-
-#version 120
-
-int A()
-{
-    return A();
-}
-
-void main()
-{
-    gl_Position = gl_Vertex;
-}
-- 
1.7.4.4



More information about the Piglit mailing list