-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Issue automatically imported from old repo: EmbarkStudios/rust-gpu#981
Old labels: t: enhancement
Originally creatd by NiklasNummelin on 2023-01-03T13:14:43Z
When using MaybeUninit
to initialize variables one gets this issue:
error: Cannot cast between pointer types. From: [u8; 256]. To: *struct core::mem::ManuallyDrop<[Vec4; 16]> { value: [f32x4; 16] }.
Would be nice to allow, if possible, as it's often unnecessary to initialize variables in shaders and adds additional overhead.
nazar-pc
Metadata
Metadata
Assignees
Labels
No labels