Skip to content

Update physicalLinearRepresentation.m_rowPitches to be consistent in UnrestrictedBufferTextureCopyPitchSupported path#106

Merged
vdwtanner merged 1 commit intomainfrom
user/tvandewalle/linearRepresentationFix
Mar 24, 2026
Merged

Update physicalLinearRepresentation.m_rowPitches to be consistent in UnrestrictedBufferTextureCopyPitchSupported path#106
vdwtanner merged 1 commit intomainfrom
user/tvandewalle/linearRepresentationFix

Conversation

@vdwtanner
Copy link
Copy Markdown
Collaborator

@vdwtanner vdwtanner commented Mar 24, 2026

We don't actually use this value, but it is good to keep it consistent. Future me doesn't want to be confused by the discrepancy.

Also cast slicePitch to UINT64 before multiplying for calculating total size to prevent overflow.

…UnrestrictedBufferTextureCopyPitchSupported path
@vdwtanner vdwtanner merged commit 5220c6b into main Mar 24, 2026
4 of 6 checks passed
@vdwtanner vdwtanner deleted the user/tvandewalle/linearRepresentationFix branch March 24, 2026 19:41
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.

2 participants