2022-06-30 01:27:49 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2021-12-17 16:45:06 +01:00
|
|
|
|
|
|
|
#include "video_core/control/channel_state_cache.inc"
|
|
|
|
#include "video_core/texture_cache/texture_cache_base.h"
|
|
|
|
|
|
|
|
namespace VideoCommon {
|
|
|
|
|
|
|
|
TextureCacheChannelInfo::TextureCacheChannelInfo(Tegra::Control::ChannelState& state) noexcept
|
|
|
|
: ChannelInfo(state), graphics_image_table{gpu_memory}, graphics_sampler_table{gpu_memory},
|
|
|
|
compute_image_table{gpu_memory}, compute_sampler_table{gpu_memory} {}
|
|
|
|
|
|
|
|
template class VideoCommon::ChannelSetupCaches<VideoCommon::TextureCacheChannelInfo>;
|
|
|
|
|
|
|
|
} // namespace VideoCommon
|