-
Notifications
You must be signed in to change notification settings - Fork 935
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
Add Extended Examples #3885
Add Extended Examples #3885
Conversation
Co-authored-by: Alphyr <[email protected]>
… be changed to work for wasm. [no ci]
Merge branch 'JustAnotherCodemonkey/add-examples' of github.com:JustAnotherCodemonkey/wgpu into JustAnotherCodemonkey/add-examples
Re-drafting since I decided to add at least one more example for compute workgroups. |
52e9a6f
to
a15fc4a
Compare
…ures to the table to accurately represent the examples.\n\nFor the new features, not all old examples may be fully represented.
…examples as well as hints on how examples build off of each other.
@jimblandy @teoxoy @nical could someone from moz-land take a look at this, I've done a solid first pass on it and the PR is strong, but am really struggling to find the bandwidth to do a second pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks a lot! A few minor adjustments before merging this. In particular let's first clarify the parts around map_async
and double check that it's a reliable pattern to use in general.
…o-texture to make it more clear.
…ut staging buffer.
…struct to the input WGSL buffer.
…ecessary (portability to WASM).
…struct using POD to be more clear.
@cwfitzgerald Since I updated the README, do you think you could lift the change requested that was regarding the README? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your patience!
Just need conflicts fixed and we can land! |
Checklist
cargo clippy
.cargo clippy --target wasm32-unknown-unknown
if applicable.Description
Add examples, especially regarding wgpu for GPGPU.
Testing
(Most of these I don't really know how to test. I guess the testing method is running it and seeing if what goes to screen / fs is the same as what was advertised.)