• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diagnostic(off, derivative_uniformity);
2diagnostic(off, chromium.unreachable_code);
3struct InputBuffer {
4  args: IndirectDispatchArgs,
5};
6@group(0) @binding(0) var<storage, read_write> _storage0 : InputBuffer;
7struct IndirectDispatchArgs {
8  x: i32,
9  y: i32,
10  z: i32,
11};
12var<workgroup> outX: i32;
13var<workgroup> outY: i32;
14var<workgroup> outZ: i32;
15fn _skslMain() {
16  {
17    outX = _storage0.args.x;
18    outY = _storage0.args.y;
19    outZ = _storage0.args.z;
20  }
21}
22@compute @workgroup_size(16, 16, 1) fn main() {
23  _skslMain();
24}
25