diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-04-15 12:29:49 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:53 +0200 |
commit | ada09778d97d39d83353ca54d0d6c9abd5eefc60 (patch) | |
tree | 88758ebac615e8f835cd0f3487e313ec01fa5a6b /src/video_core/renderer_vulkan/vk_texture_cache.h | |
parent | ImageBase: Basic fixes. (diff) | |
download | yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar.gz yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar.bz2 yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar.lz yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar.xz yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.tar.zst yuzu-ada09778d97d39d83353ca54d0d6c9abd5eefc60.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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index 69f06ee7b..0b7ac0df1 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -268,7 +268,7 @@ public: ImageView* depth_buffer, const VideoCommon::RenderTargets& key); explicit Framebuffer(TextureCacheRuntime& runtime, ImageView* color_buffer, - ImageView* depth_buffer, VkExtent2D extent); + ImageView* depth_buffer, VkExtent2D extent, bool is_rescaled); ~Framebuffer(); @@ -279,7 +279,8 @@ public: Framebuffer& operator=(Framebuffer&&) = default; void CreateFramebuffer(TextureCacheRuntime& runtime, - std::span<ImageView*, NUM_RT> color_buffers, ImageView* depth_buffer); + std::span<ImageView*, NUM_RT> color_buffers, ImageView* depth_buffer, + bool is_rescaled = false); [[nodiscard]] VkFramebuffer Handle() const noexcept { return *framebuffer; |