compile_dxil: index the graphics interface catalog on several threads (--jobs) #3536
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#3536
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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:15 UTC · original
compile_dxil --index-graphics-interfacesreads, parses, hashes and publishes the.cdxilcontainers one after another (src/direct_compute_cache.cpp:300). For a full local corpus (23,619 vertex, pixel and mesh containers fromtools/extract_shaders.py), one install takes 252 s into an empty cache and 140 s into the same cache again. With #3523 the launcher runs it before every run.Proposal:
--index-graphics-interfaces DIR CACHE [--jobs N](1–64, default 1), like--refusals:--jobs 3catalogs are byte-equal, ambiguous key included.--jobs 0is refused, and a broken container still fails with--jobs.Not covered: skipping the install when the catalog is already current (launcher side, raised on #3523).
Refs #3523, #2935
@lukaslw-lab on GitHub · 2026-11-30 02:15 UTC · original
I'm taking this. The PR follows with 1/4/8-job timings on the same corpus.