startup: add opt-in placed input provenance diagnostics #3593
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3593
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3591"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@tedin7 on GitHub · 2026-11-30 11:54 UTC · original
tedin7:uppr16-diag-placed-input→main· +96 −3 · 5 files · 2 commits · merged 2026-11-30 12:08 UTCAdd a strictly opt-in, bounded diagnostic controlled by
X2W_DIAG_PLACED_INPUT=1(zero overhead when unset, capped per shader key + SRV) that logs the desktop resource, requested byte range, same-list copy ranges, cross-list recorded copies, UAV bindings, and clears when an indirect draw refuses a non-title-aliased placed buffer.Documented in
docs/startup-runtime.md.@chatgpt-codex-connector[bot] on GitHub · 2026-11-30 11:54 UTC · original · edited 2026-11-30 11:57 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
78fc979ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-30 11:57 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
78fc9790f3ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@ -2690,0 +2723,4 @@auto found = placed_input_copies.find(resource);if (found != placed_input_copies.end()) copies = found->second;}log("x2w-diag placed-input %016llx srv %u source %d slot %d resource %p width %llu offset %llu bytes %llu same-list-tracking %d same-list %u ranges %s recorded-copies %u uav-bindings %u clears %u",@chatgpt-codex-connector[bot] on GitHub · 2026-11-30 11:57 UTC · original
With
X2W_TRANSLATED_INDIRECT_COPY_RANGES=1, a refused resource with many disjoint copy ranges can make this message exceed the 1,533-character payload limit inlog()(d3d12_xs_device.cpp:431-438). A supported 64-range example with 1 MiB copies spaced 2 MiB apart produces approximately 1,600 characters, silently droppingrecorded-copies,uav-bindings, andclearsalong with the last ranges. All four allowed reports can be truncated this way, leaving the requested provenance unavailable. Bound or split the range text, or emit the fixed summaries before it.Useful? React with 👍 / 👎.
github-bot referenced this pull request2026-11-30 13:14:41 +00:00