• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(local_size_x = 16, local_size_y = 16) in;
2
3workgroup int outX, outY, outZ;
4
5void main() {
6    IndirectDispatchArgs args = IndirectDispatchArgs(1, 2, 3);
7
8    // Use the values from `args` to make the test meaningful.
9    outX = args.x;
10    outY = args.y;
11    outZ = args.z;
12}
13