  const presentationFormat = navigator.gpu.getPreferredCanvasFormat();

  const context = canvas.getContext("webgpu");

  context.configure({ device: device, format: presentationFormat });

  const depthTexture = device.createTexture({
    size: [canvas.width, canvas.height],
    sampleCount: 1,
    format: "depth24plus-stencil8",
    usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.TEXTURE_BINDING,
  });

  const depthTextureView = depthTexture.createView();

  const depthToFloatSh