diff options
| author | Sssnowyyy <78863999+Sssnowyyy@users.noreply.github.com> | 2026-11-02 11:41:26 -0500 |
|---|---|---|
| committer | Sssnowyyy <78863999+Sssnowyyy@users.noreply.github.com> | 2026-11-02 14:53:47 -0500 |
| commit | 427b9abfdc4898f1aeef978ee6edbdeb336db280 (patch) | |
| tree | 209aca8236268723c63f9879150d93f2fd6f426e /src/core/debugger/debugger.h | |
| parent | 8556e27015ded665ca9a5522071cdeeec20a1575 (diff) | |
video_core: continue a split instance loop at its own instance index
Writing any register outside the instance loop's own methods now draws the
waiting instances first, so the batch sees the base instance it was begun
with. When a title writes another register in the middle of a loop, such
as a per-instance constant buffer, the loop is drawn in several batches,
and each later batch started again at global_base_instance_index with one
extra instance, so it used the instance IDs of the first records.
Count the instances already drawn for the current loop and start the next
batch after them, without the extra first-instance draw. A loop that is
not split is drawn exactly as before.
Follow-up to 2ad0830d2f and eb99da6072.
Assisted-by: Claude Sonnet 5.5 (implementation and commit message)
Diffstat (limited to 'src/core/debugger/debugger.h')
0 files changed, 0 insertions, 0 deletions
