feat(shader): accept SDWA byte destination selectors on v_cvt_i16_f16 #17967
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17967"
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 Zyylon on 2026-11-10T01:41:36Z.
What
Accept Sub-Dword Addressing (SDWA) byte destination selectors on
v_cvt_i16_f16(VOP1 opcode 0x53).Updates
vop1SdwaRulesfor VCvtI16F16 to allow sdwaSelBytes() | sdwaSelWords() (previously restricted to sdwaSelWords()). In AMD RDNA2 ISA §13.3.7 Table 88, 16-bit destination instructions accept byte destination selectors (BYTE_0..BYTE_3) alongside word destination selectors (WORD_0, WORD_1) and destination unused modes UNUSED_PAD, UNUSED_SEXT, and UNUSED_PRESERVE.Sources:
Tested
agc_driver_sdwa_cvt_i16_f16_bytesexecuted on host AMD Radeon (TM) Graphics (Radeon 780M, driver 32.0.22050.4002, LLPC 25.20.50.04, Vulkan 1.4.329, Windows 11 Enterprise 26300):Checklist