Load it
This build targets Vega 6. Loaded next to a different major version of Vega it throws when it registers itself.
<script src="https://cdn.jsdelivr.net/npm/vega@6/build/vega.min.js"></script>
<script src="https://vega.github.io/vega-webgpu/releases/2_0_2/vega-webgpu-renderer.min.js"></script>
Fixes
- A view with a width or height of 0, which is what the Vega editor's empty spec gives, draws nothing and logs nothing, where every frame configured the canvas and made its textures at 0x0 and Chrome logged each one as a WebGPU validation error