Repository navigation
compile_dxil: index the graphics interface catalog on several threads (--jobs) - #3539
Merged
Merged
Conversation
--index-graphics-interfaces DIR CACHE [--jobs N] (1-64, default 1). Workers read, parse and publish the containers; their keys are merged afterwards in sorted file order, so the catalog is byte-identical for any N. The first failure in file order still fails the install before a new index is written. Refs R0Y00#3534 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lukaslw-lab
force-pushed
the
tooling/parallel-interface-index
branch
from
November 30, 2026 09:38
a8a7b03 to
81711d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
compile_dxil --index-graphics-interfaces DIR CACHE [--jobs N](1–64, default 1) indexes the reviewed containers on N threads. Fixes #3534.src/direct_compute_cache.cpp,index_graphics_interfaces).--jobs, the behaviour and output are unchanged. Other callers keepjobs = 1.Related: #3521 runs this install at launch. Our #3472 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. tools: install the native graphics interface catalog at launch #3521 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