diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-04-11 17:59:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 17:59:18 +0200 |
commit | 54b4c84ab6d353867dc483ac35f947d50766c36e (patch) | |
tree | 4c78268adfa55161c6f9cf11cc9b577564bd8da1 /src/video_core/texture_cache/texture_cache.h | |
parent | Merge pull request #10027 from bylaws/master (diff) | |
parent | video_core: Keep the definition of DimensionControl consistent with nvidia open doc (diff) | |
download | yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar.gz yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar.bz2 yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar.lz yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar.xz yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.tar.zst yuzu-54b4c84ab6d353867dc483ac35f947d50766c36e.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 62fb98b55..ed5c768d8 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); } |