4 // require_extensions: GL_ARB_compute_shader
7 // From the ARB_compute_shader spec:
9 // <local_size_x>, <local_size_y>, and <local_size_z> are used to
10 // define the local size of the kernel defined by the compute
11 // shader in the first, second, and third dimension,
12 // respectively. The default size in each dimension is 1. If a
13 // shader does not specify a size for one of the dimensions, that
14 // dimension will have a size of 1.
16 // Although it's not explicitly stated, it seems reasonable to assume
17 // that a local size of 0 is prohibited.
20 #extension GL_ARB_compute_shader: enable
22 layout(local_size_y = 0) in;