learn-wgpu
learn-wgpu copied to clipboard
#[repr(C, align(16))] may now work
You talk about bytemuck problems with #[repr(C, align(16))] here:
https://sotrh.github.io/learn-wgpu/showcase/alignment/#alignment-of-vertex-and-index-buffers
This might be solved as per: https://github.com/Lokathor/bytemuck/issues/129
Just a FYI. Thanks for your excellent 'learn-wgpu'!
I still get a compile error cannot transmute between types of different sizes, or dependently-sized types. Thanks for letting me know though!