amd-dev: catch up to main #3554
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3554"
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 JR-Wiederkehr on 2026-11-30T23:58:39Z.
What changes and why
Catch
amd-devup tomain, skipping commits already inamd-dev's ancestry. This PR merges the currentamd-devwork (including the latestmainsyncs already present on the branch) intoupstream/amd-dev. Also includes a small test-only compilation fix forCsInterface(lds_dwords) andsplit_computelimit argument so the workspace tests build cleanly.What is in it
crates/xcl/src/hle/d3d12x/standin.rs– major revisions (VRAM, present prep, targets)crates/xcl/src/hle/d3d12x/targets.rs– texture/page-table changescrates/xcl/src/hle/d3d12x/vram.rs– VRAM budget / placementcrates/xcl/src/hle/kernelx.rs– kernelx interface updatescrates/xcl/src/hle/xaudio2.rs– XAudio2 changescrates/xcl/src/hle/xgameruntime/– XGameRuntime updates (api, gamesave, networking, taskqueue)crates/xcl/src/hle/xma2/mod.rs– XMA2 changescrates/xcl/src/loader.rs– loader revisionscrates/xcl/src/shaders.rs/pso_corpus.rs/warm_replay.rs– shader/PSO changescrates/xcl/src/state.rs/tls.rs/vfs.rs/vfs_hooks.rs– state, TLS, VFScrates/xcl/tests/lazy_file_io.rs/low_va.rs/pls_quota.rs/tls_slot_zero.rs– test additions/modsscripts/discord_mirror.py/test_discord_mirror.py/test-smoke-artifacts.tests.ps1/smoke.ps1– script updates(85 files changed, 8155 insertions, 838 deletions across the workspace.)
Tested
cargo build --workspace(stable-x86_64-pc-windows-msvc, rustc 1.100.0)cargo test --workspace -- --test-threads=4gpu_float_compares_random); they appear unrelated to the test-compilation fix, but are reported as observed.#[ignore]attributes.Regression run
mainintoamd-dev(test-only compilation fix). No retail-title smoke run was performed. If a maintainer applies thetest-onlylabel, the smoke check is waived for this revision.Not tested
scripts/smoke.ps1) on eithermainor the PR head – no title folder available in this environment.AI use
Co-Authored-By: Claude Opus 5.5(already present in several commits).Imported from ivall/xcl. Originally posted by lucsoft on 2026-12-01T00:09:37Z.
Heads-up: #3547 (draft) goes the other way, moving
amd-devintomain, and already includes a sync with currentmain. If you get a chance on your RX 7700 XT, could you give #3547 a run and report any regressions or hangs you see? Results from more AMD cards would help a lot before it leaves draft.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:18:42Z.
Note (head
0fa1c3bf, not a review): this targetsamd-dev, not main, and the merge-check process in CONTRIBUTING / #3041 only covers main, so I'm leaving the merge decision to the amd-dev maintainers. Two things worth fixing before they look:f9e31720and misses the 3 newest amd-dev commits (41aa60ce,4d6d4a77,3a3a8e9c), 26 of its 194 merges carry conflict resolutions (up to 870 lines each), and it adds a hand-written runtime change,6418de50(late_release,dispatch_chain,shaders.rs,pso.rs), plus a test compile fix (0fa1c3bf). Rebasing onto current amd-dev and moving6418de50into its own PR would make it reviewable.AI note: Claude Code (Claude Opus 5.5), posted by Foniass.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:13:46Z.
Triage (#1607) – head
0fa1c3bThis merges main (up to
86e86fcb) into amd-dev. #3547 merges the same two parents the other way (amd-dev into main), with a different resolution in 22 files. amd-dev has three newer commits (3a3a8e9c,4d6d4a77,41aa60ce) that this branch does not have yet.Problem in
6418de50: the merge dropped amd-dev'sComputeBuild::IndirectChain, and the fixup makesbuild_indirectuseComputeBuild::DirectChain.compute_containerthen names the indirect chain's pipeline-library entry and disk blob withChainRoot::DirectConstants. Those pipelines use the same DXIL as the direct chain but the indirect root signature, so they read and overwrite the direct chain's cache entries.indirect_blobs_presentand the offlinePipelineRoot::IndirectChainbuilds still useIndirectCbvnames, so they never match. InPipelineBuilder::pipelinethe armDirectChain => IndirectCbvalso mislabels every direct chain in the refusal log. Restoring theIndirectChainvariant and its arms inreal.rsfixes all three.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by capy-ai[bot] on 2026-12-01T15:11:44Z.
Closing this, as agreed with the maintainers.
amd-devand is missing the three newestamd-devcommits (41aa60ce,4d6d4a77,3a3a8e9c).ComputeBuild::IndirectChain. As a result, indirect-chain pipelines would read and overwrite the direct chain's cache entries (see the triage in https://github.com/xcl-dev/xcl/pull/3554#issuecomment-7307866662).amd-devintomainthe other way.If
amd-devstill needs a sync, a fresh one from currentamd-dev, with6418de50split into its own PR, would be reviewable.AI use: Capy (Claude Opus 5.5) wrote this comment from the existing reviews and CI; I did not review this PR's diff myself.
Pull request closed