Buffer Cache: Eliminate clears on Indirect buffers
This commit is contained in:
parent
feb60de5c3
commit
ae60a5657e
2 changed files with 1 additions and 6 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue