mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: do not prefer image compression on xe_lpg for linux and WSL
Related-To: HSD-18034872015 Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
726d1b6dbb
commit
8814b6ac4f
@@ -211,7 +211,7 @@ Image *Image::create(Context *context,
|
||||
|
||||
auto &clGfxCoreHelper = defaultDevice->getRootDeviceEnvironment().getHelper<ClGfxCoreHelper>();
|
||||
bool preferCompression = MemObjHelper::isSuitableForCompression(!imgInfo.linearStorage, memoryProperties,
|
||||
*context, true);
|
||||
*context, defaultProductHelper.isImageSuitableForCompression());
|
||||
preferCompression &= clGfxCoreHelper.allowImageCompression(surfaceFormat->oclImageFormat);
|
||||
preferCompression &= !clGfxCoreHelper.isFormatRedescribable(surfaceFormat->oclImageFormat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user