shader: map inline binary16 float constants in v_floor/ceil/trunc/rndne_f16 #3320
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#3320
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-28 09:28 UTC · original
Refs #2935.
Fix inline float constant handling (
src0in240..248) inv_floor_f16,v_ceil_f16,v_trunc_f16, andv_rndne_f16insrc/gfx1013_direct_compute.inlby mapping throughinline_half_words[r - 240]instead of taking the low 16 bits of the f32 pattern (which read0.5,1.0,2.0,4.0, and their negatives as0x0000), addif (graphics_input) return false;, tighten the CMake target guard, and add inline-constant hardware and control tests totests/native_round_f16_check.py.I am taking this slice.