ding: 1, resource: { buffer: histogramBuffer }},
    ],
  });

  const encoder = device.createCommandEncoder({
    label: 'histogram encoder',
  });

  {
  const pass = timingHelper.beginComputePass(encoder);
  pass.setPipeline(histogramChunkPipeline);
  pass.setBindGroup(0, histogramBindGroup);
  pass.dispatchWorkgroups(chunksAcross, chunksDown);
  pass.end();
  }

  {
  const pass = timingHelper2.beginComputePass(encoder);
  pass.setPipeline(chunkSumPipeline);
  pass.setBindGroup(0, chunkSumBindGroup);
  