shader: lower v_sat_pk_u8_i16 in the direct compute path #3093
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3093
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@R0D4X on GitHub · 2026-11-27 14:58 UTC · original
Refs #2935.
The ISA table (
src/gfx1013_isa_tables.inl) already decodesv_sat_pk_u8_i16(VOP10x62/ VOP3A0x1e2), but the direct C++ compute frontend (src/gfx1013_direct_compute.inl) does not lower it yet.I am taking this slice.
Planned scope
_e32) and VOP3A (_e64)v_sat_pk_u8_i16insrc/gfx1013_direct_compute.inl: clamp each signed 16-bit halfword ofsrc0to[0, 255], pack them intoD[7:0]andD[15:8], and zeroD[31:16].clamp,scale(omod),abs,neg,op_sel, SDWA, DPP, and nonzero unusedsrc1/src2on VOP3A.tests/native_sat_pk_u8_i16_check.py,tests/cmake/native_sat_pk_u8_i16.cmake, anddocs/experiments/native-sat-pk-u8-i16.mdcovering DXIL compile controls, modifier refusals,EXECmasking, andnative_store_replayhardware readback for both VOP1 and VOP3A encodings.