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 | 56e02012014c7cb62e4f828ca4bd5c7078ccf2c5 (patch) | |
| tree | 237cb91de58bf13a86723d43a8bfd0e5bf846fc6 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 6ccaae812af361b6636a5f87d262f15a3dee3a5a (diff) | |
| parent | 62c747f8a153a8153d7aa87778a2b1315872aa11 (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 40db243d29..4b4f7061bf 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 |
