mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Update compression encoding interface + test traits
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4b1684541c
commit
c2e333fe38
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
* Copyright (C) 2019-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -103,7 +103,7 @@ ze_result_t ImageCoreFamily<gfxCoreFamily>::initialize(Device *device, const ze_
|
||||
surfaceState.setNumberOfMultisamples(RENDER_SURFACE_STATE::NUMBER_OF_MULTISAMPLES::NUMBER_OF_MULTISAMPLES_MULTISAMPLECOUNT_1);
|
||||
|
||||
if (gmm && gmm->isRenderCompressed) {
|
||||
NEO::setAuxParamsForCCS<GfxFamily>(&surfaceState, gmm);
|
||||
NEO::EncodeSurfaceState<GfxFamily>::setAuxParamsForCCS(&surfaceState, gmm);
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -144,7 +144,7 @@ ze_result_t ImageCoreFamily<gfxCoreFamily>::initialize(Device *device, const ze_
|
||||
redescribedSurfaceState.setNumberOfMultisamples(RENDER_SURFACE_STATE::NUMBER_OF_MULTISAMPLES::NUMBER_OF_MULTISAMPLES_MULTISAMPLECOUNT_1);
|
||||
|
||||
if (gmm && gmm->isRenderCompressed) {
|
||||
NEO::setAuxParamsForCCS<GfxFamily>(&redescribedSurfaceState, gmm);
|
||||
NEO::EncodeSurfaceState<GfxFamily>::setAuxParamsForCCS(&redescribedSurfaceState, gmm);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user