d3d12_switches: no count lines, one name per line, so two added switches do not conflict #3318
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3318
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3318"
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?
@MoonEyes on GitHub · 2026-12-03 10:39 UTC · original
MoonEyes:org/switches-no-conflict→main· +71 −11 · 3 files · 2 commits · merged 2026-12-03 11:02 UTCClaim:
ORG-SWITCHES-NO-CONFLICTin #3312.41 of the 214 open pull requests touch
d3d12/docs/switches.md, and each merge put the others in conflict. The page had two kinds of global lines that every added switch rewrote:tools/d3d12_switches.pynow writes no totals (a fixed note says so) and lists the test-only and comment-only names one per line;--checkreads the new list. Rows were already sorted, one per line. The tracked page is regenerated.Effect
git mergeconflicted on the count line with the old generator, and merges cleanly with the new one.Tested
python -I tests/test_d3d12_switches.py: 21 OK, including a new test that an added name adds exactly one line, removes none, and that no "N names" line is left.tests/test_docs_*.py: OK.python -I tools/d3d12_switches.py --check d3d12/docs/switches.md: exit 0, after merging main.scripts/check_no_game_data.pyon the changed files: clean. No GPU or game files involved.AI-assisted (Claude Code, Claude Opus 5.5). Independent review: a separate Claude Opus 5.5 agent before merge.
🤖 Generated with Claude Code