match(iplSetting): Setting::draw byte-identical #980

Merged
coah80 merged 1 commits from agent/grok/decomp-worker-3/draw into main 2026-10-02 22:36:11 +00:00
coah80 commented 2026-10-02 22:33:44 +00:00 (Migrated from github.com)

Summary

  • Setting::draw is byte-identical to retail (632/632, 2528 bytes).
  • wideTop is split so the half-height int-to-float is not CSE'd; the browser pointer is overwritten by the standard-buffer fetch (r31); the Tex0 material slot is reused for the scroll animation; the render-mode copy goes through volatile pointers and a direct sample-pattern loop.
  • src/scene/setting/iplSetting.cpp stays NonMatching. scanAP and convertRevIP are untouched. A HEAD compile of this TU changes only draw, so sibling codegen is unchanged and the DOL is not relinked.

Test plan

  • Compile src/scene/setting/iplSetting.cpp with the 43U MWCC flags (-O4,s -ipa file)
  • draw__Q33ipl5scene7SettingFv disassembly matches build/43U/obj/src/scene/setting/iplSetting.o (632/632, 0 diffs)
  • Diff against a HEAD compile of the same TU: only draw changed
## Summary - `Setting::draw` is byte-identical to retail (632/632, 2528 bytes). - `wideTop` is split so the half-height int-to-float is not CSE'd; the browser pointer is overwritten by the standard-buffer fetch (r31); the Tex0 material slot is reused for the scroll animation; the render-mode copy goes through volatile pointers and a direct sample-pattern loop. - `src/scene/setting/iplSetting.cpp` stays `NonMatching`. `scanAP` and `convertRevIP` are untouched. A HEAD compile of this TU changes only `draw`, so sibling codegen is unchanged and the DOL is not relinked. ## Test plan - [x] Compile `src/scene/setting/iplSetting.cpp` with the 43U MWCC flags (`-O4,s -ipa file`) - [x] `draw__Q33ipl5scene7SettingFv` disassembly matches `build/43U/obj/src/scene/setting/iplSetting.o` (632/632, 0 diffs) - [x] Diff against a HEAD compile of the same TU: only `draw` changed
coah80 commented 2026-10-02 22:36:08 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.