Swoorup / wgsl-bindgen

Generate typesafe Rust bindings for wgsl shaders in wgpu
https://crates.io/crates/wgsl_bindgen
MIT License
34 stars 7 forks source link

Tidy up the output #9

Closed Swoorup closed 8 months ago

Swoorup commented 8 months ago

When looking at the output, it appears as if a bit all over and messy right now.

Perhaps we could move assertions, impls to their own module and re-exported by root (is it even required)? Somehow use rustfmt instead of prettyparse?

Moving the assertions, impls around, we will need to ensure the struct usages as fully qualified.