Shaders: report progress for every precompile record #1758
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!1758
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1758"
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?
@NemesisDawn on GitHub · 2026-11-24 20:17 UTC · original
NemesisDawn:fix/shader-precompile-progress→main· +33 −11 · 2 files · 1 commits · openPrint progress when a filtered, unrecognized, or unreadable shader record hits a reporting milestone, just as for compiled records. This addresses the progress reporting described in #1657.
What is in it
crates/xcl/src/shaders.rscounts all record outcomes at the same milestones.crates/xcl/tests/shaders_e2e.rscovers filtered and unrecognized records.Tested
e2c7975, two standalone fixture regressions passed on Windows withrustc1.100.0. They cover filtered, unrecognized, and unreadable records. Both failed against the original loop.Regression run
mainand this PR’s commit.Not tested
AI use
@futurepro62 on GitHub · 2026-11-24 21:20 UTC · original · edited 2026-11-24 21:42 UTC
Full-suite run, since this PR has no test report yet. Tested exact head
e2c7975(on its basec160d86).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 858 passed, 0 failed, 42 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.precompile_progress_counts_filtered_and_unrecognized_records.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 859 passed, 0 failed, 42 ignored. SKIPPED:heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).--skipon NVIDIA. Both fail on main7f7e768too, not because of this PR: underXCL_REQUIRE_GPU=mesh,runner::skip_testturns their skips into failures.heap_window_out_of_memory_falls_back_to_the_switch_formskips whenXCL_HEAP_WINDOWSis unset (#1651), andshaders::tests::pso_measurement_compiles_an_exact_synthetic_recordskips because Developer Mode is off on this PC (it cannot disable the driver cache). The AMD run does not setXCL_REQUIRE_GPU, so there both just print SKIPPED.Not tested
AI use
@Toons29 on GitHub · 2026-11-24 21:43 UTC · original
Regression run of
e2c7975don the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon4178e888, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 101 % of
main's frames, 99 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; I checked the blocks before posting.@DavidM1911 on GitHub · 2026-11-24 23:04 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 04:09 UTC · original
XCL PR #1758 verification
Head
e2c7975dfaaec3d07615d8c3b6a340fdde33617eon a clean detached checkout. STOR-WINLAB ran Windows 11 Enterprise Evaluation x64 build26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver32.0.101.9175, DXC1.9.2609.5, and rustc1.100.0 (0ef1bc386 2026-11-09)targetingx86_64-pc-windows-msvc. Cargo used unoptimized dev/test profiles with debug info and incremental compilation disabled.Tested
cargo build --workspaceandcargo test --workspace --no-runboth exited 0 outside the Arc lock.$env:XCL_ADAPTER='NONE_CPU_ONLY',cargo test -p xcl --test shaders_e2e precompile_progress_counts_filtered_and_unrecognized_records -- --exactgave 1 passed, 0 failed, 0 ignored, and 0 skipped. The fixture invokedxcl shaders --precompile --only cs --split 0on two folders of 200 files each. Both the filtered pixel shaders and the unrecognized blobs produced the200/200progress milestone on stderr and exited successfully.shaders_e2epassed all 5 tests, including the new fixture.Workspace failures and skips
SKIPPED, so those tests did not exercise their target behavior. Reasons were missing wave64 (2), unavailable D3D12 debug layers (2), tiled resource tier below 2 (1), and unavailable heap windows (1).0x80070057) and four result mismatches. Thee2etarget failed the synthetic title check for dynamic depth bias (RSSetDepthBiasX), which rendered a blue pixel where green was expected.Not tested
Matched
mainbaseline, retail-title smoke run, non-Intel GPUs, and the progress milestone for unreadable or uninflatable records.AI use
T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1758-suite.logand published.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.