1#version 450
2
3layout(local_size_x_id = 18, local_size_z_id = 19) in;
4layout(local_size_x = 32, local_size_y = 32) in;
5layout(local_size_z_id = 14) in;  // ERROR, can't change this
6
7void main()
8{
9    gl_WorkGroupSize;
10    int i = { };  // ERROR, need an extension
11}
12
13layout(local_size_y_id = 19) in; // ERROR, already used: TODO not yet reported
14
15shared float f = { };  // ERROR, need an extension
16float g = { };         // ERROR, need an extension
17
18#extension GL_EXT_null_initializer : enable
19
20shared float f2 = { };
21float g2 = { };
22
23void foo()
24{
25    int i = { };
26    float fa[] = { };
27}
28
29struct samp {
30    sampler2D s2D;
31} sampVar = { };
32
33atomic_uint a = { };
34