mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
25 lines
636 B
C++
25 lines
636 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
#include "opencl/source/sampler/sampler.h"
|
|
#include "opencl/source/sampler/sampler.inl"
|
|
|
|
namespace NEO {
|
|
|
|
using SAMPLER_STATE = typename Family::SAMPLER_STATE;
|
|
|
|
template <>
|
|
void SamplerHw<Family>::appendSamplerStateParams(SAMPLER_STATE *state) {
|
|
if (DebugManager.flags.ForceSamplerLowFilteringPrecision.get()) {
|
|
state->setLowQualityFilter(SAMPLER_STATE::LOW_QUALITY_FILTER_ENABLE);
|
|
}
|
|
}
|
|
|
|
#include "opencl/source/sampler/sampler_factory_init.inl"
|
|
} // namespace NEO
|