summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-02-04 11:23:57 -0800
committerChad Versace <chad.versace@intel.com>2011-02-04 12:28:10 -0800
commitab7ea2f7714505badd3c2e29e9b094b6f535f964 (patch)
tree3ee416111ee4d5cdd282df259efe2e33a14b8a12 /tests/glslparsertest/glsl2
parentdbdf182e70adf9d3134727023f1868bc66113e68 (diff)
glsl-1.xx: Move some tests from glslparsertest into spec directory
Move tests div-by-zero-* and modulus-zero-* into their respective spec/glsl-1.xx/compiler/arithmetic-operators directory. Also add to each test an appropriate quote from the spec.
Diffstat (limited to 'tests/glslparsertest/glsl2')
-rw-r--r--tests/glslparsertest/glsl2/div-by-zero-01.frag13
-rw-r--r--tests/glslparsertest/glsl2/div-by-zero-02.frag13
-rw-r--r--tests/glslparsertest/glsl2/div-by-zero-03.frag13
-rw-r--r--tests/glslparsertest/glsl2/modulus-zero-01.frag13
-rw-r--r--tests/glslparsertest/glsl2/modulus-zero-02.frag13
5 files changed, 0 insertions, 65 deletions
diff --git a/tests/glslparsertest/glsl2/div-by-zero-01.frag b/tests/glslparsertest/glsl2/div-by-zero-01.frag
deleted file mode 100644
index 7d2c88629..000000000
--- a/tests/glslparsertest/glsl2/div-by-zero-01.frag
+++ /dev/null
@@ -1,13 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.20
-// [end config]
-
-#version 120
-
-float
-f() {
- float x = 1.0 / 0.0;
- return x;
-}
-
diff --git a/tests/glslparsertest/glsl2/div-by-zero-02.frag b/tests/glslparsertest/glsl2/div-by-zero-02.frag
deleted file mode 100644
index 75cad40bd..000000000
--- a/tests/glslparsertest/glsl2/div-by-zero-02.frag
+++ /dev/null
@@ -1,13 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.20
-// [end config]
-
-#version 120
-
-int
-f() {
- int x = 1 / 0;
- return x;
-}
-
diff --git a/tests/glslparsertest/glsl2/div-by-zero-03.frag b/tests/glslparsertest/glsl2/div-by-zero-03.frag
deleted file mode 100644
index f887742d4..000000000
--- a/tests/glslparsertest/glsl2/div-by-zero-03.frag
+++ /dev/null
@@ -1,13 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.30
-// [end config]
-
-#version 130
-
-uint
-f() {
- uint x = 1u / 0u;
- return x;
-}
-
diff --git a/tests/glslparsertest/glsl2/modulus-zero-01.frag b/tests/glslparsertest/glsl2/modulus-zero-01.frag
deleted file mode 100644
index 1b3ea994c..000000000
--- a/tests/glslparsertest/glsl2/modulus-zero-01.frag
+++ /dev/null
@@ -1,13 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.30
-// [end config]
-
-#version 130
-
-int
-f() {
- int x = 1 % 0;
- return x;
-}
-
diff --git a/tests/glslparsertest/glsl2/modulus-zero-02.frag b/tests/glslparsertest/glsl2/modulus-zero-02.frag
deleted file mode 100644
index c812dac14..000000000
--- a/tests/glslparsertest/glsl2/modulus-zero-02.frag
+++ /dev/null
@@ -1,13 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.30
-// [end config]
-
-#version 130
-
-uint
-f() {
- uint x = 1u % 0u;
- return x;
-}
-