• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 450
2
3layout(constant_id = 0) const uint a = 1;
4layout(constant_id = 1) const uint b = 2;
5layout(location = 0) out uint o;
6
7void main() {
8  uint arr1[a+a];
9  uint arr2[b];
10  o = arr1[1];
11  o = arr2[1];
12  o = arr1[6];
13  o = arr2[6];
14}
15