yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b3007519
main
1#version 300 es 2precision mediump float ; 3in vec4 pos; 4layout (location = 2 ) in vec4 color; // ERROR 5 6layout (location = 1 ) out vec4 c; 7layout (location = 3 ) out vec4 p; 8layout (location = 4 ) out vec4 q[ 2 ]; 9 10void main() 11{ 12c = color; 13p = pos; 14q[ 1 ] = pos; 15} 16 17layout (location = 40 ) out float ca[ 4 ]; // ERROR, overlap, ERROR too big 18layout (location = 41 ) out float cb[ 2 ]; // ERROR, overlap, ERROR too big 19layout (location = 39 ) out float cc[ 6 ]; // ERROR, overlap, ERROR too big