diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-08 03:33:57 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-11 21:43:07 +0100 |
commit | 93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5 (patch) | |
tree | 27f50dead32e6741d0cff761b3c0be4d8d7acd0c /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | Merge pull request #9508 from ameerj/hle-ipc-buffer-span (diff) | |
download | yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar.gz yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar.bz2 yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar.lz yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar.xz yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.tar.zst yuzu-93cf2b3ca8edeb1e8f1e00182f920b8d50664ed5.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index 1f27a3589..b9ee83de7 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -70,6 +70,8 @@ public: void CopyImage(Image& dst, Image& src, std::span<const VideoCommon::ImageCopy> copies); + void CopyImageMSAA(Image& dst, Image& src, std::span<const VideoCommon::ImageCopy> copies); + bool ShouldReinterpret(Image& dst, Image& src); void ReinterpretImage(Image& dst, Image& src, std::span<const VideoCommon::ImageCopy> copies); @@ -80,6 +82,11 @@ public: return false; } + bool CanUploadMSAA() const noexcept { + // TODO: Implement buffer to MSAA uploads + return false; + } + void AccelerateImageUpload(Image&, const StagingBufferRef&, std::span<const VideoCommon::SwizzleParameters>); |