2017-09-28 10:24:04 +00:00
|
|
|
#version 310 es
|
|
|
|
|
2018-11-01 10:22:14 +00:00
|
|
|
#ifndef SPIRV_CROSS_CONSTANT_ID_10
|
|
|
|
#define SPIRV_CROSS_CONSTANT_ID_10 9u
|
|
|
|
#endif
|
|
|
|
#ifndef SPIRV_CROSS_CONSTANT_ID_12
|
|
|
|
#define SPIRV_CROSS_CONSTANT_ID_12 4u
|
|
|
|
#endif
|
|
|
|
|
|
|
|
layout(local_size_x = SPIRV_CROSS_CONSTANT_ID_10, local_size_y = 20, local_size_z = SPIRV_CROSS_CONSTANT_ID_12) in;
|
2018-10-30 06:31:32 +00:00
|
|
|
|
2017-09-28 10:24:04 +00:00
|
|
|
layout(binding = 0, std430) buffer SSBO
|
|
|
|
{
|
|
|
|
float a;
|
|
|
|
} _4;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
_4.a += 1.0;
|
|
|
|
}
|
|
|
|
|