• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(local_size_x = 64) in;
2
3layout(set=0, binding=0) uniform constants {
4    int x;
5};
6
7layout(set=0, binding=1) buffer outputBuffer {
8    int[] results;
9};
10
11void main() {
12    results[sk_GlobalInvocationID.x] *= x;
13}
14