upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorIAmNotSiob <273832158+IAmNotSiob@users.noreply.github.com>2026-11-22 01:51:09 +0100
committerIAmNotSiob <273832158+IAmNotSiob@users.noreply.github.com>2026-11-22 01:53:21 +0100
commit8b5ef5f62a1a258d1d026e23427edd9b74dfac52 (patch)
tree070b9338f8bc982a6e87ff512c1d925bdc97a911 /runtime/test/gameinput_test.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (diff)
Part 2: narrow f16 ALU results with integer ops, not PackHalf2x16 (SHADER-56, #513)
Drivers fold PackHalf2x16 -> UnpackHalf2x16 to a no-op, so a following f16 op saw the unrounded f32 (#513: v_pk_add_f16 -> v_pk_mul_f16 1 ulp off under --wave64-emulate on NVIDIA; v_cvt_pkrtz_f16_f32 rounding to nearest on llvmpipe). Gen.f16_bits converts with integer ops (RTE, or RTZ with +-65504 for pkrtz) and is used by f16_out, v_cvt_f16_f32, v_pk_*_f16, f16 sin/cos, v_interp_p2_f16, v_fma_mix* and f16_rtz. tests/spirv_interp.py gains OpU{Less,Greater}ThanEqual and OpFUnordNotEqual.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions