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

Remove deprecated WGPU swapchain, allow window to resize #6

Merged
merged 2 commits into from
Sep 15, 2024

Conversation

qhdwight
Copy link
Contributor

@qhdwight qhdwight commented Sep 15, 2024

Removes swap chain and instead uses the surface directly.

There are also deprecation warnings about the work and map async API, but as far as I can tell, there is no easy way to fix that for now. Seems like the issue is in the webgpuhpp wrapper we use interacting with Dawn.

@qhdwight qhdwight requested a review from Crypt1cG September 15, 2024 22:14
@qhdwight qhdwight self-assigned this Sep 15, 2024
@qhdwight
Copy link
Contributor Author

Followed https://eliemichel.github.io/LearnWebGPU/getting-started/first-color.html for changes relating to swapchain

@qhdwight qhdwight changed the title Update wgpu operations that are now deprecated Remove deprecated WGPU swapchain, allow window to resize Sep 15, 2024
@qhdwight qhdwight merged commit ebbfa9d into main Sep 15, 2024
1 check passed
@qhdwight qhdwight deleted the sim-update-wgpu branch September 15, 2024 22:36
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.

1 participant