diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-18 23:16:21 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-18 23:18:33 +0200 |
commit | cf137ea40b8770310773cf9d51ae5e47bdbddf9d (patch) | |
tree | 56516f5f7bfb913af3770bca656f1c6fd37ca6d5 /src/video_core/renderer_vulkan/vk_rasterizer.h | |
parent | Merge pull request #4081 from Morph1984/maxwell-to-gl-vk (diff) | |
download | yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar.gz yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar.bz2 yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar.lz yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar.xz yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.tar.zst yuzu-cf137ea40b8770310773cf9d51ae5e47bdbddf9d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h index c8c187606..83e00e7e9 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.h +++ b/src/video_core/renderer_vulkan/vk_rasterizer.h @@ -159,7 +159,10 @@ private: void FlushWork(); - Texceptions UpdateAttachments(); + /// @brief Updates the currently bound attachments + /// @param is_clear True when the framebuffer is updated as a clear + /// @return Bitfield of attachments being used as sampled textures + Texceptions UpdateAttachments(bool is_clear); std::tuple<VkFramebuffer, VkExtent2D> ConfigureFramebuffers(VkRenderPass renderpass); |