aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/built-in-functions
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-es-1.00/compiler/built-in-functions')
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bool.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec2.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec3.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec4.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-float.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-int.vert10
-rwxr-xr-xtests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-invalid-parameters.sh24
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x2.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x3.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x4.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x2.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x3.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x4.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x2.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x3.vert10
-rw-r--r--tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x4.vert10
19 files changed, 204 insertions, 0 deletions
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bool.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bool.vert
new file mode 100644
index 00000000..fb8d655e
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bool.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(bool(0), bool(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec2.vert
new file mode 100644
index 00000000..3ec5fadc
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec2.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(bvec2(0), bvec2(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec3.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec3.vert
new file mode 100644
index 00000000..25c7e677
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec3.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(bvec3(0), bvec3(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec4.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec4.vert
new file mode 100644
index 00000000..2aa4cfe0
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-bvec4.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(bvec4(0), bvec4(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-float.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-float.vert
new file mode 100644
index 00000000..f7632cee
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-float.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(float(0), float(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-int.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-int.vert
new file mode 100644
index 00000000..e2bb80ac
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-int.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(int(0), int(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-invalid-parameters.sh b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-invalid-parameters.sh
new file mode 100755
index 00000000..e9ffae9a
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-invalid-parameters.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+function emit_vs
+{
+ t=$1
+
+ cat > outerProduct-$t.vert <<EOF
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(${t}(0), ${t}(0));
+}
+EOF
+}
+
+for i in int float bool bvec2 bvec3 bvec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4
+do
+ emit_vs $i
+done
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2.vert
new file mode 100644
index 00000000..09d06bb7
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat2(0), mat2(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x2.vert
new file mode 100644
index 00000000..94921f70
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x2.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat2x2(0), mat2x2(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x3.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x3.vert
new file mode 100644
index 00000000..f55e8876
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x3.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat2x3(0), mat2x3(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x4.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x4.vert
new file mode 100644
index 00000000..9620135a
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat2x4.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat2x4(0), mat2x4(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3.vert
new file mode 100644
index 00000000..8eb8f991
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat3(0), mat3(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x2.vert
new file mode 100644
index 00000000..a2c23355
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x2.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat3x2(0), mat3x2(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x3.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x3.vert
new file mode 100644
index 00000000..fbfd900f
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x3.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat3x3(0), mat3x3(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x4.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x4.vert
new file mode 100644
index 00000000..a31db9e8
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat3x4.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat3x4(0), mat3x4(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4.vert
new file mode 100644
index 00000000..4fa6c07a
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat4(0), mat4(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x2.vert
new file mode 100644
index 00000000..2ca45390
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x2.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat4x2(0), mat4x2(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x3.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x3.vert
new file mode 100644
index 00000000..e45e5f90
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x3.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat4x3(0), mat4x3(0));
+}
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x4.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x4.vert
new file mode 100644
index 00000000..e63a8a5e
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-mat4x4.vert
@@ -0,0 +1,10 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.20
+ * glsles_version: 1.00
+ * [end config]
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(mat4x4(0), mat4x4(0));
+}