cpp-migration: add --rekey mode to compile_dxil as native equivalent of shader_cache_rekey.py #3012
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#3012
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?
@stan495 on GitHub · 2026-11-27 05:06 UTC · original
Implements the native C++ equivalent of
tools/startup/shader_cache_rekey.pydirectly incompile_dxil:compile_dxil --rekey OLD_CACHE_DIR NEW_REQUEST_DIR [--jobs N].a), slot 67 compute (.c67), slot 57 mesh (.m57), and RTV variant (.rtv) requests fromOLD_CACHE_DIRin parallel, counts.m86markers, and ignores compiled results/diagnostics.x2w-startup-shader-28,x2w-startup-shader-28cs,x2w-startup-mesh-57-3) and rewrites.psinand.rtvpayloads under the updated keys.1before creating/writingNEW_REQUEST_DIRif any request is incomplete, unreadable, or malformed; exits2on invalid usage or whenOLD_CACHE_DIRandNEW_REQUEST_DIRare the same directory.NEW_REQUEST_DIR.Refs #2935