summaryrefslogtreecommitdiffstats
path: root/tests/constructor-03.glsl
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-26 16:41:43 -0700
committerIan Romanick <[email protected]>2010-03-26 16:47:06 -0700
commit8343550b42d3a1de59fa15b86053d576382c11fd (patch)
treeb5e42d3c5315167ef371baba1049a21b9a8faf18 /tests/constructor-03.glsl
parent6c86ea8adc095abeef7b3cd63d3321185542bf36 (diff)
Add some simple constructor tests
Diffstat (limited to 'tests/constructor-03.glsl')
-rw-r--r--tests/constructor-03.glsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/constructor-03.glsl b/tests/constructor-03.glsl
new file mode 100644
index 00000000000..07ec225633a
--- /dev/null
+++ b/tests/constructor-03.glsl
@@ -0,0 +1,12 @@
+/* FAIL - cannot construct a matrix from a matrix in GLSL 1.10 */
+
+uniform mat2 a;
+
+void main()
+{
+ mat2 b;
+
+ b = mat2(a);
+
+ gl_Position = gl_Vertex;
+}