victory-shader: guard float/f16_vals propagation on DPP and SDWA #38
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!38
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-38"
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?
@ending3729 on GitHub · 2026-12-05 16:30 UTC · original
ending3729:fix/valu-dpp-sdwa-cache-propagation→main· +156 −2 · 4 files · 1 commits · merged 2026-12-05 18:46 UTCSummary
ReVictory-RDNA3regression wherev_mov_b32andv_cndmask_b32propagated cachedself.floats/self.f16_valsentries todstwheneverSelf::sdwa_dst(inst).is_none(), missing bothv.dpp.is_some()(DPP16/DPP8 lane permutations) andv.sdwa.is_some()withdst_sel:DWORD+src_sel != DWORD/sext != 0.fsrc) and native FP16 (half_of_operand) consumers then read the un-permuted / un-selected source cache instead of the loweredvalsbits.#[cfg(test)]TEST_NATIVE_FP16thread-local toggle and 3 synthetic GFX10 compute shader regression tests invalu_tests.rscoveringv_mov_b32_dpp,v_mov_b32_sdwa(dst_sel:DWORD,src0_sel:WORD_1),v_cndmask_b32_sdwa, andv_cndmask_b32_dpp.cargo test -p victory-shader --locked -- emit::valu_testsTEST_NATIVE_FP16VICTORY_NATIVE_FP16=1 cargo test -p victory-shader --locked -- emit::valu_testscargo clippy -p victory-shader --no-deps --all-targets --locked -- -D warnings--all-featurescargo xtask policy432 files ok)Notes on pre-existing main CI items (not touched)
cargo clippy -p victory-shader --all-targets --locked -- -D warnings(with deps) hits pre-existingmanual_range_patternsincrates/victory-dxil/src/bitcode/opt.rs:1919(covered by open PR #25).cargo test -p victory-shader --lockedreports 318 passed, 1 failed (emit::isa_tests::single_instructions_give_what_rdna2_giveson WARP, also covered by open PR #25).dxil.dlland executed on local RX 6600 XT / WARP.AI-assisted: yes