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

Fix how rowExtent and sliceExtent are calculated for copy operations #2340

Closed
wants to merge 1 commit into from

Conversation

gregschlom
Copy link

@gregschlom gregschlom commented Mar 27, 2024

bufferRowLength and bufferImageHeight are specified in texels, not bytes, therefore it is necessary to multiply them by the block size to get the correct row extent and slice extent in bytes.

…erations

`bufferRowLength` and `bufferImageHeight` are specified in texels, not bytes, therefore it is necessary to multiply then by the block size to get the correct row extent and slice extent in bytes.
@CLAassistant
Copy link

CLAassistant commented Mar 27, 2024

CLA assistant check
All committers have signed the CLA.

@oddhack oddhack requested a review from r-potter April 3, 2024 13:43
@r-potter
Copy link
Contributor

Intersects with internal MR: https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/6588

@gregschlom
Copy link
Author

Cool, we can close this, looks like Tobias' PR covers this change

@gregschlom gregschlom closed this Apr 10, 2024
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.

4 participants