diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-27 15:40:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 15:40:33 +0100 |
commit | b2e129eaa5c97f216dcf02e2d853ca809ce392b7 (patch) | |
tree | 00008f3292759b20e529514b067bc798ae19b21d /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | buffer_cache: avoid overflow in usage tracker (#13166) (diff) | |
download | yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar.gz yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar.bz2 yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar.lz yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar.xz yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.tar.zst yuzu-b2e129eaa5c97f216dcf02e2d853ca809ce392b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 5 |
1 files changed, 5 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 aaeb5ef93..8501ec384 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -361,6 +361,10 @@ public: return has_stencil; } + [[nodiscard]] bool IsRescaled() const noexcept { + return is_rescaled; + } + private: vk::Framebuffer framebuffer; VkRenderPass renderpass{}; @@ -373,6 +377,7 @@ private: std::array<size_t, NUM_RT> rt_map{}; bool has_depth{}; bool has_stencil{}; + bool is_rescaled{}; }; struct TextureCacheParams { |