upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorpmilewsskiedu-gif <266377087+pmilewsskiedu-gif@users.noreply.github.com>2026-11-22 15:01:34 -0500
committerpmilewsskiedu-gif <266377087+pmilewsskiedu-gif@users.noreply.github.com>2026-11-22 15:03:13 -0500
commitc82fbe37d1f4823e4867aa7cc2f873046fccde62 (patch)
treec5e4a7821ccfc040d0c7e21c031b17b2f5ea4d93 /scripts
parentf847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff)
Shader: flush legacy f32 multiply operands and results in default MODE
Match RDNA2 mode-0 denormal semantics and legacy zero override; flush product before output scaling and normalize modifier zeros. Add synthetic semantic/GPU fixtures and documentation. AI-assisted (GPT-6).
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_gpu_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 7cd0e9dbf..fe0d21819 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -1166,6 +1166,8 @@ def run_suite(a, work: str) -> int:
1166 "ps_sdwa": (0x000000F1, 0xBFFEFFF2, 0x3C003344, 0xBFF70000), 1166 "ps_sdwa": (0x000000F1, 0xBFFEFFF2, 0x3C003344, 0xBFF70000),
1167 "ps_sdwa_dword_hi": (0x00004000, 0x00000003, 0x00004700, 0x0000C000), # 16-bit SDWA, dst_sel:DWORD 1167 "ps_sdwa_dword_hi": (0x00004000, 0x00000003, 0x00004700, 0x0000C000), # 16-bit SDWA, dst_sel:DWORD
1168 "ps_legacy_mul": (0, 0, 0, 0x40C00000), # same expectation as check.py 1168 "ps_legacy_mul": (0, 0, 0, 0x40C00000), # same expectation as check.py
1169 "ps_mul_legacy_denorm": (0, 0, 0, 0x80000000), # mode0 input FTZ + DX9 +0 override; output FTZ keeps sign
1170 "ps_mul_legacy_denorm_mods": (0, 0, 0, 0x40400000), # product FTZ before omod; omod -0 -> +0
1169 "ps_ops5": (0x12340010, 0xBEEF0800, 0xAAAAFFFF, 0xDEADBC00), # from the .asm headers 1171 "ps_ops5": (0x12340010, 0xBEEF0800, 0xAAAAFFFF, 0xDEADBC00), # from the .asm headers
1170 "ps_ops6": (0xF800FFFF, 0x01000010, 0x00800800, 0x8000FFF0), 1172 "ps_ops6": (0xF800FFFF, 0x01000010, 0x00800800, 0x8000FFF0),
1171 "ps_ops7": (0x00FF8077, 0xFF0000FF, 0x89ABCDEF, 0x00070003), 1173 "ps_ops7": (0x00FF8077, 0xFF0000FF, 0x89ABCDEF, 0x00070003),