diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 06:16:46 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 06:16:46 -0500 |
| commit | 59c54c1eb000162fe0b07f200ecdf327e5b0d435 (patch) | |
| tree | 289dcc86739564ef3e7fea74a889892933de0b76 /docs/d3d12_command_objects.md | |
| parent | c7fdc26d2a06df7b25242963b7be18d5c53e33fd (diff) | |
d3d12_xs: list slots 71/72 have one writer, the list values, when they track the list
Found by the comparison agent, not by a failing test. #1723's console
list slot path still handed slots 71 and 72 to main's GPU-label hook
(record_gpu_label, LEONIDA_GPU_LABELS) when its own list values track
the list (track_values, on by default with LEONIDA_LIST_VALUES). The
--first-run-ui profile sets LEONIDA_GPU_LABELS=1 (runtime/src/main.cpp).
With both on, two threads stored to one title address, one from a
Vulkan command buffer's completion and query, the other from the part's
fence and a D3D12 timestamp query. A late label could rewind a rising
counter or split a begin/end pair. The suite did not catch it:
xbox_gpu_label_completion submits its real list straight to the queue,
so only the label path landed there.
The list values are the right owner. They land slots 71 to 74 in
queue order behind the gates, and they also do the waits the labels
cannot do. Now:
- The label hook runs only for a list the list values do not track
(LEONIDA_LIST_VALUES=0, bundles). Each handoff is counted in
ListValueStats::labels_handed.
- The --first-run-ui profile no longer sets LEONIDA_GPU_LABELS.
runtime/README.md and docs/first_run_ui.md say so.
- xbox_gpu_label_completion runs its label section with the list values
off, as it always measured the label path alone, and checks that all
five writes went there. A new section turns both on and records one
write32 and one write64 on a tracked list, submitted through the queue
proxy. Each lands exactly once: writes_landed == 2, labels_handed == 0,
and the values are in memory. With the old condition this section
fails at line 136 (labels_handed was 2), on llvmpipe and the iGPU.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions