wgsl-bindgen icon indicating copy to clipboard operation
wgsl-bindgen copied to clipboard

Explore `MaybeUninit` for bytemuck serialization

Open Swoorup opened this issue 5 months ago • 0 comments

For fields, arrays that are padded in bytemuck, there is no reason to always 0-initialize it. We can likely use MaybeUninit for more efficient copying when building from the *Init struct

Swoorup avatar Jul 15 '25 02:07 Swoorup