Tests: cover image_get_lod static samplers on GPU #1861
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!1861
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1861"
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?
@Flyander on GitHub · 2026-11-24 22:04 UTC · original
Flyander:codex/test-image-get-lod-static-sampler→main· +117 −4 · 2 files · 1 commits · openPart of #1269. Adds real GPU regression coverage for the static-sampler
image_get_lodpath merged in #1806.What is in it
crates/xcl/src/gpu/recomp/runner.rs: let the pixel-draw test harness build a root signature with static samplers.crates/xcl/src/gpu/recomp/tests.rs: translate a syntheticIMAGE_GET_LODpixel shader, draw it, and check the clamped LOD 0 and unclamped LOD -2 results.Tested
cargo test --locked -p xcl --lib gpu_direct_image_get_lod_static_sampler -- --nocapture --test-threads=1: 1 passed, 0 failed.scripts/test.ps1(cargo build --workspace,cargo test --workspace -- --test-threads=4): 960 passed, 0 failed, 43 ignored; 22 GPU tests skipped (wave64, heap-window, or unsupported translator semantics).Regression run
main:PR head:
Not tested
AI use
@DarkPanda69 on GitHub · 2026-11-24 22:40 UTC · original
AMD run, which this PR lists as not tested (the other report here is Ampere).
Tested: pass, head
14dc445applied onmain689f2db, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17.cargo test -p xcl --lib -- gpu::recomp --test-threads=4:gpu_direct_image_get_lod_static_samplerok. The 6 SKIPPED lines (per-lane form refused for some f16/f32 programs) are the same onmain.Not tested: Intel; the whole workspace suite.
AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
@DavidM1911 on GitHub · 2026-11-25 01:38 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@JJAutoCompare on GitHub · 2026-11-25 03:20 UTC · original
Tested
14dc4456dc3876020daff223fe844561c617c0c4. The live PR was open at this head before and after the run. The reused detached checkout matched the SHA and was clean both times.32.0.101.9175, AMD Ryzen 7 3800X (6 cores / 12 logical processors exposed), Windows 11 Enterprise Evaluation26200.9974, Rust and Cargo1.100.0(x86_64-pc-windows-msvc). The run log confirms DXC and DXIL1.9.2609.5loaded from the explicitXCL_DXC_DIRbelow.< 0.02of0.0. The green channel, unclamped LOD, was within< 0.02of-2.0. The passing fixture emits no raw channel values, so the run establishes those bounds and does not establish bit-exact values.The prebuild finished outside the mutex. The wrapper acquired and released the Arc mutex around the test executable, which exited
0.RemoteSignedapplied only to the child PowerShell process. Captured logs areprebuild.jsonl,prebuild.stderr.log,gpu.stdout.log, andgpu.stderr.login the run directory.Not tested
Repeat-draw bitwise determinism, HLSL pixel-shader parity, other adapters or drivers, retail titles, smoke runs, or the wider suite.
AI use
T3 Code / Codex (
gpt-6.2-sol) ran the checked-in test and wrote this report.@raylitebull on GitHub · 2026-11-25 10:46 UTC · original
Diff review on
14dc445looks clean, andgpu_direct_image_get_lod_static_samplerhas both NVIDIA (@upipibi,@DavidM1911) and AMD (@DarkPanda69) passes.One small CI fix needed before merge: CI
45497463897failed ingpu_direct_image_get_lod_static_samplerwithD3D12 device removed (0x887a0005)on WARP because the new test only guardsrunner::adapter().is_err()instead of!gpu_ready()(which incrates/xcl/src/gpu/recomp/tests.rsalso checkswave64_programs_supported()anddxc::location()so WARP skips cleanly). Switching that guard toif !gpu_ready() { return; }should make CI green.@upipibi on GitHub · 2026-11-24 22:21 UTC · original · edited 2026-11-25 16:42 UTC
Same on Ampere: RTX 3070 8 GB, driver 616.56, Windows 11, debug,
14dc445merged ontomain689f2db.gpu_direct_image_get_lod_static_samplerpasses 2 of 2 runs, both with and withoutXCL_DIRECT_DXIL=1.Added 16:42Z: whole workspace on this head, as is (base
1d027e5), RTX 3070 (616.56), Windows 11, debug, aftercargo build --workspace,cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2:14dc445: 951 passed, 0 failed, 43 ignored. The end-to-end title tests pass.main0829441on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests).hle::xaudio2, because its tests fail or hang on this machine onmaintoo. The PR doesn't touch it.no wave64on this card, 3 f16/f32 forms the per-lane path refuses, 1 no heap windows, and 1 PSO measurement that needs Developer Mode to turn the driver cache off.AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only.
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.