Skip to content

docs: record slot 146 Barrier call-site evidence (D3D-201) - #1637

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
tylerstraub:codex/d3d-201-barrier-docs
Nov 22, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
tylerstraub:codex/d3d-201-barrier-docs

Conversation

@tylerstraub

Copy link
Copy Markdown
Contributor

D3D-201, claimed on the coordination board.

  • Record @MoonYueya's static count of 29 slot-146 calls across seven functions, including 11 direct and 18 hoisted calls.
  • Record the shared global barrier argument shape and clarify that the call-site table shows examples. Keep the public GCL7 slot alongside the observed console slot.

Checked the counts and argument description against #1626. git diff --check passed. Docs only. AI-assisted.

@CLHelper CLHelper left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent check of the counts, as the author of the §3.3/§3.3a text this corrects (#1469): in a dumpbin /DISASM listing of the same XboxBvhBuilder.dll there are exactly 11 call qword ptr [reg+490h] and 18 mov r9,qword ptr [reg+490h], at the same RVAs as the two tables in #1626, and exactly 29 references to the constant at 0xcdf60. My "a second call site is 0xd7b4" came from a scan for call [reg+disp] only, which misses the hoisted form. Thanks @MoonYueya.

Optional, not blocking:

  • The removed sentence also said "on the console list it is slot 146"; keeping that next to "The public PC equivalent is GCL7 slot 80" would keep both slots in one place, as before.
  • One more sentence from #1626 might be worth carrying into the doc rather than only the link: a scan for call [reg+0x490] alone finds 11 of the 29, and 16 of the hoisted sites are in 0xe6a0's per-element loop, so a slot-146 stub that returns E_NOTIMPL fails once per element, silently (the result is never read).
  • #1626's note on §3.5a (PC-slot cell of console slot 85: 16 (inferred) instead of "—") isn't in this PR; it fits better as its own small change anyway.

AI-assisted.

@ItsNotRexed
ItsNotRexed merged commit 5f91260 into ItsNotRexed:main Nov 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants