compute-runtime/opencl/source/mem_obj/image_tgllp_plus.inl

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);
}
}