diff options
author | Ian Romanick <[email protected]> | 2010-03-26 16:41:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-26 16:47:06 -0700 |
commit | 8343550b42d3a1de59fa15b86053d576382c11fd (patch) | |
tree | b5e42d3c5315167ef371baba1049a21b9a8faf18 /tests/constructor-03.glsl | |
parent | 6c86ea8adc095abeef7b3cd63d3321185542bf36 (diff) |
Add some simple constructor tests
Diffstat (limited to 'tests/constructor-03.glsl')
-rw-r--r-- | tests/constructor-03.glsl | 12 |
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; +} |