Refactor [1/n]: Make compression preference allocation property

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-12-02 12:21:33 +00:00
committed by Compute-Runtime-Automation
parent 4461b8ea3f
commit 7b55d38e34
29 changed files with 109 additions and 104 deletions

View File

@@ -70,7 +70,6 @@ ze_result_t ImageCoreFamily<gfxCoreFamily>::initialize(Device *device, const ze_
imgInfo.linearStorage = surfaceType == RENDER_SURFACE_STATE::SURFACE_TYPE_SURFTYPE_1D;
imgInfo.plane = lookupTable.imageProperties.isPlanarExtension ? static_cast<GMM_YUV_PLANE>(lookupTable.imageProperties.planeIndex + 1u) : GMM_NO_PLANE;
imgInfo.useLocalMemory = false;
imgInfo.preferRenderCompression = false;
if (!isImageView) {
if (lookupTable.isSharedHandle) {