Shader/GPU: recover wave64 split scalar masks and report GetDeviceRemovedReason #146
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/146"
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 Belobug/VIctory-Belobug-AMD. Originally posted by dutch2005 on 2026-11-25T16:59:51Z.
Ports two clean fixes from
DexNom/VIctory:crates/victory-shader/src/structure.rs(DexNom 76749ce): recover wave64 lane predicates when scalar masks are spilled and restored one 32-bit word at a time vias_mov_b32chains (move_source), without crossing non-move ops or mismatched words.crates/victory-gpu/src/device.rs(DexNom 13185f5): wireID3D12Devicevtable slot 37 (0x128,GetDeviceRemovedReason) toremoved_reasonso healthy devices reportS_OK(and removed host devices propagate their removalHRESULT) instead of returningE_NOTIMPL.Verification
cargo test -p victory-shader --lib --locked -- --skip scalar_counted_in_: 265 passed, 0 failed, 6 ignoredcargo test -p victory-gpu --lib --locked -- --test-threads=1 --skip written_pages_are_reported_to_every_asker: 111 passed, 0 failed, 4 ignored (written_pages_are_reported_to_every_askerskipped as pre-existing #102;a_healthy_device_reports_no_removalverifies healthy0x128+ isolated WARPRemoveDevice()removal error)cargo clippy -p victory-shader -p victory-gpu --lib --tests --locked --no-deps: 0 warnings instructure.rsanddevice.rscargo xtask policy --staged: 2 files okcargo mutants --in-diff pra.diff:structure.rs6/6 (2 caught, 4 unviable, 0 missed);device.rs1/1 caught (0 missed)Pull request closed