XApu: honor deinterleaved output option #1705
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1715"
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 hajduzsolt on 2026-11-24T19:39:20Z.
Runtime fix verified with unit tests and RX 9070 XT smoke run.
What is in it
Tested
cargo test -p xcl --lib xapu_ -- --test-threads=2passed (3 passed).cargo test --workspace -- --test-threads=2passed; library tests: 811 passed, 22 ignored. Other test binaries also passed. Runtime GPU skips were not individually assessed in this run.Regression run
main:
PR:
Not tested
AI use
Imported from ivall/xcl. Originally posted by frenziedcoder on 2026-11-24T21:54:39Z.
NVIDIA test report for
c4937b3: the NVIDIA run the description lists as not tested. Full suite green, the PR's 2 own tests pass, and a clean smoke pair (1649 vs 1653 frames).Tested
stable-x86_64-pc-windows-msvc, DXC 1.8.2502.11 (SDK 10.0.26100.0). Exact headc4937b383b41c9062e4ca47bb2cc80c323b86bde, no local changes.cargo build --workspace && cargo test --workspace -- --test-threads=4(debug): 860 passed, 0 failed, 42 ignored; the PR's 2 own tests pass. SKIPPED:gpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).Regression run (
scripts/smoke.ps1 -Seconds 60, release, the retail title of #505 at its start screen;XCL_PSO_PRELOAD=0for both builds, because this machine's preload list holds the program of #1307)base (
c160d86, this PR's merge base withmain):this PR:
Not tested: whether this title asks for the deinterleaved layout (its start screen decodes Opus through
xapuin both builds; I did not compare the samples); AMD.AI use: Claude Code (Claude Opus 5.5) built and ran the tests and smoke runs on my machine and wrote this report; I checked it.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T22:19:02Z.
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!
Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T03:55:16Z.
PR #1715 — XApu deinterleaved output
Tested detached head
c4937b383b41c9062e4ca47bb2cc80c323b86bdeon STOR-WINLAB.Tested
rustc 1.100.0 (0ef1bc386 2026-11-09). The adapter reportsDoublePrecisionFloatShaderOps=0and waves of 8–32 lanes. The D3D12 debug layer is absent.cargo build --workspaceandcargo test --workspace --no-runsucceeded with unoptimized profiles and debug info disabled. Allcargo testinvocations used the shared Arc lock.cargo test -p xcl acphal -- --nocapturereturned 9 passed, 0 failed, 0 ignored, and 0SKIPPEDlines. Both new tests passed here and in the workspace run. They verify thatXApuConnectretains the layout option and that the output writer produces planar stereo in an unaligned buffer, packs partial output with zero padding, and preserves interleaved stereo and mono samples.cargo test --workspace --no-fail-fast -- --test-threads=4exited 101. Summed across 20 result lines, including doctests, Cargo reported 842 passed, 18 failed, 42 ignored. The log contains 6SKIPPEDlines withRUST_TEST_NOCAPTURE=1. These skips count toward Cargo's pass total and are excluded from coverage.Failures and skips
CreateComputePipelineStateerror0x80070057, including FP64 tests. Four reported mismatches in FMA overflow, implicit-LOD sampling, FP16 high-half preservation, or wave64 pixel reductions.RSSetDepthBiasXcheck produced a blue pixel where it expected green.Not tested
Main baseline, retail-title smoke, decoded XApu playback, and other adapters. No
XCL_SAMPLE_*inputs were configured. XAudio2 voice playback checks also returned early because mastering voice creation failed.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
pr1715-suite.logand published.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:02:07Z.
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-01T06:34:11Z.
Triage (#1607) – head
c4937b3No open or merged PR makes the same change. Other open XApu PRs (#1283, #2041, #2700) do not touch the output layout.
The diff gives no source for reading
XApuConnectInput.options & 4as "deinterleaved" (it cites XCL-BT-018 in #1488). Main uses only bit 8 (the ready event) of that field. A reviewer has to take this bit's meaning on trust.In
write_xapu_outputthe planes are packed with a stride of the decoded frame count, not of the frames the buffer was sized for. That matters only if titles expect the planes at a fixed stride when a packet decodes short.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.