29 lines
549 B
Plaintext
29 lines
549 B
Plaintext
#version 450
|
|
|
|
#ifndef SPIRV_CROSS_CONSTANT_ID_0
|
|
#define SPIRV_CROSS_CONSTANT_ID_0 1u
|
|
#endif
|
|
#ifndef SPIRV_CROSS_CONSTANT_ID_2
|
|
#define SPIRV_CROSS_CONSTANT_ID_2 3u
|
|
#endif
|
|
|
|
layout(local_size_x = SPIRV_CROSS_CONSTANT_ID_0, local_size_y = 2, local_size_z = SPIRV_CROSS_CONSTANT_ID_2) in;
|
|
|
|
layout(binding = 0, std430) buffer _6_8
|
|
{
|
|
float _m0[];
|
|
} _8;
|
|
|
|
layout(binding = 1, std430) buffer _6_9
|
|
{
|
|
float _m0[];
|
|
} _9;
|
|
|
|
uvec3 _22 = gl_WorkGroupSize;
|
|
|
|
void main()
|
|
{
|
|
_8._m0[gl_WorkGroupID.x] = _9._m0[gl_WorkGroupID.x] + _8._m0[gl_WorkGroupID.x];
|
|
}
|
|
|