fix(recompiler): accept byte source selects on v_cvt_f16_u16 SDWA #2695
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2695"
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 boykopovar/AnyPS5. Originally posted by tv7 on 2026-10-10T11:08:50Z.
What
Silent Hill: Townfall (PPSA33286) stops on
mainwith:that is
v_cvt_f16_u16_sdwa ... dst_sel:WORD_0 dst_unused:UNUSED_PRESERVE src0_sel:BYTE_3: the title converts the top byte of a register into the low half of another and keeps its high half. Thev_cvt_f16_u16SDWA rule only accepted word and dword source selects. The generic SDWA source path already zero-extends a byte select, which is the u16 value the conversion expects, so the rule now accepts every source select, with whole and partial destinations. Same kind of change as #2200 (v_not_b32).Tested
Windows 11 Pro (10.0.26200), MinGW GCC 15.2.0 (WinLibs UCRT), Release, NVIDIA RTX 3070.
agc_driver_sdwa_cvt_f16_u16(tests/execution/SdwaCvtF16U16.cpp): runs the four byte source selects on the GPU (BYTE_3 into WORD_0 and BYTE_1 into WORD_1 with UNUSED_PRESERVE, BYTE_0 and BYTE_2 into DWORD) and checks the converted halves and the preserved bits. It fails onmainwith the error quoted above and passes with the fix.cteston currentmain(b5f5362d): 707/707 pass.python tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T11:09:41Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed