s');
  const context = canvas.getContext('webgpu');
  const presentationFormat = navigator.gpu.getPreferredCanvasFormat();
  context.configure({
    device,
    format: presentationFormat,
  });

  const module = device.createShaderModule({
    label: 'our hardcoded red triangle shaders',
    code: `
      struct VOut {
        @builtin(position) position: vec4f,
        @location(0) @interpolate(perspective, centroid) baryCoord: vec3f,
      };

      @vertex fn vs(
        @builtin(vertex_index) vertexInd