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
Happy to accommodate and wrap this in an Arc as suggested in ash-rs/ash#731 (comment) - we do that internally in our codebase as well and have a device: device.as_ref().clone() with comment on AllocatorCreateDesc to duplicate the function pointers. Let's settle ash-rs/ash#731 before definitively doing so though.
The allocator type is quite large. This is due to holding a
ash::Device
.Summary of -Z print-type-sizes (
cargo +nightly rustc -- -Z print-type-sizes
):A possible solution could be to hold an
ash::vk::Device
handle and then load the function pointers the allocator uses.The text was updated successfully, but these errors were encountered: