Recompiler: honor DXC overrides with warm translation caches #613
No reviewers
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!613
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-613"
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?
@mjnhbg3 on GitHub · 2026-11-24 02:31 UTC · original
mjnhbg3:codex/dxc-warm-cache-arguments→main· +164 −35 · 3 files · 2 commits · draftStacked on #591 (rebased onto main
cb868b2); only the top commit belongs here. Part of #559.A warm translated shader returns before #591's argument-aware DXIL cache is consulted: even an invalid
XCL_DXC_ARGSoption silently returns the old translation. Bypass the RAM and translated-file caches while the override is present; keep the argument-keyed DXIL cache active.What is in it
pso.rs: bypass higher shader caches forXCL_DXC_ARGS, following the existing debug overrides.dxc.rs: replace the process-wide environment fixture with real-DXC subprocess checks: default, macro +-O1, macro +-O0, invalid option, and warm cache hits. The previous fixture raceddxil_cache_round_tripin a parallel run.README.md: document the override and cache behavior.Tested
cargo build --workspace;cargo test --workspace --no-fail-fast -- --test-threads=1 --nocapture: 688 passed, 0 failed, 41 ignored.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64);test_title_draws_with_a_root_signature_under_the_debug_layer,uploads_start_from_each_subresources_state(missing debug layer).XCL_ADAPTER=warp,scripts/test.ps1 --skip test_title_runs_and_game_folder_is_untouched --nocapture: 687 passed, 0 failed, 41 ignored; 88 runtime skips, one filtered e2e test. These skips are not GPU coverage.invalid arguments reused a cached translationand passes with this fix.scripts/test-native-stderr.tests.ps1: passed under Windows PowerShell 5.1 and PowerShell 7.rustcunused-variable fixtures through the runner on both shells: warnings preserved with exit 0 and one real test passed;-D warningspreserved the compiler error and propagated exit 1.Regression run
main: not run on a retail title; none available.
PR: not run on a retail title; none available. This remains a draft pending the required paired smoke runs.
Not tested
508a0c7and localba3d7bastalled at the same four GPU tests and were stopped; the hardware counts above are serial.AI use
gpt-6.1-sol: implementation, isolated regression fixture, review and local verification of the top commit. The dependency implementation is from #591.github-bot referenced this pull request2026-11-26 04:59:09 +00:00
@Anon64 on GitHub · 2026-11-24 07:01 UTC · original
Regression runs for this PR's head
920c380and for its basemaincb868b2, on a retail title (same title, 60 s each), made withscripts/smoke.ps1(release, clean tree at each commit) and pasted unedited, for Regression run.main:
this PR:
Tested
Not tested
XCL_DXC_ARGSitself: these runs leave it unset, so this is a regression check onlyReport written with Claude Code (Claude Opus 5.5) from runs on this machine.
@DavidM1911 on GitHub · 2026-11-25 12:55 UTC · original
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.