-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added supports_transfer function. #2461
Conversation
@@ -50,7 +50,9 @@ impl Capability for Compute { | |||
impl Capability for Transfer { | |||
fn supported_by(qt: QueueType) -> bool { | |||
match qt { | |||
_ => true | |||
QueueType::General | | |||
QueueType::Transfer => true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compute and Graphics queues supports transfer too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow slipped my mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Adding supports_transfer function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
bors r+
2461: Added supports_transfer function. r=kvark a=bbrown683 Fixes #issue PR checklist: - [ ] `make` succeeds (on *nix) - [ ] `make reftests` succeeds - [ ] tested examples with the following backends: - [ ] `rustfmt` run on changed code <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/gfx-rs/gfx/2461) <!-- Reviewable:end --> Co-authored-by: Ben Brown <[email protected]>
Fixes #issue
PR checklist:
make
succeeds (on *nix)make reftests
succeedsrustfmt
run on changed codeThis change is