/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ template <> void HwInfoConfigHw::adjustPlatformForProductFamily(HardwareInfo *hwInfo) { Gen12LPHelpers::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE); } template <> bool HwInfoConfigHw::isPageTableManagerSupported(const HardwareInfo &hwInfo) const { return hwInfo.capabilityTable.ftrRenderCompressedBuffers || hwInfo.capabilityTable.ftrRenderCompressedImages; } template <> void HwInfoConfigHw::adjustSamplerState(void *sampler, const HardwareInfo &hwInfo) { using SAMPLER_STATE = typename TGLLPFamily::SAMPLER_STATE; auto samplerState = reinterpret_cast(sampler); if (DebugManager.flags.ForceSamplerLowFilteringPrecision.get()) { samplerState->setLowQualityFilter(SAMPLER_STATE::LOW_QUALITY_FILTER_ENABLE); } }