summaryrefslogblamecommitdiffstats
path: root/src/video_core/texture_cache/texture_cache.cpp
blob: 8a9a32f44a66954f41a16986492fb88b2acad776 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                                                     












                                                                                               
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#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