upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
authorfearkov <289226582+fearkov@users.noreply.github.com>2026-11-22 10:40:54 -0400
committerfearkov <289226582+fearkov@users.noreply.github.com>2026-11-22 10:40:54 -0400
commitf2ba7831ae587b907a6769db569bc04a5d769723 (patch)
tree79801affecc58ab7946b350e03bfa9d8e4df7068 /scripts/run_gpu_tests.py
parent622208dbb63a4bb2dfde0ea7b32302b5af494e64 (diff)
Tests: v_cvt_f16_f32 output modifiers, in the interpreter and on a GPU
ps_outmods_f16 has six results; each changes a word when its modifier is dropped, and two change when the omod is applied before the rounding.
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 670e3255a..32f828cd7 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -1101,6 +1101,7 @@ def run_suite(a, work: str) -> int:
1101 "ps_scc_minmax": (0x00030205, 0x00030207, 0x00030209, 0x00030203), 1101 "ps_scc_minmax": (0x00030205, 0x00030207, 0x00030209, 0x00030203),
1102 "ps_fma_literal": (0x41B80000, 0x41800000, 0x40E00000, 0x41A40000), 1102 "ps_fma_literal": (0x41B80000, 0x41800000, 0x40E00000, 0x41A40000),
1103 "ps_f64_mods": (0x40040000, 0x3FF00000, 0x3FE40000, 0x3FF00000), # needs shaderFloat64 1103 "ps_f64_mods": (0x40040000, 0x3FF00000, 0x3FE40000, 0x3FF00000), # needs shaderFloat64
1104 "ps_outmods_f16": (0xAAAA3C00, 0xAAAA3E00, 0x7C000000, 0x3C000000),
1104 # f16 op_sel / partial writes / inline constants: RDNA2 hardware words (see the .asm headers) 1105 # f16 op_sel / partial writes / inline constants: RDNA2 hardware words (see the .asm headers)
1105 "ps_f16_med3_opsel": (0xAAAA4100, 0xAAAA4200, 0xAAAA3E00, 0x40005555), 1106 "ps_f16_med3_opsel": (0xAAAA4100, 0xAAAA4200, 0xAAAA3E00, 0x40005555),
1106 "ps_f16_med3_mods": (0x41005555, 0x3C005555, 0x41003800, 0xAAAABA00), 1107 "ps_f16_med3_mods": (0x41005555, 0x3C005555, 0x41003800, 0xAAAABA00),