mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
|
|
/*
|
||
|
|
* Copyright (C) 2020 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());
|
||
|
|
}
|
||
|
|
}
|