compute-runtime/shared/source/image/image_skl_and_later.inl

16 lines
365 B
C++

/*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
template <>
void setMipTailStartLod<Family>(Family::RENDER_SURFACE_STATE *surfaceState, Gmm *gmm) {
surfaceState->setMipTailStartLod(0);
if (gmm != nullptr) {
surfaceState->setMipTailStartLod(gmm->gmmResourceInfo->getMipTailStartLodSurfaceState());
}
}