summaryrefslogtreecommitdiff
path: root/tests/matrix-09.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/matrix-09.glsl')
-rw-r--r--tests/matrix-09.glsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/matrix-09.glsl b/tests/matrix-09.glsl
new file mode 100644
index 0000000000..18afbcacea
--- /dev/null
+++ b/tests/matrix-09.glsl
@@ -0,0 +1,11 @@
+/* FAIL - matrix-to-matrix constructors are not available in GLSL 1.10 */
+
+uniform mat3 a;
+
+void main()
+{
+ mat2 m;
+
+ m = mat2(a);
+ gl_Position = gl_Vertex;
+}