Shaders: distinguish precompiled PSOs from saved driver blobs #2737
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2737
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?
@KOLESNiii on GitHub · 2026-11-26 09:18 UTC · original
Part of #2508 (Pipeline Rebuild) and related to #2088, #2453, #2512 and #2551. Verified on
mainatb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7.xcl shaders --precompile --pipelinescounts a successful native creation inpipelines made on the GPU. An accepted disk hit increments bothmadeandreused. A cold creation can also incrementmadewhenGetCachedBlobfails, returns no bytes, disk caching is disabled, ordriver_cache::writereturns false. As a result, a successful precompile and a high made count alone cannot establish which persistent XCL artifacts a title can try on relaunch. The native driver may have its own cache. Native create and storage · SummaryAdd separate counts for successful creation, accepted XCL disk input, newly saved blobs, unavailable blobs and failed writes. Break down whole and chain artifacts if both are produced by the run. Preserve the current summary for scripts that already read it, or update those consumers explicitly. A deterministic regression can simulate a successful create with an unavailable blob and a failed write. A fresh-process case can verify that a reported persisted entry is discoverable on relaunch.
This concerns the native cache summary. #2613 improves translated-DXIL cache-hit reporting, and #2105 concerned the command's exit code. No Windows timing or filesystem failure was measured for this issue.
AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for static review and drafting.