[Piglit] [PATCH 4/6] ARB_shader_texture_lod: Replace shell generator with python generator

Dylan Baker baker.dylan.c at gmail.com
Fri May 9 13:21:43 PDT 2014


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.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 generated_tests/CMakeLists.txt                     |   4 +
 generated_tests/gen_texture_lod_tests.py           | 181 ++++++++++++++++++
 tests/all.py                                       |   2 +-
 .../compiler/make_tex_lod_tests.sh                 | 210 ---------------------
 .../compiler/tex_grad-01.frag                      |  17 --
 .../compiler/tex_grad-02.frag                      |  17 --
 .../compiler/tex_grad-03.frag                      |  17 --
 .../compiler/tex_grad-04.frag                      |  17 --
 .../compiler/tex_grad-05.frag                      |  17 --
 .../compiler/tex_grad-06.frag                      |  17 --
 .../compiler/tex_grad-07.frag                      |  17 --
 .../compiler/tex_grad-08.frag                      |  17 --
 .../compiler/tex_grad-09.frag                      |  17 --
 .../compiler/tex_grad-10.frag                      |  17 --
 .../compiler/tex_grad-11.frag                      |  17 --
 .../compiler/tex_grad-12.frag                      |  17 --
 .../compiler/tex_grad-13.frag                      |  17 --
 .../compiler/tex_grad-14.frag                      |  17 --
 .../compiler/tex_grad-15.frag                      |  17 --
 .../compiler/tex_grad-16.frag                      |  17 --
 .../compiler/tex_grad-17.frag                      |  17 --
 .../compiler/tex_grad-18.vert                      |  20 --
 .../compiler/tex_grad-19.vert                      |  20 --
 .../compiler/tex_grad-20.vert                      |  20 --
 .../compiler/tex_grad-21.vert                      |  20 --
 .../compiler/tex_grad-22.vert                      |  20 --
 .../compiler/tex_grad-23.vert                      |  20 --
 .../compiler/tex_grad-24.vert                      |  20 --
 .../compiler/tex_grad-25.vert                      |  20 --
 .../compiler/tex_grad-26.vert                      |  20 --
 .../compiler/tex_grad-27.vert                      |  20 --
 .../compiler/tex_grad-28.vert                      |  20 --
 .../compiler/tex_grad-29.vert                      |  20 --
 .../compiler/tex_grad-30.vert                      |  20 --
 .../compiler/tex_grad-31.vert                      |  20 --
 .../compiler/tex_grad-32.vert                      |  20 --
 .../compiler/tex_grad-33.vert                      |  20 --
 .../compiler/tex_grad-34.vert                      |  20 --
 .../compiler/tex_lod-01.frag                       |  16 --
 .../compiler/tex_lod-02.frag                       |  16 --
 .../compiler/tex_lod-03.frag                       |  16 --
 .../compiler/tex_lod-04.frag                       |  16 --
 .../compiler/tex_lod-05.frag                       |  16 --
 .../compiler/tex_lod-06.frag                       |  16 --
 .../compiler/tex_lod-07.frag                       |  16 --
 .../compiler/tex_lod-08.frag                       |  16 --
 .../compiler/tex_lod-09.frag                       |  16 --
 .../compiler/tex_lod-10.frag                       |  16 --
 .../compiler/tex_lod-11.frag                       |  16 --
 .../compiler/tex_lod-12.frag                       |  16 --
 .../compiler/tex_lod-13.frag                       |  16 --
 51 files changed, 186 insertions(+), 1048 deletions(-)
 create mode 100644 generated_tests/gen_texture_lod_tests.py
 delete mode 100755 tests/spec/arb_shader_texture_lod/compiler/make_tex_lod_tests.sh
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-01.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-02.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-03.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-04.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-05.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-06.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-07.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-08.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-09.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-10.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-11.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-12.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-13.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-14.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-15.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-16.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-17.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-18.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-19.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-20.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-21.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-22.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-23.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-24.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-25.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-26.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-27.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-28.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-29.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-30.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-31.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-32.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-33.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_grad-34.vert
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-01.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-02.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-03.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-04.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-05.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-06.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-07.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-08.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-09.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-10.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-11.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-12.frag
 delete mode 100644 tests/spec/arb_shader_texture_lod/compiler/tex_lod-13.frag

diff --git a/generated_tests/CMakeLists.txt b/generated_tests/CMakeLists.txt
index c23709e..4079c28 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 0000000..2fffb19
--- /dev/null
+++ b/generated_tests/gen_texture_lod_tests.py
@@ -0,0 +1,181 @@
+# 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_ARG_shader_texture_lod GL_ARB_texture_rectangle'
+    return 'GL_ARG_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_extension: 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_extension: ${extensions}
+     * [end config]
+     */
+    #extension GL_ARB_shader_texture_lod: require
+
+    uniform sampler${param.dimensions} s;
+    uniform ${param.coord} coord;
+    uniform ${param.grad} dPdx;
+    uniform ${param.grad} dPdy;
+
+    void main()
+    {
+      gl_FragColor = ${param.mode}GradARB(s, coord, dPdx, dPdy);
+    }
+    """))
+
+    extensions = get_extensions(parameter.mode)
+
+    with open(filename, 'w+') as f:
+        f.write(template.render_unicode(param=parameter, extensions=extensions))
+
+
+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_extension: ${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);
+    }
+    """))
+
+    extensions = get_extensions(parameter.mode)
+
+    with open(filename, 'w+') as f:
+        f.write(template.render_unicode(param=parameter, extensions=extensions))
+
+
+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 a67e725..ea5eadd 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 87bd817..0000000
--- 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 ee16e1d..0000000
--- 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 ca13caf..0000000
--- 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 3ee120d..0000000
--- 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 217f47c..0000000
--- 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 fc3e02d..0000000
--- 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 943b43c..0000000
--- 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 cc5622e..0000000
--- 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 199c29b..0000000
--- 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 012986d..0000000
--- 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 f74a736..0000000
--- 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 6a692aa..0000000
--- 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 8faf807..0000000
--- 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 5731472..0000000
--- 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 b3be414..0000000
--- 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 6a08969..0000000
--- 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 0f41615..0000000
--- 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 a435ca7..0000000
--- 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 ee45789..0000000
--- 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 b1a6d59..0000000
--- 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 2888551..0000000
--- 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 aa38bd7..0000000
--- 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 d427514..0000000
--- 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 a1be426..0000000
--- 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 7ffb220..0000000
--- 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 80eb60b..0000000
--- 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 9d4ff65..0000000
--- 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 e0d9ed8..0000000
--- 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 bddf89c..0000000
--- 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 00a9693..0000000
--- 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 bd34a06..0000000
--- 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 8433f98..0000000
--- 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 819d595..0000000
--- 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 595f4fb..0000000
--- 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 38d40b5..0000000
--- 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 88ffa16..0000000
--- 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 b5f0b5c..0000000
--- 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 8246e59..0000000
--- 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 7210ae2..0000000
--- 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 ddb2437..0000000
--- 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 8a540e5..0000000
--- 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 cf2c52e..0000000
--- 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 e47015d..0000000
--- 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 ccd91d0..0000000
--- 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 5e809fa..0000000
--- 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 3d507e8..0000000
--- 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 65aca61..0000000
--- 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 e4b00e6..0000000
--- 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);
-}
-- 
2.0.0.rc2



More information about the Piglit mailing list