shader: lower v_floor_f16, v_ceil_f16, v_trunc_f16 and v_rndne_f16 in the direct compute path #3127

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

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


Refs #2935.

Lower v_floor_f16 (VOP1 0x5b / VOP3A 0x1db), v_ceil_f16 (VOP1 0x5c / VOP3A 0x1dc), v_trunc_f16 (VOP1 0x5d / VOP3A 0x1dd), and v_rndne_f16 (VOP1 0x5e / VOP3A 0x1de) in src/gfx1013_direct_compute.inl using exact 32-bit integer IEEE-754 binary16 rounding while preserving signed zeros, ±Inf, NaN, and D[31:16], with DXIL controls and direct-compute hardware readback verification.

I am taking this slice.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6650238703 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3127). Originally posted by [R0D4X](https://github.com/R0D4X) on 2026-11-27T16:18:49Z. --- Refs #2935. Lower `v_floor_f16` (VOP1 `0x5b` / VOP3A `0x1db`), `v_ceil_f16` (VOP1 `0x5c` / VOP3A `0x1dc`), `v_trunc_f16` (VOP1 `0x5d` / VOP3A `0x1dd`), and `v_rndne_f16` (VOP1 `0x5e` / VOP3A `0x1de`) in `src/gfx1013_direct_compute.inl` using exact 32-bit integer IEEE-754 binary16 rounding while preserving signed zeros, `±Inf`, `NaN`, 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#3127
No description provided.