diff options
| author | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-26 17:41:55 +0100 |
|---|---|---|
| committer | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-26 17:41:55 +0100 |
| commit | 71f54be48267bd397fc879dd8355b081be1ff002 (patch) | |
| tree | e6b17034323fe36e39a4e050db2f24b55b62cdd8 /runtime/src/main.cpp | |
| parent | d6b97a97b5c0f3edf916cb60fb81a158a1274852 (diff) | |
shadow keep: a newly filled target brings its pieces to the other targets and the sums (review by lixonik)
The sums stand for what every target holds. fill() gave a new target the title's current bytes while the sums kept
the bytes the other targets were refreshed with, so a title that wrote the old bytes back before the next refresh left
the new target behind (no piece differed from its sum). fill() now compares the filled range, widened to whole pieces,
with the sums as a refresh does: the pieces that differ are copied to every target over them and their sums updated.
New test d3d12_shadow_keep_refill (and _off with LEONIDA_SHADOW_KEEP=0): the reviewer's sequence, two overlapping
targets; it failed before this change (A held 1, B held 2) and passes now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gt9hwNPurxyJ9LAfUbNiYr
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions