diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp index 155b687f52..f4617d10ea 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp @@ -1210,7 +1210,8 @@ CALGSLDevice::GetCopyType( // Make sure linear pitch in bytes is 4 bytes aligned if (((linearBytePitch % 4) == 0) && // another DRM restriciton... SI has 4 pixels - (srcOffset[0] % 4 == 0)) + (srcOffset[0] % 4 == 0) && + (destOffset[0] % 4 == 0)) { // The sDMA T2L cases we need to avoid are when the tiled_x // is not a multiple of BytesPerPixel. @@ -1231,7 +1232,8 @@ CALGSLDevice::GetCopyType( // Make sure linear pitch in bytes is 4 bytes aligned if (((linearBytePitch % 4) == 0) && // another DRM restriciton... SI has 4 pixels - (destOffset[0] % 4 == 0)) + (destOffset[0] % 4 == 0) && + (srcOffset[0] % 4 == 0)) { // The sDMA L2T cases we need to avoid are when the tiled_x // is not a multiple of BytesPerPixel.