mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Fixed blitter path for printf with stateless compression in sba
Related-To: NEO-5107 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c656866b74
commit
754d6e40e0
@@ -26,5 +26,15 @@ void HwHelperHw<Family>::setExtraAllocationData(AllocationData &allocationData,
|
||||
allocationData.storageInfo.isLockable = false;
|
||||
}
|
||||
}
|
||||
|
||||
auto &helper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
|
||||
if (helper.allowStatelessCompression(hwInfo)) {
|
||||
if (properties.allocationType == GraphicsAllocation::AllocationType::GLOBAL_SURFACE ||
|
||||
properties.allocationType == GraphicsAllocation::AllocationType::CONSTANT_SURFACE ||
|
||||
properties.allocationType == GraphicsAllocation::AllocationType::PRINTF_SURFACE) {
|
||||
allocationData.flags.requiresCpuAccess = false;
|
||||
allocationData.storageInfo.isLockable = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user