diff options
author | Tom Gall <tom.gall@linaro.org> | 2013-04-23 16:55:17 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2013-04-24 06:52:37 -0500 |
commit | 6c8893f751e4fbfb44d29479b5cd0d1e8b8aa38b (patch) | |
tree | 260cf71dd5b0fabb587b5024419be55846630adc /tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert | |
parent | d168a2eef36c7b2f1f6de41929acae1f9c1c638a (diff) | |
download | piglit-6c8893f751e4fbfb44d29479b5cd0d1e8b8aa38b.tar.gz |
Add outerProduct existance test for glsl es 1.00
outerProduct is available with glsl es 3.00 but not
with glsl es 1.00.
http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/outerProduct.xml
Diffstat (limited to 'tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert')
-rw-r--r-- | tests/spec/glsl-es-1.00/compiler/built-in-functions/outerProduct-vec2.vert | 12 |
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)); +} |