summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-04-30 02:32:18 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2014-05-14 10:30:48 -0700
commit880e19d7a5ca56cd54439da231aee703183f8f59 (patch)
treeb4fbf16bfc65e6f47ed294e80b06f6bc09d1a7ac
parenta5d4538bdb668d7c7044c81ed1c7434ae3f10718 (diff)
ARB_shader_texture_lod: Replace shell generator with python generator
This patch removes tests/spec/ARB_shader_texture_lod/compiler/*, which is a shell script that generates a number of tests, and 47 generated glsl parser tests. It replaces them with a python generator (require less code than the bash generator), that is run at build time by cmake. That means we don't need to check these simple generated tests in VCS. v2: - fix typo: replace ARG with ARB - fix typo: require_extension -> require_extensions - fix accidental replacement of varying with uniform Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--generated_tests/CMakeLists.txt4
-rw-r--r--generated_tests/gen_texture_lod_tests.py178
-rw-r--r--tests/all.py2
-rwxr-xr-xtests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh210
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-02.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-03.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-04.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-05.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-07.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-08.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-09.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-10.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-11.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-12.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-13.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-14.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-15.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-17.frag17
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-18.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-19.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-20.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-21.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-22.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-23.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-24.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-25.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-26.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-28.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-29.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-30.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-31.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-32.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-33.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_grad-34.vert20
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-01.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-02.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-03.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-04.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-05.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-07.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-08.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-09.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-10.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag16
-rw-r--r--tests/spec/arb_shader_texture_lod/compiler/tex_lod-13.frag16
51 files changed, 183 insertions, 1048 deletions
diff --git a/generated_tests/CMakeLists.txt b/generated_tests/CMakeLists.txt
index c23709ed0..4079c286e 100644
--- a/generated_tests/CMakeLists.txt
+++ b/generated_tests/CMakeLists.txt
@@ -69,6 +69,9 @@ piglit_make_generated_tests(
piglit_make_generated_tests(
interpolation-qualifier-built-in-variable.list
interpolation-qualifier-built-in-variable.py)
+piglit_make_generated_tests(
+ texture_lod_tests.list
+ gen_texture_lod_tests.py)
# Add a "gen-tests" target that can be used to generate all the
# tests without doing any other compilation.
@@ -83,6 +86,7 @@ add_custom_target(gen-tests ALL
interpolation_tests.list
non-lvalue_tests.list
texture_query_lod_tests.list
+ texture_lod_tests.list
shader_bit_encoding_tests.list
uniform-initializer_tests.list
interpolation-qualifier-built-in-variable.list)
diff --git a/generated_tests/gen_texture_lod_tests.py b/generated_tests/gen_texture_lod_tests.py
new file mode 100644
index 000000000..13b7efbc9
--- /dev/null
+++ b/generated_tests/gen_texture_lod_tests.py
@@ -0,0 +1,178 @@
+# Copyright (c) 2014 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 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.
+
+""" Generate spec/ARB_shader_texture_lod tests """
+
+from __future__ import print_function
+import os
+import textwrap
+import collections
+import mako.template
+
+Parameters = collections.namedtuple(
+ 'Parameters', ['coord', 'grad', 'dimensions', 'mode'])
+
+
+LOD_TESTS = [
+ Parameters('float', 'float', '1D', 'texture1D'),
+ Parameters('vec2', 'float', '1D', 'texture1DProj'),
+ Parameters('vec4', 'float', '1D', 'texture1DProj'),
+ Parameters('vec3', 'float', '1DShadow', 'shadow1D'),
+ Parameters('vec4', 'float', '1DShadow', 'shadow1DProj'),
+ Parameters('vec2', 'vec2', '2D', 'texture2D'),
+ Parameters('vec3', 'vec2', '2D', 'texture2DProj'),
+ Parameters('vec4', 'vec2', '2D', 'texture2DProj'),
+ Parameters('vec3', 'vec2', '2DShadow', 'shadow2D'),
+ Parameters('vec4', 'vec2', '2DShadow', 'shadow2DProj'),
+ Parameters('vec3', 'vec3', '3D', 'texture3D'),
+ Parameters('vec4', 'vec3', '3D', 'texture3DProj'),
+ Parameters('vec3', 'vec3', 'Cube', 'textureCube')
+]
+
+GRAD_TESTS = LOD_TESTS + [
+ Parameters('vec2', 'vec2', '2DRect', 'texture2DRect'),
+ Parameters('vec3', 'vec2', '2DRect', 'texture2DRectProj'),
+ Parameters('vec3', 'vec2', '2DRectShadow', 'shadow2DRect'),
+ Parameters('vec4', 'vec2', '2DRectShadow', 'shadow2DRectProj')
+]
+
+
+def get_extensions(mode):
+ """ If this test uses GL_ARB_texture_rectangle add it"""
+ if 'Rect' in mode:
+ return 'GL_ARB_shader_texture_lod GL_ARB_texture_rectangle'
+ return 'GL_ARB_shader_texture_lod'
+
+
+def gen_frag_lod_test(parameter, filename):
+ """ Generate fragment shader LOD tests """
+ template = mako.template.Template(textwrap.dedent("""
+ /* [config]
+ * expect_result: pass
+ * glsl_version: 1.10
+ * require_extensions: GL_ARB_shader_texture_lod
+ * [end config]
+ */
+ #extension GL_ARB_shader_texture_lod: require
+
+ uniform sampler${param.dimensions} s;
+ varying ${param.coord} coord;
+ varying float lod;
+
+ void main()
+ {
+ gl_FragColor = ${param.mode}Lod(s, coord, lod);
+ }
+ """))
+ with open(filename, 'w+') as f:
+ f.write(template.render_unicode(param=parameter))
+
+
+def gen_frag_grad_test(parameter, filename):
+ """ Generate fragment shader gradient tests """
+ template = mako.template.Template(textwrap.dedent("""
+ /* [config]
+ * expect_result: pass
+ * glsl_version: 1.10
+ * require_extensions: ${extensions}
+ * [end config]
+ */
+ #extension GL_ARB_shader_texture_lod: require
+
+ uniform sampler${param.dimensions} s;
+ varying ${param.coord} coord;
+ varying ${param.grad} dPdx;
+ varying ${param.grad} dPdy;
+
+ void main()
+ {
+ gl_FragColor = ${param.mode}GradARB(s, coord, dPdx, dPdy);
+ }
+ """))
+ with open(filename, 'w+') as f:
+ f.write(template.render_unicode(
+ param=parameter,
+ extensions=get_extensions(parameter.mode)))
+
+
+def gen_vert_grad_test(parameter, filename):
+ """ Generate vertex shader gradient tests """
+ template = mako.template.Template(textwrap.dedent("""
+ /* [config]
+ * expect_result: pass
+ * glsl_version: 1.10
+ * require_extensions: ${extensions}
+ * [end config]
+ */
+ #extension GL_ARB_shader_texture_lod: require
+
+ uniform sampler${param.dimensions} s;
+ attribute vec4 pos;
+ attribute ${param.coord} coord;
+ attribute ${param.grad} dPdx;
+ attribute ${param.grad} dPdy;
+ varying vec4 color;
+
+ void main()
+ {
+ gl_Position = pos;
+ color = ${param.mode}GradARB(s, coord, dPdx, dPdy);
+ }
+ """))
+ with open(filename, 'w+') as f:
+ f.write(template.render_unicode(
+ param=parameter,
+ extensions=get_extensions(parameter.mode)))
+
+
+def main():
+ """ Main function
+
+ Writes tests to generated_tests/spec/arb_shader_texture_lod/ directory
+
+ """
+ try:
+ os.makedirs('spec/arb_shader_texture_lod/compiler')
+ except OSError:
+ pass
+
+ for count, params in enumerate(LOD_TESTS, start=1):
+ name = ("spec/ARB_shader_texture_lod/compiler/"
+ "tex_lod-{:02d}.frag".format(count))
+ print(name)
+ gen_frag_lod_test(params, name)
+
+ for count, params in enumerate(GRAD_TESTS, start=1):
+ name = ("spec/ARB_shader_texture_lod/compiler/"
+ "tex_grad-{:02d}.frag".format(count))
+ print(name)
+ gen_frag_grad_test(params, name)
+
+ # Start the count at len(GRAD_TESTS) + 1 so that the frag and vertex tests
+ # are sequentially numbered.
+ for count, params in enumerate(GRAD_TESTS, start=len(GRAD_TESTS) + 1):
+ name = ("spec/ARB_shader_texture_lod/compiler/"
+ "tex_grad-{:02d}.vert".format(count))
+ print(name)
+ gen_vert_grad_test(params, name)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/tests/all.py b/tests/all.py
index a67e725af..ea5eadd2c 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -1910,7 +1910,7 @@ add_plain_test(arb_robustness, 'arb_robustness_client-mem-bounds')
arb_shader_texture_lod = {}
spec['ARB_shader_texture_lod'] = arb_shader_texture_lod
import_glsl_parser_tests(arb_shader_texture_lod,
- os.path.join(testsDir, 'spec', 'arb_shader_texture_lod'),
+ os.path.join(generatedTestDir, 'spec', 'arb_shader_texture_lod'),
['compiler'])
arb_shader_texture_lod['execution'] = {}
add_shader_test_dir(arb_shader_texture_lod['execution'],
diff --git a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh b/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
deleted file mode 100755
index 87bd8177f..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
+++ /dev/null
@@ -1,210 +0,0 @@
-#!/bin/bash
-
-function get_coord_type
-{
- case $1 in
- texture1D) coord_type="float" ;;
- texture1DProj) coord_type="vec2" ;;
- texture2D) coord_type="vec2" ;;
- texture2DProj) coord_type="vec3" ;;
- texture3D) coord_type="vec3" ;;
- texture3DProj) coord_type="vec4" ;;
- textureCube) coord_type="vec3" ;;
- texture2DRect) coord_type="vec2" ;;
- texture2DRectProj) coord_type="vec3" ;;
- shadow1D) coord_type="vec3" ;;
- shadow1DProj) coord_type="vec4" ;;
- shadow2D) coord_type="vec3" ;;
- shadow2DProj) coord_type="vec4" ;;
- shadow2DRect) coord_type="vec3" ;;
- shadow2DRectProj) coord_type="vec4" ;;
- esac
-
- echo $coord_type
-}
-
-
-function get_grad_type
-{
- # The gradient type is the same of the Proj and non-Proj versions.
- # It is also the same for the shadow and non-shadow versions.
- get_coord_type $(echo $1 | sed 's/Proj//;s/shadow/texture/')
-}
-
-
-function get_sampler_dimensions
-{
- # This expression does 3 steps:
- # 1. Moves the word 'texture' or 'shadow' to the end
- # 2. Deletes the word 'texture'
- # 3. Deletes the word 'Proj'
- # 4. Replaces 'shadow' with 'Shadow'
- echo $1 | sed 's/^\(shadow\|texture\)\(.*\)/\2\1/;s/texture//;s/Proj//;s/shadow/Shadow/'
-}
-
-
-function gen_frag_grad_test
-{
- coord_type=$(get_coord_type $1)
- grad_type=$(get_grad_type $1)
- dim=$(get_sampler_dimensions $1)
- mode=$1
-
- if test x$2 != x ; then
- coord_type=$2
- fi
-
- if echo $1 | grep -q Rect ; then
- extensions="GL_ARB_shader_texture_lod GL_ARB_texture_rectangle"
- else
- extensions="GL_ARB_shader_texture_lod"
- fi
-
- cat <<EOF
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * extension: ${extensions}
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler${dim} s;
-varying ${coord_type} coord;
-varying ${grad_type} dPdx;
-varying ${grad_type} dPdy;
-
-void main()
-{
- gl_FragColor = ${mode}GradARB(s, coord, dPdx, dPdy);
-}
-EOF
-}
-
-
-function gen_vert_grad_test
-{
- coord_type=$(get_coord_type $1)
- grad_type=$(get_grad_type $1)
- dim=$(get_sampler_dimensions $1)
- mode=$1
-
- if test x$2 != x ; then
- coord_type=$2
- fi
-
- if echo $1 | grep -q Rect ; then
- extensions="GL_ARB_shader_texture_lod GL_ARB_texture_rectangle"
- else
- extensions="GL_ARB_shader_texture_lod"
- fi
-
- cat <<EOF
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * extension: ${extensions}
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler${dim} s;
-attribute vec4 pos;
-attribute ${coord_type} coord;
-attribute ${grad_type} dPdx;
-attribute ${grad_type} dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = ${mode}GradARB(s, coord, dPdx, dPdy);
-}
-EOF
-}
-
-
-function gen_frag_lod_test
-{
- coord_type=$(get_coord_type $1)
- dim=$(get_sampler_dimensions $1)
- mode=$1
-
- if test x$2 != x ; then
- coord_type=$2
- fi
-
- cat <<EOF
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * extension: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler${dim} s;
-varying ${coord_type} coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = ${mode}Lod(s, coord, lod);
-}
-EOF
-}
-
-
-i=1
-for d in texture1D texture1DProj shadow1D shadow1DProj \
- texture2D texture2DProj shadow2D shadow2DProj \
- texture3D texture3DProj textureCube
-do
- name=$(printf "tex_lod-%02d.frag" $i)
- gen_frag_lod_test $d > $name
- i=$((i + 1))
-
-
- if echo $d | egrep -q 'texture[12]DProj' ; then
- name=$(printf "tex_lod-%02d.frag" $i)
- gen_frag_lod_test $d vec4 > $name
- i=$((i + 1))
- fi
-done
-
-i=1
-for d in texture1D texture1DProj shadow1D shadow1DProj \
- texture2D texture2DProj shadow2D shadow2DProj \
- texture3D texture3DProj textureCube \
- texture2DRect texture2DRectProj \
- shadow2DRect shadow2DRectProj
-do
- name=$(printf "tex_grad-%02d.frag" $i)
- gen_frag_grad_test $d > $name
- i=$((i + 1))
-
-
- if echo $d | egrep -q 'texture[12]DProj' ; then
- name=$(printf "tex_grad-%02d.frag" $i)
- gen_frag_grad_test $d vec4 > $name
- i=$((i + 1))
- fi
-done
-
-for d in texture1D texture1DProj shadow1D shadow1DProj \
- texture2D texture2DProj shadow2D shadow2DProj \
- texture3D texture3DProj textureCube \
- texture2DRect texture2DRectProj \
- shadow2DRect shadow2DRectProj
-do
- name=$(printf "tex_grad-%02d.vert" $i)
- gen_vert_grad_test $d > $name
- i=$((i + 1))
-
-
- if echo $d | egrep -q 'texture[12]DProj' ; then
- name=$(printf "tex_grad-%02d.vert" $i)
- gen_vert_grad_test $d vec4 > $name
- i=$((i + 1))
- fi
-done
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag
deleted file mode 100644
index ee16e1d17..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying float coord;
-varying float dPdx;
-varying float dPdy;
-
-void main()
-{
- gl_FragColor = texture1DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-02.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-02.frag
deleted file mode 100644
index ca13caf9c..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-02.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying vec2 coord;
-varying float dPdx;
-varying float dPdy;
-
-void main()
-{
- gl_FragColor = texture1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-03.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-03.frag
deleted file mode 100644
index 3ee120d71..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-03.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying vec4 coord;
-varying float dPdx;
-varying float dPdy;
-
-void main()
-{
- gl_FragColor = texture1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-04.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-04.frag
deleted file mode 100644
index 217f47c8f..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-04.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-varying vec3 coord;
-varying float dPdx;
-varying float dPdy;
-
-void main()
-{
- gl_FragColor = shadow1DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-05.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-05.frag
deleted file mode 100644
index fc3e02d58..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-05.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-varying vec4 coord;
-varying float dPdx;
-varying float dPdy;
-
-void main()
-{
- gl_FragColor = shadow1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag
deleted file mode 100644
index 943b43c2e..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec2 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = texture2DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-07.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-07.frag
deleted file mode 100644
index cc5622ee5..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-07.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec3 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = texture2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-08.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-08.frag
deleted file mode 100644
index 199c29b9e..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-08.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec4 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = texture2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-09.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-09.frag
deleted file mode 100644
index 012986dc6..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-09.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-varying vec3 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = shadow2DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-10.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-10.frag
deleted file mode 100644
index f74a73644..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-10.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-varying vec4 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = shadow2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-11.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-11.frag
deleted file mode 100644
index 6a692aa22..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-11.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-varying vec3 coord;
-varying vec3 dPdx;
-varying vec3 dPdy;
-
-void main()
-{
- gl_FragColor = texture3DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-12.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-12.frag
deleted file mode 100644
index 8faf8072d..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-12.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-varying vec4 coord;
-varying vec3 dPdx;
-varying vec3 dPdy;
-
-void main()
-{
- gl_FragColor = texture3DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-13.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-13.frag
deleted file mode 100644
index 5731472dd..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-13.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform samplerCube s;
-varying vec3 coord;
-varying vec3 dPdx;
-varying vec3 dPdy;
-
-void main()
-{
- gl_FragColor = textureCubeGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-14.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-14.frag
deleted file mode 100644
index b3be41487..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-14.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRect s;
-varying vec2 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = texture2DRectGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-15.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-15.frag
deleted file mode 100644
index 6a0896930..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-15.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRect s;
-varying vec3 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = texture2DRectProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag
deleted file mode 100644
index 0f41615da..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRectShadow s;
-varying vec3 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = shadow2DRectGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-17.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-17.frag
deleted file mode 100644
index a435ca7d4..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-17.frag
+++ /dev/null
@@ -1,17 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRectShadow s;
-varying vec4 coord;
-varying vec2 dPdx;
-varying vec2 dPdy;
-
-void main()
-{
- gl_FragColor = shadow2DRectProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-18.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-18.vert
deleted file mode 100644
index ee4578956..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-18.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-attribute vec4 pos;
-attribute float coord;
-attribute float dPdx;
-attribute float dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture1DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-19.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-19.vert
deleted file mode 100644
index b1a6d59f5..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-19.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-attribute vec4 pos;
-attribute vec2 coord;
-attribute float dPdx;
-attribute float dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-20.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-20.vert
deleted file mode 100644
index 2888551ed..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-20.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute float dPdx;
-attribute float dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-21.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-21.vert
deleted file mode 100644
index aa38bd78b..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-21.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute float dPdx;
-attribute float dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow1DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-22.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-22.vert
deleted file mode 100644
index d42751423..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-22.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute float dPdx;
-attribute float dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow1DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-23.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-23.vert
deleted file mode 100644
index a1be4262d..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-23.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-attribute vec4 pos;
-attribute vec2 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture2DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-24.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-24.vert
deleted file mode 100644
index 7ffb2207e..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-24.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-25.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-25.vert
deleted file mode 100644
index 80eb60bf5..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-25.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-26.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-26.vert
deleted file mode 100644
index 9d4ff65a0..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-26.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow2DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert
deleted file mode 100644
index e0d9ed84f..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow2DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-28.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-28.vert
deleted file mode 100644
index bddf89c92..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-28.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec3 dPdx;
-attribute vec3 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture3DGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-29.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-29.vert
deleted file mode 100644
index 00a96939b..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-29.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute vec3 dPdx;
-attribute vec3 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture3DProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-30.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-30.vert
deleted file mode 100644
index bd34a0676..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-30.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform samplerCube s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec3 dPdx;
-attribute vec3 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = textureCubeGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-31.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-31.vert
deleted file mode 100644
index 8433f982f..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-31.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRect s;
-attribute vec4 pos;
-attribute vec2 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture2DRectGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-32.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-32.vert
deleted file mode 100644
index 819d59535..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-32.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRect s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = texture2DRectProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-33.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-33.vert
deleted file mode 100644
index 595f4fbf1..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-33.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRectShadow s;
-attribute vec4 pos;
-attribute vec3 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow2DRectGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-34.vert b/tests/spec/arb_shader_texture_lod/compiler/tex_grad-34.vert
deleted file mode 100644
index 38d40b5cd..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_grad-34.vert
+++ /dev/null
@@ -1,20 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod GL_ARB_texture_rectangle
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DRectShadow s;
-attribute vec4 pos;
-attribute vec4 coord;
-attribute vec2 dPdx;
-attribute vec2 dPdy;
-varying vec4 color;
-
-void main()
-{
- gl_Position = pos;
- color = shadow2DRectProjGradARB(s, coord, dPdx, dPdy);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-01.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-01.frag
deleted file mode 100644
index 88ffa16a8..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-01.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying float coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture1DLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-02.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-02.frag
deleted file mode 100644
index b5f0b5cf2..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-02.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying vec2 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture1DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-03.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-03.frag
deleted file mode 100644
index 8246e59a4..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-03.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1D s;
-varying vec4 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture1DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-04.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-04.frag
deleted file mode 100644
index 7210ae2a2..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-04.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-varying vec3 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = shadow1DLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-05.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-05.frag
deleted file mode 100644
index ddb243710..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-05.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler1DShadow s;
-varying vec4 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = shadow1DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag
deleted file mode 100644
index 8a540e529..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec2 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture2DLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-07.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-07.frag
deleted file mode 100644
index cf2c52e38..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-07.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec3 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture2DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-08.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-08.frag
deleted file mode 100644
index e47015dc9..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-08.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2D s;
-varying vec4 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture2DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-09.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-09.frag
deleted file mode 100644
index ccd91d0fb..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-09.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-varying vec3 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = shadow2DLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-10.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-10.frag
deleted file mode 100644
index 5e809fa21..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-10.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler2DShadow s;
-varying vec4 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = shadow2DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag
deleted file mode 100644
index 3d507e8e4..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-varying vec3 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture3DLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag
deleted file mode 100644
index 65aca6168..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform sampler3D s;
-varying vec4 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = texture3DProjLod(s, coord, lod);
-}
diff --git a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-13.frag b/tests/spec/arb_shader_texture_lod/compiler/tex_lod-13.frag
deleted file mode 100644
index e4b00e615..000000000
--- a/tests/spec/arb_shader_texture_lod/compiler/tex_lod-13.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-/* [config]
- * expect_result: pass
- * glsl_version: 1.10
- * require_extensions: GL_ARB_shader_texture_lod
- * [end config]
- */
-#extension GL_ARB_shader_texture_lod: require
-
-uniform samplerCube s;
-varying vec3 coord;
-varying float lod;
-
-void main()
-{
- gl_FragColor = textureCubeLod(s, coord, lod);
-}