mirror of
https://github.com/simplysanatori/LegendFrame.git
synced 2026-10-29 02:01:59 +01:00
- stereo_device_created: QI IDirect3DVR9 for IDirect3DVRStereo9 and call EnableSinglePassStereo(1) at CreateDevice when [vr] stereo_mode = singlepass, with the three PLAN log lines. - stereo_single_begin/_end: both eyes' c0 from vr_substitute_c0_for_eye, left then right (sky-pinning call count and zoom EMA unchanged), with the two-pass carry-over (a failed eye keeps what c0 held: left the register before the draw, right the left's). Sticky SetStereoDraw: skipped when both matrices and the eye size are bitwise unchanged. After the draw c0 ends as two-pass leaves it. - stereo_single_pass_eligible: eye textures, fixed-function, instancing, counted by reason. - stereo_disarm / stereo_end_scene: ClearStereoDraw when leaving stereo draws; 5 s "stereo stats:" line with [vr] stereo_stats = 1. - stereo_set_single_pass / stereo_single_pass_active implemented (live toggle logs "stereo: live toggle -> single-pass|two-pass (Shift+F6)"). - stereo_begin_pass split into viewport and c0 helpers (same calls, same order) so a failed arm can fall back to two-pass with the matrices already made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>