upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/d3d12_command_objects.md
diff options
context:
space:
mode:
authortylerstraub <4467134+tylerstraub@users.noreply.github.com>2026-11-22 04:46:50 -0800
committertylerstraub <4467134+tylerstraub@users.noreply.github.com>2026-11-22 04:46:50 -0800
commit627b0d6ae220a3a0db0c3a133c74111d17f46470 (patch)
tree93e5a4b5fb9b0c81ed10b1218a4f5b05c8bc2b5d /docs/d3d12_command_objects.md
parent41f448261e1de8a410b4d760e69a7e5656cef858 (diff)
docs: record slot 146 Barrier call-site evidence (D3D-201)
Diffstat (limited to 'docs/d3d12_command_objects.md')
-rw-r--r--docs/d3d12_command_objects.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/d3d12_command_objects.md b/docs/d3d12_command_objects.md
index 3a346edff..ae189f0c4 100644
--- a/docs/d3d12_command_objects.md
+++ b/docs/d3d12_command_objects.md
@@ -274,8 +274,13 @@ The `+0x490` call is after the `Dispatch(1,1,1)` at `0x1d9cb`, in the per-descri
274call: one `D3D12_BARRIER_GROUP` of type `D3D12_BARRIER_TYPE_GLOBAL` (0) holding one `D3D12_GLOBAL_BARRIER` with 274call: one `D3D12_BARRIER_GROUP` of type `D3D12_BARRIER_TYPE_GLOBAL` (0) holding one `D3D12_GLOBAL_BARRIER` with
275`SyncBefore = SyncAfter = D3D12_BARRIER_SYNC_COMPUTE_SHADING` (`0x80`) and 275`SyncBefore = SyncAfter = D3D12_BARRIER_SYNC_COMPUTE_SHADING` (`0x80`) and
276`AccessBefore = AccessAfter = D3D12_BARRIER_ACCESS_UNORDERED_ACCESS` (`0x10`), values as in SDK 10.0.26100 276`AccessBefore = AccessAfter = D3D12_BARRIER_ACCESS_UNORDERED_ACCESS` (`0x10`), values as in SDK 10.0.26100
277`d3d12.h`. On the PC that method is GCL7 slot 80; on the console list it is slot 146. A second call site with the 277`d3d12.h`. The public PC equivalent is GCL7 slot 80.
278same constant is `0xd7b4` (section 3.3a). 278
279@MoonYueya's static enumeration of the Xbox Series 1.0.2.1 builder found 29 calls through console slot 146
280across seven functions. It counted 11 direct calls through the vtable entry and 18 calls through a register
281loaded from that entry. All 29 passed one global barrier group containing one `D3D12_GLOBAL_BARRIER` with
282the same compute-shading and unordered-access arguments described above. The counts cover the two
283enumerated dispatch forms in the builder's `.text`. [Static corroboration and coverage details](https://github.com/ItsNotRexed/Leonida/issues/1626)
279 284
280The same two inner functions (`0x1d540` and `0x1d7c0`) contain the `+0x70`, `+0xc8`, `+0x108`, 285The same two inner functions (`0x1d540` and `0x1d7c0`) contain the `+0x70`, `+0xc8`, `+0x108`,
281`+0x138`, `+0x168` and `+0x490` calls; the outer batched function contains the `+0xd0` barrier. 286`+0x138`, `+0x168` and `+0x490` calls; the outer batched function contains the `+0xd0` barrier.
@@ -286,8 +291,9 @@ signatures still require GCL4/GCL8 objects, but those bodies do not measure comm
286 291
287### 3.3a Other builder call sites past the PC order 292### 3.3a Other builder call sites past the PC order
288 293
289The rest of `.text` has further calls through the list pointer. Each name below rests on the call shape; "inline" 294The rest of `.text` has further calls through the list pointer. The table shows examples, including one of the
290means the call is the fallback of an inline write of the same values. 295slot-146 sites counted in section 3.3. Each name rests on the call shape. “Inline” means the call is the fallback
296of an inline write of the same values.
291 297
292| RVA | Vtable offset | Console slot → PC method | Observed arguments | Confidence | 298| RVA | Vtable offset | Console slot → PC method | Observed arguments | Confidence |
293|---:|---:|---|---|---| 299|---:|---:|---|---|---|