You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#version 450
|
|
|
|
layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(set = 0, binding = 0) buffer Data {
|
|
uint data[];
|
|
} data;
|
|
|
|
void main() {
|
|
uint idx = gl_GlobalInvocationID.x;
|
|
data.data[idx] += 30;
|
|
} |