yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b587fb62
main
1#version 120 2 3attribute vec3 v3 ; 4 5uniform mat3x2 m32 ; 6 7const mat2x4 m24 = mat2x4 (1.0 ,2.0 , 83.0 ,4.0 , 93.0 ,4.0 , 103.0 ,4.0 ,5.0 );// ERROR, too many arguments 11 12void main () 13{ 14mat2x3 m23 ; 15vec3 a ,b ; 16 17a = v3 * m23 ;// ERROR, type mismatch 18b = m32 * v3 ;// ERROR, type mismatch 19m23 .xy ;// ERROR, can't use . 20 21gl_Position = vec4 (m23 * m32 * v3 ,m24 [2 ][4 ]);// ERROR, 2 and 4 are out of range 22m23 *=m23 ;// ERROR, right side needs to be square 23m23 *=m32 ;// ERROR, left columns must match right rows 24}