Thank you for using bytemuck! #606
myth0genesis
started this conversation in
General
Replies: 1 comment
-
|
I appreciate the sentiment! I wasn't aware of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Firstly, just want to thank Ben and the contributors for working so hard to keep this guide up-to-date. It's an invaluable resource and I'm incredibly grateful for it.
Just also wanted to say that it's very much appreciated that you're using bytemuck instead of encase like the example in the wgpu repo suggests. It appears the way the wgpu example for uniform buffers does things, it does its alignment checks at compile time, which is great if you want to compile your shaders when building the binary, but it's turned out to be a roadblock when attempting to compile shaders at runtime. Admittedly, it's not clear to me if encase has the ability to do runtime checks hidden behind some feature, but it's nice having things laid out like how your tutorial does, in such a way that makes things like hot-reloading shaders a breeze.
I suppose this is part thank-you note and also to raise a bit of awareness that there's at least someone here who hopes you keep the way in which the buffers are set up in this tutorial the same for future iterations 🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions