shader: lower v_rcp_iflag_f32 in direct Compute and Pixel DXIL #3254

Closed
opened 2026-11-28 01:56:01 +00:00 by github-bot · 0 comments
Owner

@⁠legacy-code-archaeologist on GitHub · 2026-11-28 01:55 UTC · original

Direct Compute and Pixel DXIL (src/gfx1013_direct_compute.inl), SDWA profile filtering (src/gfx1013_compute_native.cpp), and ALU/opcode tables (src/gfx1013_compute_alu.inl, src/gfx1013_compute_opcodes.inl) lower v_rcp_f32 (VOP1 0x2a, VOP3 0x1aa, SDWA, DPP), while v_rcp_iflag_f32 (VOP1 0x2b, VOP3 0x1ab) is not yet handled.

Lowering v_rcp_iflag_f32 identically (1.0f / x, matching tools/pixel_aot.py and tools/startup/gfx2hlsl.py) extends direct Compute and Pixel DXIL coverage (#2935).

Refs #2935

AI-assisted.

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-28 01:55 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3252) Direct Compute and Pixel DXIL (`src/gfx1013_direct_compute.inl`), SDWA profile filtering (`src/gfx1013_compute_native.cpp`), and ALU/opcode tables (`src/gfx1013_compute_alu.inl`, `src/gfx1013_compute_opcodes.inl`) lower `v_rcp_f32` (`VOP1 0x2a`, `VOP3 0x1aa`, SDWA, DPP), while `v_rcp_iflag_f32` (`VOP1 0x2b`, `VOP3 0x1ab`) is not yet handled. Lowering `v_rcp_iflag_f32` identically (`1.0f / x`, matching `tools/pixel_aot.py` and `tools/startup/gfx2hlsl.py`) extends direct Compute and Pixel DXIL coverage (#2935). Refs #2935 AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 01:56:01 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3254
No description provided.