diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-10-25 05:07:15 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:33 +0100 |
commit | 917b2466ad996cae75d9a0ca31226597b256acf9 (patch) | |
tree | 55e22274779a0b61d9d72b5baa5ca03c6774d67a /src/video_core/texture_cache/texture_cache_base.h | |
parent | gl_resource_manager: Ensure non EXT_framebuffer objects are created (diff) | |
download | yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar.gz yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar.bz2 yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar.lz yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar.xz yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.tar.zst yuzu-917b2466ad996cae75d9a0ca31226597b256acf9.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache_base.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h index eea589269..643ad811c 100644 --- a/src/video_core/texture_cache/texture_cache_base.h +++ b/src/video_core/texture_cache/texture_cache_base.h @@ -119,6 +119,11 @@ public: /// Refresh the state for compute image view and sampler descriptors void SynchronizeComputeDescriptors(); + /// Updates the Render Targets if they can be rescaled + /// @param is_clear True when the render targets are being used for clears + /// @retval True if the Render Targets have been rescaled. + bool RescaleRenderTargets(bool is_clear); + /// Update bound render targets and upload memory if necessary /// @param is_clear True when the render targets are being used for clears void UpdateRenderTargets(bool is_clear); |