diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 16:39:59 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 16:39:59 +0100 |
| commit | 0fe4e452eaad3c2de234e2c5c930ae638c9a58fb (patch) | |
| tree | 65c49a16afc2f2101748304fd966d6f0c8cc10b7 /runtime/test/gameinput_test.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
rdna2spirv: v_floor/ceil/fract_f32 read a denormal as zero, as RDNA2 does in the game's MODE
Measured natively on gfx1036 (IEEE 0, f32 denormals flushed): floor(-1e-45)
is -0, ceil(+1e-45) +0 and fract of either 0, where a translation that keeps
the denormal (any driver that keeps f32 denormals) gives -1.0, +1.0 and
0x3f7fffff. fract(+-inf) is exactly 0xffc00000 and a NaN operand passes
through unchanged. The new test holds 75 measured words.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions