age.MAP_READ | GPUBufferUsage.COPY_DST,
  });

  // Setup a bindGroup to tell the shader which
  // buffers to use for the computation
  const bindGroup = device.createBindGroup({
    label: 'bindGroup for work buffer',
    layout: pipeline.getBindGroupLayout(0),
    entries: [
      { binding: 0, resource: { buffer: workBuffer, size: 256 } },
      { binding: 1, resource: { buffer: workBuffer, size: 256 } },
      { binding: 2, resource: { buffer: workBuffer, size: 256 } },
    ],
  });

  // Encode comman