18 lines
272 B
Plaintext
18 lines
272 B
Plaintext
|
#version 310 es
|
||
|
layout(local_size_x = 1) in;
|
||
|
|
||
|
layout(std430, binding = 0) buffer SSBO
|
||
|
{
|
||
|
uint inputs[];
|
||
|
};
|
||
|
|
||
|
layout(std430, binding = 0) buffer SSBO2
|
||
|
{
|
||
|
uint outputs[];
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
outputs[gl_GlobalInvocationID.x] = inputs[gl_GlobalInvocationID.x] / 29u;
|
||
|
}
|