@@ -0,0 +1,12 @@
|
||||
#version 460
|
||||
|
||||
layout(local_size_x = 32, local_size_y = 1, local_size_z = 1) in;
|
||||
|
||||
layout(set = 0, binding = 0) buffer Data {
|
||||
uint data[];
|
||||
} buf;
|
||||
|
||||
void main() {
|
||||
uint idx = gl_GlobalInvocationID.x;
|
||||
buf.data[idx] *= 12;
|
||||
}
|
||||
Reference in New Issue
Block a user