| 1 |
#version 450 |
| 2 |
layout(local_size_x_id = 10, local_size_y = 20, local_size_z = 1) in; |
| 3 |
|
| 4 |
layout(constant_id = 1) const int b = 2; |
| 5 |
layout(constant_id = 0) const int a = 1; |
| 6 |
const uint _21 = (uint(a) + 0u); |
| 7 |
const uint _27 = gl_WorkGroupSize.x; |
| 8 |
const uint _28 = (_21 + _27); |
| 9 |
const uint _29 = gl_WorkGroupSize.y; |
| 10 |
const uint _30 = (_28 + _29); |
| 11 |
const int _32 = (1 - a); |
| 12 |
|
| 13 |
layout(set = 1, binding = 0, std430) writeonly buffer SSBO |
| 14 |
{ |
| 15 |
int v[]; |
| 16 |
} _17; |
| 17 |
|
| 18 |
void main() |
| 19 |
{ |
| 20 |
int spec_const_array_size[b]; |
| 21 |
spec_const_array_size[a] = a; |
| 22 |
_17.v[_30] = b + spec_const_array_size[_32]; |
| 23 |
} |
| 24 |
|