shader: lower v_min_f16 and v_max_f16 in the direct compute path #3124

Closed
opened 2026-11-27 16:12:24 +00:00 by R0D4X · 0 comments
R0D4X commented 2026-11-27 16:12:24 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0D4X on 2026-11-27T16:12:24Z.


Refs #2935.

Lower v_min_f16 (VOP2 0x3a / VOP3A 0x13a) and v_max_f16 (VOP2 0x39 / VOP3A 0x139) in src/gfx1013_direct_compute.inl using exact 32-bit integer IEEE-754 binary16 ordering (preserving -0.0 < +0.0, NaN-ignoring minNum/maxNum, VOP3A abs/neg/clamp, and D[31:16]), with DXIL controls and direct-compute hardware readback verification.

I am taking this slice.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6650116846 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3124). Originally posted by [R0D4X](https://github.com/R0D4X) on 2026-11-27T16:12:24Z. --- Refs #2935. Lower `v_min_f16` (VOP2 `0x3a` / VOP3A `0x13a`) and `v_max_f16` (VOP2 `0x39` / VOP3A `0x139`) in `src/gfx1013_direct_compute.inl` using exact 32-bit integer IEEE-754 binary16 ordering (preserving `-0.0 < +0.0`, NaN-ignoring `minNum`/`maxNum`, VOP3A `abs`/`neg`/`clamp`, and `D[31:16]`), with DXIL controls and direct-compute hardware readback verification. I am taking this slice.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3124
No description provided.