README: translation-only --precompile; --measure-pso needs Developer Mode #2765
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!2765
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2765"
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?
@spicbully-star on GitHub · 2026-11-26 11:09 UTC · original
spicbully-star:patch-1→main· +2 −1 · 1 files · 1 commits · openTwo lines in the README's command list, both checked on a retail title on AMD RDNA4. Part of #2088.
xcl shaders <pack> --precompile --only cs(without--pipelines) translates the compute shaders to DXIL and caches them without any driver compile. It wasn't listed. On an RX 9070 XT, where--pipelinescan stall in the driver, this was the safe way to warm the cache: 2,734 compiled, 0 errors, 3,666 s, and the next run of the title translated none of its compute shaders again.--measure-psoneeds Windows Developer Mode. Without it, it stops withcannot disable the driver cache (Windows Developer Mode is required): … (0x887A002D)(shaders.rs). The README only said "cache disabled".What is in it
Tested
cargo test --workspace --no-fail-fast -- --test-threads=4onb49be18(main, before this change; a README-only diff changes no test), withXCL_D3D12_DIRpointing at the D3D12 Agility SDK v620 (Windows 10 has no SM 6.6 without it): 1433 passed, 2 failed, 47 ignoredgpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1(seed 722: res[30] = 0x1, CPU 0x7fffffff) andgpu::dxil::fuzz_tests::fuzz_validate_and_gpu_3(seed 1599: res[193] = 0x1, CPU 0x0), at fuzz_tests.rs:1171d3d12SDKLayers.dll/ D3D12 debug layer (4);f16_programs_on_the_gpu/f32_programs_on_the_gpuper-lane forms refused (6, unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32, #1426);pso_measurement_compiles_an_exact_synthetic_record(needs Developer Mode);rla_pixel_shader_compiles_without_local_arrays(no dxc.exe);heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows)shaders::pipeline_cap_tests::stale_blob_cannot_bypass_the_offline_pipeline_cappanics with "no SM 6.6" instead of skipping, andsplit_compute_program_prebuilds_and_caches_chain_pieces), 357 SKIPPED--measure-psowithout Developer ModeRegression run
Not tested
--measure-psowith Developer Mode onAI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.