Skip to content
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

hal/dx12: improve RowPitch computation #2409

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Conversation

kvark
Copy link
Member

@kvark kvark commented Jan 19, 2022

Connections
Fixes kvark/vange-rs#183

Description
For 1D copies, we set RowPitch==0, and DX12 doesn't like this.
PR includes a few nice refactoring bits.

Testing
vange-rs

@kvark kvark added the PR: needs back-porting PR with a fix that needs to land on crates label Jan 19, 2022
@kvark kvark requested a review from cwfitzgerald January 19, 2022 21:01
@kvark kvark merged commit f3891fe into gfx-rs:master Jan 21, 2022
@kvark kvark deleted the dx12-copy branch January 21, 2022 00:59
kvark added a commit to kvark/wgpu that referenced this pull request Jan 21, 2022
@kvark kvark mentioned this pull request Jan 21, 2022
kvark added a commit that referenced this pull request Jan 21, 2022
@kvark
Copy link
Member Author

kvark commented Jan 21, 2022

published in wgpu-hal-0.12.3

@kvark kvark removed the PR: needs back-porting PR with a fix that needs to land on crates label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Game don't work on DX12
1 participant