Shader/GPU: recover wave64 split scalar masks and report GetDeviceRemovedReason #146
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!146
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/146/head"
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?
@dutch2005 on GitHub · 2026-11-25 16:59 UTC · original
fix/shader-voxel-mask-and-device-removed→main· +108 −0 · 2 files · 1 commits · closed without mergingPorts 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