KhronosGroup / Vulkan-Docs

The Vulkan API Specification and related tools
Other
2.77k stars 465 forks source link

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

Closed gregschlom closed 5 months ago

gregschlom commented 6 months ago

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.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

r-potter commented 5 months ago

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

gregschlom commented 5 months ago

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