Files
retroDE_ps2/docs/ch385_audit_log.md
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

1.3 KiB

Ch385 Audit Log - Runtime-CLUT Reuse and Seventeen-Epoch Scaling

  • The old 16-epoch cap lived only in the HPS scheduler and common integration testbench. Both descriptor capacities were raised to 32; the FPGA RTL, constraints, and RBF were not changed.
  • Runtime CLUT staging is serialized before each GO and each GO completes its drain before the next epoch begins. The fixture generator now reuses one legal four-block CLUT slot in runtime mode, while preloaded fixtures retain distinct-bank allocation. This removes the artificial four-palette scene cap.
  • zsrte45 carries 45 authenticated draws in 17 epochs, all using runtime CBP 500. Local depth-4096 integration passes with 725,545 accepted fragments, 570,196 Z-pass updates, 17 fresh drains, zero drops, exact Z 0/307200, and exact color 0/168654.
  • The DE25 completed all 1,972 expected records, texture fills, palette copies, residency checks, and drop gates. Board and traced integration framebuffers are byte-identical at SHA-256 a374ba18b05994f3223cd6b79139effc184ea35b436a6fece4e7733c1c0a03b8.
  • Replay-color is exact at 307200/307200: 725,545 fragments, 570,196 Z-pass updates, 168,654 covered pixels, and zero uncovered writes.

Ch385 closes reusable runtime-CLUT staging and host-side 32-epoch capacity on the timing-closed core.