P4 to Git Change 1295077 by gandryey@gera-w8 on 2016/07/25 15:54:39
SWDEV-95007 - OpenCL on PAL (Windows) - Fix buffer rect copy when bytesPerElement>1 - Report the number of banks to avoid OCLtst failure Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#15 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#8 edit
이 커밋은 다음에 포함됨:
1 부모
cc7cddf745
커밋
594dcef8a4
2 파일이 변경됨
+2
-2
검색과 일치하는 파일 없음
@@ -1238,7 +1238,7 @@ Resource::partialMemCopyTo(
|
||||
copyRegion.srcBuffer.offset = calSrcOrigin[0] + offset();
|
||||
copyRegion.srcBuffer.rowPitch = calSrcOrigin[1];
|
||||
copyRegion.srcBuffer.depthPitch = calSrcOrigin[2];
|
||||
copyRegion.extent.width = calSize[0];
|
||||
copyRegion.extent.width = calSize[0] / bytesPerElement;
|
||||
copyRegion.extent.height = calSize[1];
|
||||
copyRegion.extent.depth = calSize[2];
|
||||
copyRegion.dstBuffer.format.chFmt = ChannelFmt(bytesPerElement);
|
||||
|
||||
새 이슈에서 참조
사용자 차단