summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMiklós Máté <mtmkls@gmail.com>2017-12-02 23:36:05 +0100
committerEric Anholt <eric@anholt.net>2018-01-03 16:57:09 -0800
commit03887bf7d2dafd1a81a41e702399b7c7ef575e7f (patch)
treeab973bebf0857a0e8b608078ed474892e13d61e2 /tests
parent7ebc09521110340481280aca325b32696ca4b085 (diff)
Remove old ATI_fs test
It's a subset of spec/ati_fragment_shader/api-gen Signed-off-by: Miklós Máté <mtmkls@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/all.py1
-rw-r--r--tests/shaders/CMakeLists.gl.txt1
-rw-r--r--tests/shaders/ati-fs-bad-delete.c58
3 files changed, 0 insertions, 60 deletions
diff --git a/tests/all.py b/tests/all.py
index 59fe9b3c4..a9a0528cd 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -1892,7 +1892,6 @@ with profile.test_list.group_manager(
grouptools.join('spec', 'ATI_fragment_shader')) as g:
g(['ati_fragment_shader-api-alphafirst'])
g(['ati_fragment_shader-api-gen'])
- g(['ati-fs-bad-delete'])
g(['ati_fragment_shader-error01-genzero'])
g(['ati_fragment_shader-error02-inside'])
g(['ati_fragment_shader-error03-outside'])
diff --git a/tests/shaders/CMakeLists.gl.txt b/tests/shaders/CMakeLists.gl.txt
index 7090d94ed..1586216e4 100644
--- a/tests/shaders/CMakeLists.gl.txt
+++ b/tests/shaders/CMakeLists.gl.txt
@@ -13,7 +13,6 @@ link_libraries (
piglit_add_executable (glsl-max-vertex-attrib glsl-max-vertex-attrib.c)
piglit_add_executable (activeprogram-bad-program activeprogram-bad-program.c)
piglit_add_executable (activeprogram-get activeprogram-get.c)
-piglit_add_executable (ati-fs-bad-delete ati-fs-bad-delete.c)
piglit_add_executable (attribute0 attribute0.c)
piglit_add_executable (built-in-constants built-in-constants.c parser_utils.c)
piglit_add_executable (createshaderprogram-bad-type createshaderprogram-bad-type.c)
diff --git a/tests/shaders/ati-fs-bad-delete.c b/tests/shaders/ati-fs-bad-delete.c
deleted file mode 100644
index b193da90c..000000000
--- a/tests/shaders/ati-fs-bad-delete.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright © 2009 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * Authors:
- * Eric Anholt <eric@anholt.net>
- *
- */
-
-/**
- * @file ati-fs-bad-delete.c
- *
- * Tests that ATI_fragment_shader's delete works correctly on an undefined
- * shader.
- */
-
-#include "piglit-util-gl.h"
-
-PIGLIT_GL_TEST_CONFIG_BEGIN
-
- config.supports_gl_compat_version = 10;
-
- config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
-
-PIGLIT_GL_TEST_CONFIG_END
-
-enum piglit_result
-piglit_display(void)
-{
- glDeleteFragmentShaderATI(1001);
-
- return glGetError() == 0 ? PIGLIT_PASS : PIGLIT_FAIL;
-}
-
-void piglit_init(int argc, char **argv)
-{
- piglit_automatic = GL_TRUE;
-
- piglit_require_extension("GL_ATI_fragment_shader");
-}