mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Fix dont use srcTile type to calculate dst pitch value
Change-Id: I0d31cd5979f092bcf826898c7034b7b50a3c3c03 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0e76e9db66
commit
a3bb60e17c
@@ -158,7 +158,7 @@ void BlitCommandsHelper<Family>::appendBlitCommandsForImages(const BlitPropertie
|
||||
getBlitAllocationProperties(*dstAllocation, dstPitch, dstQPitch, dstTileType, mipTailLod);
|
||||
|
||||
srcPitch = (srcTileType == GMM_NOT_TILED) ? srcPitch : srcPitch / 4;
|
||||
dstPitch = (srcTileType == GMM_NOT_TILED) ? dstPitch : dstPitch / 4;
|
||||
dstPitch = (dstTileType == GMM_NOT_TILED) ? dstPitch : dstPitch / 4;
|
||||
|
||||
blitCmd.setSourcePitch(srcPitch);
|
||||
blitCmd.setDestinationPitch(dstPitch);
|
||||
|
||||
Reference in New Issue
Block a user