jonmmease / avenger

Experimental Vega visualization renderer in Rust using wgpu
BSD 3-Clause "New" or "Revised" License
25 stars 1 forks source link

Update to wgpu 0.19.3 and winit 0.29 #65

Closed jonmmease closed 7 months ago

jonmmease commented 7 months ago

Updates wgpu and winit.

As a consequence of the wgpu update, wegpu rendering in the Chrome in now working! And the same build can fall back to WebGL2 support when WebGPU is not available. From playing with the scatter panning example, it looks like WebGPU rendering is faster. I had to update the use of textureSample in the shader to get WebGPU working. See https://github.com/gpuweb/gpuweb/discussions/2899