You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing in a reference to an array in a builder for example for the RenderPassCreateInfoBuilder like this:
let create_info = ash::vk::RenderPassCreateInfo::builder().attachments(&[color_attachment]).subpasses(&[sub_pass]).dependencies(&[dependency]).build();
After the create_info is build, The slices can be preemptively freed.
Fix suggestion: Introduce a PhantomData with the lifetime of the Builder in such cases.
The text was updated successfully, but these errors were encountered:
When passing in a reference to an array in a builder for example for the
RenderPassCreateInfoBuilder
like this:After the create_info is build, The slices can be preemptively freed.
Fix suggestion: Introduce a PhantomData with the lifetime of the Builder in such cases.
The text was updated successfully, but these errors were encountered: