Add a synthetic D3D12 wave64 regression for independently looping waves #3178
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3180"
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 Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T11:20:03Z.
Refs #2688.
Summary
Add an opt-in, synthetic D3D12 readback test for a 128-thread group with two logical wave64s. The waves use different EXEC masks and loop counts, keep their LDS regions separate, elect lanes in opposite halves, and read the other wave's counter after a group barrier. A 64-thread group serves as the control. The CPU oracle checks seven UAVs at every logical lane and also checks their canaries.
The LDS loop is adapted from PiloteCode's GPL-3.0 fixture in fxceless/victory-fork#854. The PR adds the test and a resource-state adjustment in the test host.
Validation
On an RTX 5070 Ti, the main emitter requests a physical wave64 PSO for the 64-thread case. The 128-thread case runs but returns 0 instead of 40 in UAV 2, lane 0. The only upstream change between the tested
842b0cband this PR's base63bcca4is a README update. This draft records the expected failures so a later backend patch can demonstrate both cases turning green.With the paired backend and the separate selection fix, both group sizes matched all seven CPU outputs per lane. Canaries stayed intact and D3D12 GPU-based validation reported zero warnings or errors.
Run on a wave32 GPU with Windows Graphics Tools and the DXIL validator:
Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-26T12:11:12Z.
Review: COMMENTED
Checked against
origin/main(63bcca4) on Windows 11 + RTX 5090:cargo clippy -p victory-shader --all-targets -- -D warnings: clean.cargo xtask policy: 192 files ok.cargo test -p victory-shader --lib wave64_group_tests::: compiles cleanly (2 ignored by default). Running with--ignoredrequires Windows Graphics Tools (D3D12GetDebugInterfacereturned0x887A002DDXGI_ERROR_SDK_COMPONENT_MISSINGon this host), so I am leaving a comment rather than an approval since the ignored GPU assertions could not be executed here.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T12:14:11Z.
Thanks for the independent verification!
The ignored tests require Windows Graphics Tools because they enable the D3D12 debug layer and GPU-based validation.
Installing Graphics Tools under Windows Optional Features should resolve DXGI_ERROR_SDK_COMPONENT_MISSING.
I appreciate you checking the compilation, Clippy and asset policy on a separate NVIDIA system.
If you have the opportunity to run the GPU assertions on your RTX 5090, that would provide a valuable independent hardware result.
Imported from Marvisak/VIctory. Originally posted by upipibi on 2026-11-26T20:05:17Z.
Independent hardware run of the ignored tests on
827057a(main63bcca4only for the shared tests: the two ignored tests are added by this PR, so they do not exist onmainand ran on the PR head only): RTX 3070 8 GB (Ampere, wave32 only), driver 616.56, Windows 11, rustc 1.98.1, Windows Graphics Tools anddxil.dllpresent.cargo test -p victory-shader --locked --lib wave64_2688_group -- --ignored --nocapture --test-threads=1, one run:wave64_2688_group_128wave64_2688_group_64Both are the expected failures your description records on the RTX 5070 Ti: the 64-thread case's main emitter asks for a physical wave64 PSO, which a 32-lane-only driver refuses, and the 128-thread case returns 0 instead of 40. So Ampere shows the same two failures. The debug layer logged that one error and no warnings; GPU-based validation logged nothing. The non-ignored
wave64tests pass on both trees (5 each). No driver resets.AI-assisted (Claude Code, Claude Sonnet 5.5 ran the tests; Claude Opus 5.5 checked and posted).
Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-26T21:31:03Z.
Ran the two ignored tests on AMD: Windows 11, Radeon 780M (RDNA3), Graphics Tools installed, toolchain 1.98.1.
Both panic at
wave64_group_tests.rs:216,assert_eq!((caps.WaveLaneCountMin, caps.WaveLaneCountMax), (32, 32)): this adapter reports (32, 64), as RDNA does. So they need a 32-lane-only host (NVIDIA, Intel), which matches the ignore reason, but on an AMD card they read as failures rather than "not this host". Returning early with a note whenWaveLaneCountMax != 32would make--ignoredruns on mixed hardware clean. Before that point (debug layer, device creation) everything worked here.AI-assisted (Claude).
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T22:08:19Z.
Review: CHANGES_REQUESTED
Verified on
827057a6:cargo xtask policy:192 files ok.cargo clippy --locked -p victory-shader --all-targets -- -D warnings(default and--all-features): clean.emit::wave64_group_tests:: emit::tests::underVICTORY_WARP=0andVICTORY_WARP=1: 17 passed, 0 failed, 2 ignored.(32, 32), D3D12 Graphics Tools, anddxil.dllpresent) with-- --ignored --test-threads=1 emit::wave64_group_tests::: 0 passed, 2 failed:wave64_2688_group_64(wave64_group_tests.rs:226):ID3D12Device::CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32.wave64_2688_group_128(wave64_group_tests.rs:251):UAV 2, thread 0got0, expected40.The
#[cfg(test)]change incrates/victory-shader/src/emit/host.rs:1706(D3D12_RESOURCE_STATE_COMMONwith implicit state promotion) looks good, and the synthetic Wave64 math/oracle is clear, but several items need attention before landing:63bcca43even on a Wave32 RTX 5090: If these are intended as a known-red regression for#2688prior to a compiler fix, the#[ignore]reason should state that explicitly rather than implying they only need a Wave32 GPU + Graphics Tools + DXIL validator.crates/victory-shader/src/emit/mod.rs:222):rustfmt --edition 2024 --checkfails becausemod wave64_group_tests;needs to be ordered alphabetically aftermod wave;.crates/victory-shader/src/emit/wave64_group_tests.rs:97, 100): The 128-thread guest issuess_barrierwithout a precedings_waitcnt lgkmcnt(0)before reading the peer wave's LDS counter, and the 64-thread path copiesv5tov7before the first explicits_waitcnt.wave64_group_tests.rs:190-220, 264): EnablingSetEnableGPUBasedValidation(true)viaOncecan trigger device removal if another test created a device first (--include-ignored),Host::new(false)respectsVICTORY_WARP=1and hard-panics on non-(32, 32)adapters instead of skipping, and running both tests withoutONE_AT_A_TIMErisks concurrent hardware dispatches.Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T22:27:49Z.
@fuzeofficlal — response to observation 1 (known-red regressions), addressed in 1625d1c.
Both ignore reasons now explicitly say
known regression: fails until #2688 is fixed, followed by the hardware/tool requirements.Rechecked the original head
827057a6before editing; upstream main remains63bcca43c6a00a758510398fa43096ce7e4f7df0. With that main emitter and the revised synthetic fixture:The separate local paired-backend control is
a9ef792f6d516ee6200f4fedeb061a25153d48fd, including the masked-first-lane selection correction. I copied this PR's revised fixture into that checkout; its only API adaptation isemit_with(..., Options { wave32_only: host::wave32_only(&host.device), ..Default::default() })instead of main'semit(...). Guest instructions and CPU oracle are identical between controls. Both tests pass there: 448 and 896 lane values checked, respectively, 56 canaries each, zero D3D12 warnings/errors. This backend remains outside the PR.Hardware: Windows, RTX 5070 Ti, driver 621.01, rustc 1.98.1, wave lanes (32,32), Graphics Tools and DXIL validator available. Reproduction:
Only synthetic resources were used.
Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T22:27:50Z.
@fuzeofficlal — response to observation 2 (module ordering / formatting), addressed in 1625d1c.
wave64_group_testsnow followswave; rustfmt also ordersbvh_testsbeforecensus_tests. Formatting was restricted to the PR's three existing files, with child traversal disabled:All exit 0; policy reports
192 files ok. The changes to host.rs in this follow-up are formatting only. No compiler changes or optimizations are included.Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T22:27:51Z.
@fuzeofficlal — response to observation 3 (guest LDS ordering), addressed in 1625d1c.
The guest now waits with
s_waitcnt lgkmcnt(0)after counter initialization, after each atomic iteration before narrowing EXEC, after reading its own counter, between the per-lane LDS write and opposite-half read, immediately before the group barrier, and after the peer-counter read. Descriptor loads retain their waits before buffer stores. Thus the 64-thread copy consumes a completed v5, and the 128-thread peer read follows completed LDS work plus the barrier.The loop branch displacement is calculated from its label instead of hard-coded. The new CPU-only decode audit checks LDS/SMEM completion waits, barrier ordering, complete instruction boundaries, and the loop target for both group sizes:
Result: 1 passed. Both branches are at byte 92 and target byte 64: -32 bytes from the following PC, i.e. -8 dwords (
0xBF89FFF8).The CPU oracle is unchanged. The revised programs still reproduce both main defects and both pass the separate paired-backend control described above.
Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T22:27:52Z.
@fuzeofficlal — response to observation 4 (GBV isolation, adapter gating, serialization), addressed in 1625d1c.
Each ignored test launches a fresh copy of its test executable with
--exact <its-own-name> --ignored --nocapture --test-threads=1. Only that test runs in the child, which enables the debug layer and GPU-based validation before its first Host/device. The parent holds the existingvalu_tests::ONE_AT_A_TIMEmutex for the child's entire lifetime. Child launch errors, nonzero exit codes, and crashes fail the parent test.The child inherits
VICTORY_WARP; device creation and feature-query errors remain failures. Only unsupported wave capabilities produce an explicitSKIP. Translation, validator loading/validation, PSO creation, dispatch/readback, canary mismatches, and D3D12 warnings/errors remain failures. A negative control withVICTORY_DXILpointing to a nonexistent DLL exits 101 in both child and parent, without a skip.Concurrent relevant-suite command (also checked with
--all-features):With WARP=0: main yields 18 passed / the 2 expected regression failures; paired control yields 20 passed. With WARP=1: both yield 20 harness passes, including 2 explicitly reported capability skips. Without
--include-ignored, both configurations yield 18 passed / 2 ignored.For completeness, the full shader suite is not clean on this host: a heap-direct texture test exits with 0xC0000005, and four other synthetic tests fail under WARP. I reproduced that individual crash and all four failures on the unmodified original PR head
827057a6. They are outside these regressions; I have kept their results separate and made no unrelated fixes.Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-26T22:27:53Z.
@kilolimaVI — addressed your adapter-capability observation in 1625d1c.
The hard assertion is replaced by an explicit capability gate: execution requires WaveOps and exactly
(WaveLaneCountMin, WaveLaneCountMax) == (32,32). A device reporting (32,64), like your Radeon 780M, returns with aSKIPmessage containing the actual capabilities and VICTORY_WARP value. It does not attempt translation or dispatch.I verified the unsupported-device path locally with
VICTORY_WARP=1: both tests explicitly printSKIP ... WaveOps=true, lanes=(4, 4), VICTORY_WARP=Some("1"), including under--include-ignored. I do not have a (32,64) AMD adapter here, so that exact hardware case is covered by the predicate rather than a claimed AMD run.With
VICTORY_WARP=0, the RTX 5070 Ti reports (32,32) and both tests execute: they retain the expected main failures and both pass the paired backend. Initialization, translation, validation and execution errors are not turned into skips.Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T22:47:13Z.
Review: APPROVED
1625d1c6resolves all blockers from the previous review:crates/victory-shader/src/emit/mod.rsnow ordersbvh_tests,census_tests, andwave64_group_testsalphabetically, andrustfmt --edition 2024 --checkpasses cleanly on the modifiedhost.rsandwave64_group_tests.rsfiles.crates/victory-shader/src/emit/wave64_group_tests.rsplacesWAIT_LGKM(s_waitcnt lgkmcnt(0)) after DS/SMEM producers and right befores_barrier, covered by the newguest_lds_dependencies_and_branchesunit test.ONE_AT_A_TIME+ child-process isolation (VICTORY_WAVE64_2688_CHILD) enables GPU-based validation before first device creation and cleanly skips non-exclusively-Wave32 devices (SKIP ... lanes=(4, 4)underVICTORY_WARP=1, passing 2/2).cargo testpasses 18/18 (2 ignored) on bothVICTORY_WARP=0andVICTORY_WARP=1, and--ignoredon RTX 5090 (exclusively wave32) cleanly reproduces the tracked#2688failures (128:UAV 2/3zeroed withD3D12 warnings/errors: [];64: rejected at PSO creation for wanting Wave64 on max wave 32).Approving. (Non-blocking follow-up idea:
host::dispatchcurrently lacks a fence timeout andu64::MAXdevice-removed diagnostic check compared to the draw path.)Imported from Marvisak/VIctory. Originally posted by upipibi on 2026-11-26T23:48:30Z.
Independent re-run on the new head
1625d1c6(earlier run was at827057a;main63bcca43as control). RTX 3070 8 GB (Ampere, wave32 only, reports lanes (32,32)), driver 616.56, Windows 11, rustc 1.98.1, Graphics Tools anddxil.dllpresent.Gating: on this (32,32) card the new gate does not skip. Both ignored tests execute (each in its own child process, "exclusively wave32, GPU-based validation enabled before first device"), and fail as the description says. No
SKIPline appeared.Ignored tests, head, one run:
cargo test -p victory-shader --locked --lib wave64_2688_group -- --ignored --nocapture --test-threads=1wave64_2688_group_128: UAV 2 thread 0 got 0, expected 40 (128 mismatches); UAV 3 thread 0 got 0, expected 20 (128 mismatches); UAVs 0, 1, 4, 5, 6: 0 mismatches; all 8 canaries per UAV intact;D3D12 warnings/errors: []. Child exits 101, parent panics atwave64_group_tests.rs:274.wave64_2688_group_64: compute PSO "The parameter is incorrect."; debug layer: "CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32".test result: FAILED. 0 passed; 2 failed; 0 ignored.Non-ignored, head, 3 runs of
cargo test -p victory-shader --locked --lib wave64 -- --test-threads=1 --nocapture: eachtest result: ok. 6 passed; 0 failed; 2 ignored; 0 measured; 300 filtered out. This includesguest_lds_dependencies_and_branches(both sizes: "branch 92 -> 64 (-32 bytes from next PC), all LDS/SMEM producers waited, barrier audited"). The ignore reason now reads "known regression: fails until #2688 is fixed; requires exclusively wave32, Graphics Tools, and DXIL validator". The two existingwave64_permutes_*tests print "no pipeline for a wave of 64; skipped" and pass, as before.Control on
main63bcca43: the same ignored command runs 0 tests (they are added by the PR). Negative control: I copied the PR'swave64_group_tests.rsand itsmodline intomain(without the host.rs/mod.rs changes). It compiled with 0 errors (so there is no compile-error code to report). The two ignored tests on that tree fail identically to the head: UAV 2 thread 0 0 vs 40, UAV 3 thread 0 0 vs 20 (128 mismatches each, canaries intact, no D3D12 messages), and the 64-thread PSO rejection with the same debug-layer message. So on this card the failures come from the main emitter, not from the PR's host changes.Lib suites,
cargo test -p victory-shader --locked --lib -- --test-threads=1: on both trees the process aborts atemit::memory_tests::heap_direct_texture_reads_mark_their_heap_indexwith 0xC0000005 STATUS_ACCESS_VIOLATION (the crash you mention; it is inmaintoo). Re-run with--skip heap_direct_texture_reads_mark_their_heap_index, once each:test result: FAILED. 299 passed; 3 failed; 5 ignored; 0 measured; 1 filtered out; finished in 289.69stest result: FAILED. 298 passed; 3 failed; 3 ignored; 0 measured; 1 filtered out; finished in 356.55sstride_tests::a_heap_buffer_read_by_element_takes_the_views_stride,stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros,synthetic_tests::gathers_at_a_level_match_the_hardware. The difference (+1 passed, +2 ignored) is exactly the PR's new tests.Changed since
827057a: the 128-thread case now also reports UAV 3 (0 vs 20) mismatches, where the earlier run listed only UAV 2 (the first mismatch); the 64-thread case is unchanged; the debug layer and GPU-based validation again reported no warnings or errors beyond the PSO one; the ignored tests now run in isolated child processes; one more non-ignored test passes (6 vs 5 in thewave64filter). No driver resets.Not run: a (32,64) AMD adapter, so the SKIP path for it is untested here. No game files used.
AI-assisted (Claude Code, Claude Sonnet 5.5 ran the tests; Claude Opus 5.5 checked and posted).
Imported from Marvisak/VIctory. Originally posted by Dathinel on 2026-11-27T02:21:35Z.
The independent-wave fixture also exposed a useful boundary on our RTX 3050 Laptop (4 GB): try 96 threads, where the second guest wave has only its lower 32 lanes. Its second election can have empty EXEC. Seeding the expected lane-0 result with 11 makes it distinguishable from cleared memory. In an instrumented control, substituting 7 for the unwritten upper slot returned 7 instead of 11 at thread 64. The same injection passed after the translator supplied zero for the missing half.
On our fork we also extended the CPU/readback comparison to 256 threads, alternating the elected half across four guest waves and keeping each wave's LDS counter separate. Both cases passed there. This was a synthetic follow-up on a different translator revision, not a rerun of this PR head. 96-thread fixture · Four-wave fixture
Thanks for documenting the explicit guest LDS waits and the isolated validation process in the updated fixture. AI-assisted hardware investigation.
Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-27T11:25:09Z.
@carlosmegino confirmed on the (32,64) AMD case you couldn't run: head
1625d1c, Windows 11, AMD Radeon 780M (RDNA3), Graphics Tools installed, toolchain 1.98.1.cargo test -p victory-shader --lib --locked -- wave64_2688 --ignored --test-threads=1 --nocapture: both tests printSKIP ... requires exclusively wave32; WaveOps=true, lanes=(32, 64), VICTORY_WARP=Noneand pass (2 passed, 0 failed). Before1625d1cboth panicked at the lane assertion on this card.AI-assisted (Claude).
Imported from Marvisak/VIctory. Originally posted by pickles976 on 2026-11-27T11:39:30Z.
@carlosmegino Could you publish/link a fetchable repository + exact commit for the paired-backend control
a9ef792f6d516ee6200f4fedeb061a25153d48fd, including its masked-first-lane correction? The commit lookup in your public VIctory repo currently returns “No commit found”; I could not identify a public successful implementation from the linked fixture references. A synthetic-only patch/branch with its base would suffice—no game data needed.We can verify on Linux/Wine11, RTX4060 Laptop32-lane GPU/16GiB RAM (diagnostic relaxed-vkd3d; not Windows debug-layer certification). Our exact #2633
706c006admits all52 original builder PSOs, but strict real-GPU lane-loop consumers still fail: #439 control0/160 wrong versus #2633 14/160, including post-loop scalar state in the lane that never entered. Reproduction and source pointer: https://github.com/Marvisak/VIctory/pull/2633#issuecomment-7217164469 . The independent firstlane oracle also exposes a shared scalar reconvergence defect. We are holding title promotion, not treating PSO admission as correctness.Your legally waited seven-UAV fixture is directly relevant; the unavailable passing backend is the missing piece needed for an independent matched check. The 96/256-thread reports refer to different translator revisions, so I am not treating them as validation of that exact stack.
Imported from Marvisak/VIctory. Originally posted by pickles976 on 2026-11-27T13:57:09Z.
Wine/RTX 4060 verification at exact head
a9ef792f6d516ee6200f4fedeb061a25153d48fdreaches an environment gate before either new GPU oracle can execute.Configuration: Linux 6.17, Wine 11.0, NVIDIA RTX 4060 Laptop / 590.48.1, vkd3d-proton diagnostic build
2576c0b4adfae4a+, Rust 1.98.1 Windows MSVC target,dxgi.hideNvidiaGpu = False, 9 GiB/512 MiB systemd scope.wave64_write_runtime_fixtures: 1/1 pass; both synthetic containers and CPU references exported.victory-shaderGPU oracles: 0/4, first failure isD3D12GetDebugInterface→0x887A002D(DXGI_ERROR_SDK_COMPONENT_MISSING); the sharedOncethen poisons the other three. No dispatch occurred.wave64_runtime_selects_paired_compute_pipelineswith--features diagnostics,VICTORY_D3D12_DEBUG=1, andVICTORY_D3D12_GBV=1: 0/1, fresh compile from this checkout and real RTX/vkd3d device creation, thenID3D12InfoQueuecast fails at line 29 with0x80004002(E_NOINTERFACE). No runtime translation/PSO/dispatch/readback occurred.Evidence:
.compat-runtime/logs/verify-pr3180-paired-oracle-ignored-a9ef792-20261127T135427Z/.compat-runtime/logs/verify-pr3180-fixture-export-a9ef792.log.compat-runtime/logs/verify-pr3180-runtime-a9ef792-20261127T135615Z/This is not a paired-backend correctness failure: the stock Windows Graphics Tools/InfoQueue contract is unavailable in this Wine/vkd3d environment. For cross-platform coverage, please consider keeping the seven-UAV/guard/runtime readback assertions runnable when the info queue is absent, while conditionally adding the no-warning assertion when
ID3D12InfoQueueexists. I did not weaken the owner test or run a title from this unverified head.Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-27T14:04:21Z.
The exact synthetic paired control is now fetchable at
carlosmegino/VIctory:codex/repro-paired-a9ef792, pinned toa9ef792f6d516ee6200f4fedeb061a25153d48fd. Exact control@kilolimaVI, your Radeon 780M result confirms the capability gate on #3180
1625d1c. Could you confirm you can fetch the exact control? The existing GPU oracles require an exclusively Wave32 adapter, so a Radeon 780M skip remains a gate check. @pickles976, I recorded your successful fixture export and the Wine Graphics Tools / InfoQueue blocker separately from execution evidence.Imported from Marvisak/VIctory. Originally posted by carlosmegino on 2026-11-27T14:29:18Z.
@pickles976 @kilolimaVI — the exact paired control is now public and anonymously fetchable. I have not substituted a later backend.
codex/repro-paired-a9ef792.codex/repro-paired-a9ef792-kit.Exact provenance. The port is
842b0cb -> 6ecbbe8 -> 37966d8 -> a9ef792.6ecbbe8is a compute-only adaptation of PiloteCode/Pilote Production's GPL-3.0 #854 source26600c6, preserving the co-author attribution. It contains the masked-first-lane route correction fromde64bd5/805a455; the exact selection diff is public.37966d8contains the seven-UAV synthetic fixture;a9ef792adds runtime dispatch/readback beyond PSO creation.140958f and b3060be are different controls.
140958f228b31243588c36cd2edad09ada6702a2merges our masked-first-lane correction into PiloteCode's wider fork. It is not the main-based compute-only port; its preference can swallow a paired refusal and fall back.b3060be56a0734ca7eb09b4479949d198656960bis a descendant of 140958f with later partial-group admission and tests. It is now separately fetchable oncodex/archive-paired-b3060be, including the 140958f/805a455 history. The guide gives direct diff commands. Dathinel's 96/256 fixtures and later results keep their attribution and revision identity; they are not evidence for exact a9ef792. The later 741aa8e review is not used here.The companion changes no original a9ef792 file except two appended test-module declarations. Its verification script checks all 194 originals. The legally waited
guest()and CPUoracle()from this PR's exact1625d1care copied unchanged, with only test API/module/diagnostic adaptations. The original fixtures remain intact too. This is a test-only companion to the exact compiler, not an undocumented compiler replacement.Linux/Wine commands (use your existing working Wine/vkd3d prefix, LLVM clang/lld, Rust 1.98.1, cargo-xwin and a Windows x64 DXIL validator):
--wineexplicitly omits Windows Graphics Tools/InfoQueue/GBV, while retaining mandatory DXIL validation, physical-wave metadata, all lane values and canaries. It must not be reported as Windows debug-layer certification. Each selected test runs in a bounded separate process; unexpected SKIP/zero-test/incomplete outputs do not count as validation. No Linux/Wine execution is claimed by me; those are the independent reproduction commands.New native Windows evidence, RTX 5070 Ti, driver 621.01, lanes (32,32), Rust 1.98.1:
1625d1c64/128 fixtures also pass, with physical group sizes 32/64 and required Wave32; the guest wait/branch audit passes.The scalar findings remain real. On this exact compiler, unchanged #439 consumer instructions give 12/32 wrong in native Wave32/lane20, 0/64 wrong in paired Wave64/lane40 with the ordinary latch, and an emission refusal for the joined EXEC latch. I do not count the refused case as a readback or call this 0/160.
Lyrnc's ten unchanged
firstlane_branchinputs all validate/create PSOs/dispatch but differ by 508/10,240 words from the pinned native gfx1036 oracle: 51 in v10 and 457 in v11. The trace shows no instruction EXEC guard on these first-lane sites, so the port's guarded-first-lane preference is bypassed and the ordinary 64-physical-thread form is selected. This is an observation about routing, not a demonstrated scalar-merge fix. The consumer runner intentionally returns failure and preserves the full outputs and independent comparison.The diagnosis was coordinated under the existing NEW-354 claim on #1633 and with the #2633 owners. I am leaving scalar retention/phi/edge semantics with those owners, including Chippy01's newer claim, rather than opening a competing patch.
AMD exclusion recorded: thank you @kilolimaVI for the Radeon 780M RDNA3 run: at
1625d1c, both tests printSKIP ... WaveOps=true, lanes=(32,64), VICTORY_WARP=Noneand pass 2/2 instead of panicking. That validates the hardware exclusion path, not paired execution on AMD; this remains your independent hardware evidence.Policy passes: exact a9ef792 194 files; b3060be 195; companion 200. New Rust files are rustfmt-clean. Clippy on the preserved historical source still reports the original misplaced SAFETY comment at
wave64_group_tests.rs:203; no check was disabled and no green whole-tree Clippy/format claim is made. #3180's source head stays1625d1c.AI-assisted with OpenAI Codex. Only synthetic inputs/readbacks are in the reproduction material.
Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-27T15:43:46Z.
@carlosmegino confirmed: anonymous fetch from https://github.com/carlosmegino/VIctory gives
codex/repro-paired-a9ef792= a9ef792,codex/repro-paired-a9ef792-kit= 2b5c107, and842b0cbis an ancestor of a9ef792.For completeness, on native Windows 11 with Graphics Tools (Radeon 780M, lanes (32,64)),
cargo test -p victory-shader --lib --locked -- wave64 --ignored --nocapture --test-threads=1at a9ef792 stops at the gates before any dispatch:wave64_auto_group_64,_128and_128_with_xyz_idsat the(32, 32)assertion (wave64_group_tests.rs:212),wave64_native_compute_controlsatwave32_only(:341), andwave64_write_runtime_fixtureswantsVICTORY_TEST_WAVE64_DIR. So, as you say, this AMD host gives exclusion evidence only, not paired execution; 1625d1c's SKIP path is the right behaviour here.AI-assisted (Claude).
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.