GLSL: Fix #1247. Remove extraneous *= matrix test.

This commit is contained in:
John Kessenich
2018-02-15 12:22:25 -07:00
parent 98e3fb1926
commit b587fb6208
5 changed files with 17 additions and 2 deletions

View File

@@ -19,4 +19,6 @@ void main()
m23.xy; // ERROR, can't use .
gl_Position = vec4(m23 * m32 * v3, m24[2][4]); // ERROR, 2 and 4 are out of range
m23 *= m23; // ERROR, right side needs to be square
m23 *= m32; // ERROR, left columns must match right rows
}