Dont return value from dispatchBlitCommands

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2020-11-26 13:50:04 +00:00
committed by Compute-Runtime-Automation
parent ddbaf82f04
commit d4c5ee63f2

View File

@@ -313,7 +313,8 @@ void BlitCommandsHelper<GfxFamily>::dispatchBlitCommands(const BlitProperties &b
if (blitProperties.blitDirection == BlitterConstants::BlitDirection::HostPtrToImage ||
blitProperties.blitDirection == BlitterConstants::BlitDirection::ImageToHostPtr) {
return dispatchBlitCommandsRegion(blitProperties, linearStream, rootDeviceEnvironment);
dispatchBlitCommandsRegion(blitProperties, linearStream, rootDeviceEnvironment);
return;
}
bool preferCopyBufferRegion = isCopyRegionPreferred(blitProperties.copySize, rootDeviceEnvironment);