Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to wgpu 0.12, egui 0.18 #861

Closed
wants to merge 6 commits into from

Conversation

mitchmindtree
Copy link
Member

@mitchmindtree mitchmindtree commented May 29, 2022

Finally getting around to updating these!

The wgpu update is quite trivial and looks like the new validation errors might make it easier to catch bugs in the WIP nannou_isf crate.

The egui update however needs a more significant refactor. It looks like the egui_winit_platform and egui_wgpu_backend crates have recently been merged into the main egui repo as egui-winit and egui-wgpu respectively. Awesome to see these being maintained upstream, but both have transformed quite a bit and require some rethinking of nannou_egui and nannou_egui_demo_app.

TODO

  • Update nannou_wgpu to wgpu 0.12.
  • Update nannou to wgpu 0.12.
  • Update nannou_isf to wgpu 0.12.
  • Update nannou_egui to egui 0.18. Mostly done, though need to refactor eframe stuff for demo app.
  • Update nannou_egui_demo_app. Changed significantly, might need to copy over quite a bit of boilerplate from egui_demo_app.
  • Update wgpu examples to 0.12.

Includes removing the unnecessary block attr from nannou draw wgsl
vertex shader
WIP as demo app immediately `panic!`s with a wgpu error when running.
In the migration of `egui_wgpu_backend` into the main repositories, it
looks like results are no longer returned, so there's no error handling
to be done here.
@tychedelia
Copy link
Collaborator

May be superseded by #940

@JoshuaBatty
Copy link
Member

Maybe we should close this now that #940 has been merged..

@mitchmindtree
Copy link
Member Author

Closed via #940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants