• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1in int[] a;
2int[][] b;
3
4uniform blockOne {
5    int[] c;
6};
7
8buffer blockTwo {
9    int[] d;
10    int e;
11};
12
13buffer blockThree {
14    int[] f;
15    int g[];  // valid
16};
17
18buffer blockFour {
19    int[][] h;
20};
21
22void main() {
23    int[] i;
24}
25
26/*%%*
27unsized arrays are not permitted here
28pipeline inputs not permitted in compute shaders
29'in' variables may not have unsized array type
30multi-dimensional arrays are not supported
31unsized array must be the last member of a storage block
32unsized array must be the last member of a storage block
33unsized array must be the last member of a storage block
34multi-dimensional arrays are not supported
35unsized arrays are not permitted here
36unsized arrays are not permitted here
37*%%*/
38