compile_dxil: index the graphics interface catalog on several threads (--jobs) #3541
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!3541
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3539"
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?
@lukaslw-lab on GitHub · 2026-11-30 02:35 UTC · original
lukaslw-lab:tooling/parallel-interface-index→main· +66 −25 · 4 files · 1 commits · merged 2026-11-30 09:55 UTCChange
compile_dxil --index-graphics-interfaces DIR CACHE [--jobs N](1–64, default 1) indexes the reviewed containers on N threads. Fixes #3536.src/direct_compute_cache.cpp,index_graphics_interfaces).--jobs, the behaviour and output are unchanged. Other callers keepjobs = 1.Related: #3523 runs this install at launch. Our #3474 adds
--jobsto the compute pack in the same files, in other functions.Verification
Commit
a8a7b031on Windows 10 22H2 (build 19045), Visual Studio 2026 18.12 (MSVC 19.52), Windows SDK 10.0.26100, CMake 4.3.1, Python 3.13.7.native_graphics_interface_librarynow installs its synthetic library once on one thread and once with--jobs 3, and compares the twointerfaces/librarytrees byte for byte. That library includes the ambiguous embedded ID. The test also checks that--jobs 0is refused and that a broken container still fails with--jobs 3.Mutations, each applied alone, all caught by that test: errors from workers ignored; workers skipping every other file.
Timing on a local corpus of 23,619 vertex, pixel and mesh containers (from
tools/extract_shaders.py), 8 logical CPUs, same code before the rebase ontod88f784b:--jobsThe 1-job and 8-job catalogs are identical (same
catalog, same.indexname, 23,014 files each).Evidence and follow-up
.stagepath concurrently, whichpublish()already handles.maindescribes the install yet. #3523 adds one, and--jobscan go there once both have landed.Checklist
AI-assisted: prepared with Claude Code; the commands and results above were run on the author's PC.
🤖 Generated with Claude Code
a8a7b031f7to81711d0004github-bot referenced this pull request2026-11-30 14:07:50 +00:00
github-bot referenced this pull request2026-11-30 14:32:03 +00:00