Files
compute-runtime/opencl/source/gen11/image_gen11.cpp
Mrozek, Michal f71f6d2b72 refactor: remove not needed code
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2024-03-08 18:18:55 +01:00

30 lines
662 B
C++

/*
* Copyright (C) 2019-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/gen11/hw_cmds_base.h"
#include "opencl/source/mem_obj/image.inl"
#include <map>
namespace NEO {
using Family = Gen11Family;
static auto gfxCore = IGFX_GEN11_CORE;
template <>
void ImageHw<Family>::appendSurfaceStateParams(RENDER_SURFACE_STATE *surfaceState, uint32_t rootDeviceIndex) {
if (hasAlphaChannel(&imageFormat)) {
surfaceState->setSampleTapDiscardDisable(RENDER_SURFACE_STATE::SAMPLE_TAP_DISCARD_DISABLE_ENABLE);
}
}
} // namespace NEO
// factory initializer
#include "opencl/source/mem_obj/image_factory_init.inl"