[require] GLSL >= 1.20 /* Test varying matrix whose column number greater than the row number. * This gets assertion with i965 driver of 2010-08-22. */ [vertex shader] #version 120 uniform vec2 col0; varying mat3x2 var; void main() { gl_Position = gl_Vertex; var = mat3x2(0.0, 1.0, 0.0, 0.0, 0.0, 0.0); } [fragment shader] #version 120 varying mat3x2 var; void main() { gl_FragColor = vec4(var * vec3(1.0, 0.0, 0.0), 0.0, 0.0); } [test] draw rect -1 -1 2 2 probe all rgba 0.0 1.0 0.0 0.0