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
{{ message }}
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
The submit functions takes a slice, which allows people to do things like:
let encoder = encoder.finish();let cb = [encoder];
state.queue.submit(&cb);// here encoder remains in the scope
one way to avoid this would be to take a Vec<CommandBuffer> instead of &[CommandBuffer], right ?
The main downside of a such thing would be that it enforces people using a Vec, and would be a breaking change 🤔.
Were you thinking about something else or is this this what you're expecting ?
267: Use extend_from_slice instead of copy_from_slice r=kvark a=kocsis1david
`copy_from_slice` gives an error because it expects the lengths to be the same.
Co-authored-by: David <kocsis1david@windowslive.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This would reflect the semantics of the API. You can't re-use them anyway.
The text was updated successfully, but these errors were encountered: