#version 450 #ifndef SPIRV_CROSS_CONSTANT_ID_1 #define SPIRV_CROSS_CONSTANT_ID_1 11u #endif #ifndef SPIRV_CROSS_CONSTANT_ID_2 #define SPIRV_CROSS_CONSTANT_ID_2 12u #endif #ifndef SPIRV_CROSS_CONSTANT_ID_3 #define SPIRV_CROSS_CONSTANT_ID_3 13u #endif const uint _6 = SPIRV_CROSS_CONSTANT_ID_3; #ifndef SPIRV_CROSS_CONSTANT_ID_4 #define SPIRV_CROSS_CONSTANT_ID_4 14u #endif const uint _7 = SPIRV_CROSS_CONSTANT_ID_4; layout(local_size_x = 3, local_size_y = SPIRV_CROSS_CONSTANT_ID_1, local_size_z = SPIRV_CROSS_CONSTANT_ID_2) in; layout(binding = 0, std430) buffer SSBO { vec4 values[]; } _10; void main() { _10.values[gl_GlobalInvocationID.x] += vec4(2.0); }