aboutsummaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/built-in-functions
diff options
context:
space:
mode:
authorTom Gall <tom.gall@linaro.org>2013-04-25 14:52:03 -0500
committerTom Gall <tom.gall@linaro.org>2013-04-25 14:52:03 -0500
commit989261fc35a895d880914fb015de434bb9cca49b (patch)
tree1bc52f5530b28d3c5f86e9cfbe0759eb0cc315ad /tests/spec/glsl-es-1.00/compiler/built-in-functions
parent7041bc24ec5b047546dca968810f5cffe9931157 (diff)
parent02b8d6ae7a58abea2ac905bd67a960cbaa0231cb (diff)
downloadpiglit-gles2-all.tar.gz
Merge branch 'more-glsl-es-compiler' into gles2-allgles2-all
Conflicts: generated_tests/CMakeLists.txt
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-vec2.vert12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert
new file mode 100644
index 00000000..bcdac9e9
--- /dev/null
+++ b/tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert
@@ -0,0 +1,12 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.00
+ * [end config]
+ * outerProduct is not available in OpenGL SL 1.00. It is
+ * available in OpenGL SL 3.00.
+ * http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/outerProduct.xml
+ */
+void main () {
+ gl_Position = vec4(0);
+ outerProduct(vec2(0), vec2(0));
+}