diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-11-18 19:26:14 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-11-18 19:26:14 +0100 |
commit | ae60a5657e8262472754e3b6583a5a1c59522f0e (patch) | |
tree | 19bc1f82ca33bb7474b3f1558fe88b60592e39e3 /src/video_core/buffer_cache/buffer_cache.h | |
parent | shader_recompiler: Fix spelling of "derivate" (#12067) (diff) | |
download | yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar.gz yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar.bz2 yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar.lz yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar.xz yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.tar.zst yuzu-ae60a5657e8262472754e3b6583a5a1c59522f0e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 081a574e8..f5b10411b 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -1192,11 +1192,6 @@ void BufferCache<P>::UpdateDrawIndirect() { .size = static_cast<u32>(size), .buffer_id = FindBuffer(*cpu_addr, static_cast<u32>(size)), }; - VAddr cpu_addr_start = Common::AlignDown(*cpu_addr, 64); - VAddr cpu_addr_end = Common::AlignUp(*cpu_addr + size, 64); - IntervalType interval{cpu_addr_start, cpu_addr_end}; - ClearDownload(interval); - common_ranges.subtract(interval); }; if (current_draw_indirect->include_count) { update(current_draw_indirect->count_start_address, sizeof(u32), |