Files
retroDE_ps2/docs/ch369_audit_log.md
T
thejayman77 ba74bbd5aa Snapshot: fog implementation + fidelity tooling baseline (pre bilinear-clamp fix)
Per-vertex GS fog end-to-end (gs_stub emit incl. persp_emit5, gs_prim_list_feeder
XYZ2->XYZF2 on PRIM.FGE, gs_make_sh3_scheduler_fixture.py F/FGE packing), new fog
TBs, fidelity attribution tooling. Functional baseline before removing the dead
bilinear lerp8 clamps (Codex: 161-node comb loop -> -0.042ns setup fail).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 19:56:46 -04:00

2.5 KiB

Ch369 Audit Log - Runtime CLUT Mixed-Residency Expansion

Scope

Extend the Ch368 runtime-CLUT motion content ladder with the native-640x480 28-draw mixed-residency SH3 frame: four distinct texture/CLUT rebinds followed by the established eight-epoch shared-texture cluster.

Fixture Preflight

  • zsrtm28 contains 28 authentic draws in 12 ordered epochs: four single-draw rebinds, then eight 204-triangle shared-texture epochs.
  • Native coordinates remain in bounds at x 35..569, y 9..400; every feeder list is within the 2048-word staging capacity.
  • Runtime palette staging is enabled for every epoch. The candidate is simulation-only until request pressure and exact Z/color scoreboards pass at the Ch368 production depth.

Integration Gate

  • The full 12-epoch runtime-CLUT integration passes at request depth 4096: 465,250 accepted fragments, 214,897 persistent-Z updates, 12 fresh drains, zero drops, Z 0/307200, and color 0/110324.
  • Per-epoch request-FIFO high-water values are 1895, 1468, 110, 432, 797, 85, 650, 381, 184, 1669, 616, and 1125. The measured maximum is 1895, so the Ch368 core requires no RTL, timing, or fit change for this candidate.

Silicon Closure

  • The board host gate passes all 12 epochs: four texture fills/rebinds, eight resident reuses, twelve runtime palette copies, fresh ordered drains, and zero fragment drops.
  • Board and integration framebuffers are byte-identical at SHA-256 fdff2f34eac22ee140b64d8fac129627549bbb0f6db37d4b91807a9058e47a04.
  • Replay-color is exact at 307200/307200: 465,250 fragments, 214,897 Z-pass updates, 110,324 covered pixels, and no stray uncovered writes.

Result

Ch369 is closed on silicon: 28 authentic SH3 draws at native 640x480 with runtime CLUT updates, four real texture rebinds, persistent Z, and exact board/simulation/replay agreement, all on the Ch368 core with no further fit.

Mixed-Residency Motion Extension

  • The same core ran zsrtm28 -> zsrtb24 -> zsrtm28 -> zsrtb24, resetting color/Z and staging the appropriate textures and runtime palettes for every frame boundary. All 40 epoch drains were fresh and all drop gates stayed zero.
  • The four boundary dumps alternate exactly: mixed-residency dumps 0 and 2 equal fdff2f34eac22ee140b64d8fac129627549bbb0f6db37d4b91807a9058e47a04; adjacent-frame dumps 1 and 3 equal 3191d75983e72a158f91f15cc1f57b6ff7c5e40d5bbb4a49957db06db4e2fded. Each matches its independently closed integration framebuffer byte-for-byte.