-
Fix B<->T copies of multiple array layers and unpacked rowpitch · e8dd233cCorentin Wallez authored
When copying between buffers and textures, the bufferLayerSize didn't take the rowPitch into account and would in most cases just use the size of the copy. Fix this by using bufferSlicePitchBytes for src/dstLayerSize. Bug: swiftshader:152 Change-Id: I716f809bfa068d4836ef02366a01732fc2baa9d3 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46509 Presubmit-Ready: Corentin Wallez <cwallez@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com> Tested-by:
Corentin Wallez <cwallez@google.com>
e8dd233c
×