1#version 450 2 3vec4 getColor(); 4 5layout(location=0) out vec4 color; 6 7int a1[]; // max size from link1 8int a2[]; // max size from link2 9int b[5]; 10int c[]; 11int i; 12 13layout (binding = 0) buffer bnameRuntime { float r[]; }; 14layout (binding = 1) buffer bnameImplicit { float m[]; }; 15 16void main() 17{ 18 color = getColor(); 19 20 a1[8] = 1; 21 a2[1] = 1; 22 b[i] = 1; 23 c[3] = 1; 24} 25