Opensource TGLLP

Change-Id: I1685057a641d938170b8c7ec860d2f53f45b1d6d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-09-18 19:32:33 +02:00
committed by sys_ocldev
parent dd75cdcf04
commit d18d1b6ce4
119 changed files with 10616 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ set(RUNTIME_SRCS_SAMPLER
${CMAKE_CURRENT_SOURCE_DIR}/sampler.h
${CMAKE_CURRENT_SOURCE_DIR}/sampler.inl
${CMAKE_CURRENT_SOURCE_DIR}/sampler_factory_init.inl
${CMAKE_CURRENT_SOURCE_DIR}/sampler_tgllp_plus.inl
)
add_subdirectories()
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_SAMPLER})

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/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