upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 08:45:19 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 08:45:19 -0300
commit3eb601f3d917e8a63b398c72e4925c847c54dfdf (patch)
treeedb519dc7c3e707ce6143d84f086680d91d85fab /runtime/src/pe_loader.cpp
parentbb2e18421dac527374eb837c88b5063c5d96f81f (diff)
rdna2spirv: v_cvt_pknorm_i16_f32 and v_cvt_pknorm_u16_f32
Both were rejected. Each half is the f32 source clamped to [-1, 1] or [0, 1], scaled by 32767 or 65535 and rounded to nearest even: the NIR pack_snorm_2x16 / pack_unorm_2x16 definition that Mesa ACO emits these opcodes for. Built from FClamp, FMul, RoundEven and a convert rather than PackSnorm2x16, whose rounding GLSL leaves open. NaN gives 0 (as v_cvt_i32_f32; not measured). clamp is rejected. tests/semantic/test_alu_cvt_pknorm_f32.py checks ties, infinities, NaN, subnormals, out-of-range and seeded values and abs/neg. docs/design.md row added.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions