jgenesis icon indicating copy to clipboard operation
jgenesis copied to clipboard

[DRAFT] wgpu v0.20.0

Open Quackdoc opened this issue 9 months ago • 2 comments

I originally wanted to try and play with webgpu, so I decided to try and bump wgpu to v0.20.0 which requires a winit bump too. Draft PR to bump wgpu and egui stuff to v0.20.0 however there are some issues I haven't reconciled yet.

I actually sadly ran out of time and hope to be able to pick this back up, however when I will be able to do so, I don't know, so I've made a draft PR instead for now as a starting point.

  • [ ] i have yet to do the jgenesis-gui and jgenesis-cli parts
  • [ ] can no longer do send + sync when atomics are enabled with wgpu with the webui
  • [ ] only web has been tested
  • [ ] when building without atomics, Im getting an issue at surface.configure(&device, &surface_config); in renderer.rs not sure if this is related
Error in Surface::configure: Validation Error

Caused by:
    Both `Surface` width and height must be non-zero. Wait to recreate the `Surface` until the window has non-zero area.

Quackdoc avatar May 06 '24 18:05 Quackdoc