README: translation-only --precompile; --measure-pso needs Developer Mode #2755
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ivall/xcl. Originally posted by spicbully-star on 2026-11-26T11:09:17Z.
Two 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
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:14Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:54:25Z.
Triage (#1607) – head
d7fab00No open or merged PR makes the same README change. Both claims match the code:
--precompilewithout--pipelinesonly translates into the DXIL cache (shaders::precompile), and--measure-psofails without Developer Mode (cannot disable the driver cache (Windows Developer Mode is required)in shaders.rs). The branch conflicts: main has since changed the--pipelinesline next to it, so it needs a rebase.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.