Repository navigation
Shaders: preserve translated cache across unrelated rebuilds - #762
Merged
theaustinayers merged 1 commit intoNov 24, 2026
Merged
Conversation
Key translated DXIL by the shader translator sources and loaded DXC toolchain instead of the linked xcl executable. This preserves compatible translations across profile and metadata-only rebuilds while isolating incompatible translator revisions in a v2 namespace. Assisted-by: OpenAI Codex (GPT-5)
Test report: #762 under Wine (Linux, NVIDIA): a second build of the same commit uses the same v2 namespaceThis checks the PR's main claim with a cross build from Linux (mingw-w64), where Setup
What I did
Result
Not tested
AI use: Claude Code (Claude Opus 5.5) built both executables, ran everything above on the machine above and wrote this report. The counts, times and hashes are from those runs. The account owner asked for test reports to be posted while they were away and has not reviewed this one. |
theaustinayers
added a commit
to theaustinayers/xcl
that referenced
this pull request
Nov 24, 2026
Upstream's release profile (full symbols, xcl-dev#713) replaces the fork's line tables. Co-Authored-By: Claude Fable 5.2 <[email protected]>
ivall
pushed a commit
that referenced
this pull request
Nov 24, 2026
…under 2^40 (PR #631) A retail title's XboxBvhBuilder refuses an acceleration structure whose GPU address is at or above 2^40 (#585). xcl.exe was linked with high-entropy VA (Rust's default), and Windows then places a process's bottom-up allocations around 1 to 2.5 TiB, where the title's memory lives. build.rs links the xcl binary with /HIGHENTROPYVA:NO (MSVC) or --disable-high-entropy-va (GNU); tests/low_va.rs fails if the flag is set. Ported onto main's build.rs (#762) as maephisto666 described in the PR.
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.
Part of #156. The translated-shader disk cache was tied to the complete xcl executable, so profile changes, symbols, and unrelated relinks discarded otherwise compatible translations. This keys a v2 namespace by the translator sources and loaded DXC toolchain while retaining the full request inputs in each entry.
What is in it
Tested
Regression run
Upstream main:
This PR:
Not tested
AI use