mirror of
https://github.com/doukutsu-rs/gfx.git
synced 2026-08-24 13:03:25 -07:00
14 lines
217 B
Plaintext
14 lines
217 B
Plaintext
#version 450
|
|
|
|
layout(local_size_x = 1, local_size_y = 1) in;
|
|
layout(std430, set = 0, binding = 0) buffer b_Output
|
|
{
|
|
uint data[];
|
|
};
|
|
|
|
|
|
void main() {
|
|
uint index = gl_GlobalInvocationID.x;
|
|
data[index] = 1;
|
|
}
|