[Piglit] [PATCH 4/4] Delete shader runner tests for the __VERSION__ macro.
Kenneth Graunke
kenneth at whitecape.org
Wed Aug 28 12:43:35 PDT 2013
These have been superceded by tests/spec/glsl*/compiler/version-macro*.
The parser tests already ensure the value is correct (and fail to
compile if it isn't), so there's no additional value in having an
execution test.
---
tests/shaders/glsl-version-define-110.shader_test | 19 -------------------
tests/shaders/glsl-version-define-120.shader_test | 19 -------------------
tests/shaders/glsl-version-define.shader_test | 18 ------------------
3 files changed, 56 deletions(-)
delete mode 100644 tests/shaders/glsl-version-define-110.shader_test
delete mode 100644 tests/shaders/glsl-version-define-120.shader_test
delete mode 100644 tests/shaders/glsl-version-define.shader_test
diff --git a/tests/shaders/glsl-version-define-110.shader_test b/tests/shaders/glsl-version-define-110.shader_test
deleted file mode 100644
index c584740..0000000
--- a/tests/shaders/glsl-version-define-110.shader_test
+++ /dev/null
@@ -1,19 +0,0 @@
-[require]
-GLSL >= 1.10
-
-[vertex shader]
-void main()
-{
- gl_Position = gl_Vertex;
-}
-
-[fragment shader]
-#version 110
-void main()
-{
- gl_FragColor = vec4(0.0, float(__VERSION__) / 120.0, 0.0, 0.0);
-}
-
-[test]
-draw rect -1 -1 2 2
-probe rgba 1 1 0.0 0.916 0.0 0.0
diff --git a/tests/shaders/glsl-version-define-120.shader_test b/tests/shaders/glsl-version-define-120.shader_test
deleted file mode 100644
index 65537f5..0000000
--- a/tests/shaders/glsl-version-define-120.shader_test
+++ /dev/null
@@ -1,19 +0,0 @@
-[require]
-GLSL >= 1.20
-
-[vertex shader]
-void main()
-{
- gl_Position = gl_Vertex;
-}
-
-[fragment shader]
-#version 120
-void main()
-{
- gl_FragColor = vec4(0.0, float(__VERSION__) / 130.0, 0.0, 0.0);
-}
-
-[test]
-draw rect -1 -1 2 2
-probe rgba 1 1 0.0 0.923 0.0 0.0
diff --git a/tests/shaders/glsl-version-define.shader_test b/tests/shaders/glsl-version-define.shader_test
deleted file mode 100644
index 847f3e4..0000000
--- a/tests/shaders/glsl-version-define.shader_test
+++ /dev/null
@@ -1,18 +0,0 @@
-[require]
-GLSL >= 1.10
-
-[vertex shader]
-void main()
-{
- gl_Position = gl_Vertex;
-}
-
-[fragment shader]
-void main()
-{
- gl_FragColor = vec4(0.0, float(__VERSION__) / 120.0, 0.0, 0.0);
-}
-
-[test]
-draw rect -1 -1 2 2
-probe rgba 1 1 0.0 0.916 0.0 0.0
--
1.8.3.4
More information about the Piglit
mailing list