-
Notifications
You must be signed in to change notification settings - Fork 1.1k
DX12: Align copies b/w textures and buffers when D3D12_FEATURE_DATA_D3D12_OPTIONS13.UnrestrictedBufferTextureCopyPitchSupported
is false
#7721
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
base: trunk
Are you sure you want to change the base?
Conversation
612dc54
to
60d2d96
Compare
This comment was marked as resolved.
This comment was marked as resolved.
60d2d96
to
505438d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
505438d
to
734e1a3
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.
Got the CI issue resolved! I was definitely doing something wrong. 👉🏻👈🏻 From community chat:
|
335c9ab
to
fd850ff
Compare
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.
Looks good overall but we should also enable some CTS tests like the one in #5285.
src_offset: orig_offset, | ||
dst_offset: 0, |
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.
These seem swapped.
copy_info.unwrap().bytes_in_copy | ||
}; | ||
|
||
let size = wgt::BufferSize::new(size)?; |
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.
I think we can unwrap
here, since it would simplify the code and 0 sized copies shouldn't appear at the hal level.
fd850ff
to
5fa4092
Compare
…restrictedBufferTextureCopyPitchSupported`
5fa4092
to
698316c
Compare
Connections
rows_per_image
for 3D texture writes #4150.Testing
Squash or Rebase?
rebase plz
Checklist
CHANGELOG.md
entry.