mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
- pass registry path in constructor Change-Id: I2a121da2c9483a0df088989feea490a638c63016 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
25 lines
604 B
C++
25 lines
604 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/debug_settings/debug_settings_manager.h"
|
|
#include "runtime/sampler/sampler.h"
|
|
#include "runtime/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 "runtime/sampler/sampler_factory_init.inl"
|
|
} // namespace NEO
|