-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix: move 0-dimension check for transfers to be after validation #5362
Draft
ErichDonGubler
wants to merge
1
commit into
gfx-rs:trunk
Choose a base branch
from
erichdongubler-mozilla:0-dimension-transfers
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
fix: move 0-dimension check for transfers to be after validation #5362
ErichDonGubler
wants to merge
1
commit into
gfx-rs:trunk
from
erichdongubler-mozilla:0-dimension-transfers
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a3a24d9
to
1746ebe
Compare
1746ebe
to
60cf6db
Compare
60cf6db
to
aad14de
Compare
aad14de
to
e504e14
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
ErichDonGubler
commented
May 31, 2024
wgpu-core/src/command/transfer.rs
Outdated
Comment on lines
707
to
665
if size == 0 { | ||
log::trace!("Ignoring copy_buffer_to_buffer of size 0"); | ||
return Ok(()); | ||
} | ||
|
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.
issue: This and the other hunk should be moved, not removed.
e504e14
to
b350e77
Compare
732f2dd
to
2e5625d
Compare
1a46142
to
1d2a422
Compare
7a3ddb3
to
3cbdc71
Compare
819fea8
to
f50cb85
Compare
f50cb85
to
0b7c91b
Compare
0b7c91b
to
dd61612
Compare
dd61612
to
7b43db4
Compare
7b43db4
to
a28c871
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Connections
Link to the issues addressed by this PR, or dependent PRs in other repositories
Discovered with Firefox's bug 1848866.
Description
Describe what problem this is solving, and how it's solved.
Testing
Explain how this change is tested.
Checklist
cargo fmt
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.