diff options
| author | Spaghetih <191181391+Spaghetih@users.noreply.github.com> | 2026-11-22 01:37:53 +0100 |
|---|---|---|
| committer | Spaghetih <191181391+Spaghetih@users.noreply.github.com> | 2026-11-22 01:37:53 +0100 |
| commit | 3f4cf2e40d6be28d665fef090bcaa8668b9e8481 (patch) | |
| tree | 1cdba1d1b3539659c34e407fda42a018afd4db9a /runtime/test/gameinput_test.cpp | |
| parent | 91b36cf86cb92a95836eed8af73abc0671a61e31 (diff) | |
FUZZ-5: typed buffer loads in tools/mem_diff.py (buffer_load_format, tbuffer_load_format)
A buffer_format family: buffer_load_format_* on every format the translator decodes (random DST_SEL 0/X/Y/Z/W) and tbuffer_load_format_* on the five formats the 1.0.2.1 corpus uses. The reference decodes each element from the GFX10 format name (tools/gfx10_formats.json), not from the translator's table.
Two outcomes await a gfx10 hardware measurement (posted in #374) and are counted apart: UNORM/SNORM results 1 ULP from the correctly rounded value (the translator multiplies by a rounded reciprocal), and the missing W of a 32-bit format (0 in the translator, 1 / 1.0 for every other format). 5,000 programs: no other difference. Mutations of the 16_16_SNORM kind, the 8_8_8_8_UINT widths and the DST_SEL order make 33, 37 and 191 of 300 programs fail.
AI-assisted.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions