Repository navigation
Conversation
Stacked on xcl-dev#591; part of xcl-dev#559. A cached translation can return DXIL before the argument-aware compiler cache is consulted. Bypass RAM and translated-file caches for XCL_DXC_ARGS and replace the process-wide environment test with an isolated real-DXC warm-cache regression.
|
Regression runs for this PR's head main: this PR: Tested
Not tested
Report written with Claude Code (Claude Opus 5.5) from runs on this machine. |
Contributor
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
Open
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.
Stacked 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 dxc: hash arguments into the DXIL cache key and honor XCL_DXC_ARGS (#559) #591.