diff options
author | FengChen <vonchenplus@gmail.com> | 2023-03-14 15:36:34 +0100 |
---|---|---|
committer | FengChen <vonchenplus@gmail.com> | 2023-03-14 15:36:34 +0100 |
commit | 11ffbee5ae4c2930936d5be9201e2a0c04706579 (patch) | |
tree | 4fadfac722f0a142c15fc4ebb9b9c75ca03eb063 /src/video_core/texture_cache/texture_cache.h | |
parent | Merge pull request #9951 from Morph1984/save (diff) | |
download | yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar.gz yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar.bz2 yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar.lz yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar.xz yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.tar.zst yuzu-11ffbee5ae4c2930936d5be9201e2a0c04706579.zip |
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 8e8b9a5e6..c09eecd1a 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1503,7 +1503,7 @@ ImageViewId TextureCache<P>::FindColorBuffer(size_t index, bool is_clear) { if (rt.format == Tegra::RenderTargetFormat::NONE) { return ImageViewId{}; } - const ImageInfo info(regs, index); + const ImageInfo info(regs.rt[index], regs.anti_alias_samples_mode); return FindRenderTargetView(info, gpu_addr, is_clear); } @@ -1517,7 +1517,7 @@ ImageViewId TextureCache<P>::FindDepthBuffer(bool is_clear) { if (gpu_addr == 0) { return ImageViewId{}; } - const ImageInfo info(regs); + const ImageInfo info(regs.zeta, regs.zeta_size, regs.anti_alias_samples_mode); return FindRenderTargetView(info, gpu_addr, is_clear); } |