diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-28 13:17:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-28 13:17:26 -0400 |
| commit | e994388b4342f3a8531ca529a42091a919e47c14 (patch) | |
| tree | 237cb91de58bf13a86723d43a8bfd0e5bf846fc6 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 88ccc420b8d0f9b0e597d679a66bf249523b498f (diff) | |
| parent | b0bea13ed8422119cc4f09763be095cbc3762795 (diff) | |
Merge pull request #10469 from Kelebek1/bc_state
Move buffer bindings to per-channel state
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.cpp b/src/video_core/buffer_cache/buffer_cache.cpp index 40db243d2..4b4f7061b 100644 --- a/src/video_core/buffer_cache/buffer_cache.cpp +++ b/src/video_core/buffer_cache/buffer_cache.cpp @@ -2,6 +2,8 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "common/microprofile.h" +#include "video_core/buffer_cache/buffer_cache_base.h" +#include "video_core/control/channel_state_cache.inc" namespace VideoCommon { @@ -9,4 +11,6 @@ MICROPROFILE_DEFINE(GPU_PrepareBuffers, "GPU", "Prepare buffers", MP_RGB(224, 12 MICROPROFILE_DEFINE(GPU_BindUploadBuffers, "GPU", "Bind and upload buffers", MP_RGB(224, 128, 128)); MICROPROFILE_DEFINE(GPU_DownloadMemory, "GPU", "Download buffers", MP_RGB(224, 128, 128)); +template class VideoCommon::ChannelSetupCaches<VideoCommon::BufferCacheChannelInfo>; + } // namespace VideoCommon |
