mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Correct programming blitProperties for planar images
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4692
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cb54606429
commit
76f7070917
@@ -276,8 +276,8 @@ void BlitCommandsHelper<GfxFamily>::dispatchBlitCommandsRegion(const BlitPropert
|
||||
UNRECOVERABLE_IF(blitProperties.copySize.x > BlitterConstants::maxBlitWidth || blitProperties.copySize.y > BlitterConstants::maxBlitHeight);
|
||||
auto bltCmd = GfxFamily::cmdInitXyCopyBlt;
|
||||
|
||||
bltCmd.setSourceBaseAddress(blitProperties.srcAllocation->getGpuAddress());
|
||||
bltCmd.setDestinationBaseAddress(blitProperties.dstAllocation->getGpuAddress());
|
||||
bltCmd.setSourceBaseAddress(blitProperties.srcGpuAddress);
|
||||
bltCmd.setDestinationBaseAddress(blitProperties.dstGpuAddress);
|
||||
|
||||
bltCmd.setDestinationX1CoordinateLeft(static_cast<uint32_t>(blitProperties.dstOffset.x));
|
||||
bltCmd.setDestinationY1CoordinateTop(static_cast<uint32_t>(blitProperties.dstOffset.y));
|
||||
|
||||
Reference in New Issue
Block a user