Files
compute-runtime/opencl/source/mem_obj/image_tgllp_and_later.inl
Szymon Morek aa5e1780a2 Rename plus in filenames to and_later
Related-To: NEO-5920

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-08-17 11:26:27 +02:00

15 lines
380 B
C++

/*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
template <>
void ImageHw<Family>::appendSurfaceStateDepthParams(RENDER_SURFACE_STATE *surfaceState, Gmm *gmm) {
if (gmm) {
const bool isDepthResource = gmm->gmmResourceInfo->getResourceFlags()->Gpu.Depth;
surfaceState->setDepthStencilResource(isDepthResource);
}
}