mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Related-To: NEO-4672 Change-Id: I983adfe32ca153e9edbeb5918bf923516758d200 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
20 lines
590 B
C++
20 lines
590 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
template <>
|
|
void ImageHw<Family>::setAuxParamsForMCSCCS(RENDER_SURFACE_STATE *surfaceState, Gmm *gmm) {
|
|
surfaceState->setAuxiliarySurfaceMode(AUXILIARY_SURFACE_MODE::AUXILIARY_SURFACE_MODE_AUX_MCS_LCE);
|
|
}
|
|
|
|
template <>
|
|
void ImageHw<Family>::appendSurfaceStateDepthParams(RENDER_SURFACE_STATE *surfaceState, Gmm *gmm) {
|
|
if (gmm) {
|
|
const bool isDepthResource = gmm->gmmResourceInfo->getResourceFlags()->Gpu.Depth;
|
|
surfaceState->setDepthStencilResource(isDepthResource);
|
|
}
|
|
}
|