diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-30 15:39:08 -0400 |
|---|---|---|
| committer | kraibse <33869366+kraibse@users.noreply.github.com> | 2026-11-01 21:01:51 +0100 |
| commit | d151e53e6148faeca1b5754e8b16f20da72c8252 (patch) | |
| tree | 0e1452376909d5aa273a8087466561944e1efd84 /src/video_core/buffer_cache/usage_tracker.h | |
| parent | 0c0a2441d61e36b11dcff476ee007641520f3dbb (diff) | |
nx2: read command lists the GPU wrote from the GPU's copy
Mario Kart World runs small command lists (20-byte entries) that its
culling dispatches fill in each frame. Accurate GPU mode reads every
command list through the caches; Fast mode reads guest memory directly
(on the split's front thread too), where those entries were still the
words of an older frame, so the draws behind them were left out: the
trees around the courses vanished in Fast mode only.
The buffer cache now also marks the device pages the GPU writes (shader
stores, copies of GPU-written data) in a bitmap the split's front can
read. A command list on such a page waits for the back to run what was
queued before it and is flushed when its words are still only in host
buffers. In a race that is ~5% of command lists (13,500 a second of
262,000) and ~400 flushes a second.
Diffstat (limited to 'src/video_core/buffer_cache/usage_tracker.h')
0 files changed, 0 insertions, 0 deletions
