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:
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 94de20f26..520409290 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -416,6 +416,10 @@ PIXEL_ENV = {"ps_vcc_x2": {"VKH_SGPRS": "0x1000,0,16,0", "VKH_HEAP": "0x1000=0x1
416 "0x100c=0x7fc10001,0x1010=0x40600000,0x1014=0xc0200000"}, 416 "0x100c=0x7fc10001,0x1010=0x40600000,0x1014=0xc0200000"},
417 "ps_fnan_fract": {"VKH_SGPRS": "0x1000,0,16,0", 417 "ps_fnan_fract": {"VKH_SGPRS": "0x1000,0,16,0",
418 "VKH_HEAP": "0x1000=0xaedbe6ff,0x1004=0x00008800,0x1008=0x7fc10001,0x100c=0xc0200000"}, 418 "VKH_HEAP": "0x1000=0xaedbe6ff,0x1004=0x00008800,0x1008=0x7fc10001,0x100c=0xc0200000"},
419 "ps_fnan_med3_s2": {"VKH_SGPRS": "0x1000,0,16,0",
420 "VKH_HEAP": "0x1000=0x40a00000,0x1004=0x40e00000,0x1008=0x7fc10001,0x100c=0xc0200000"},
421 "ps_f16_fnan_med3": {"VKH_SGPRS": "0x1000,0,16,0",
422 "VKH_HEAP": "0x1000=0x00004500,0x1004=0x00004700,0x1008=0x00007e01,0x100c=0x0000c100"},
419 # f32 VOPC with a NaN, 64-bit integer VOPC: inputs from memory (derivations in the .asm headers) 423 # f32 VOPC with a NaN, 64-bit integer VOPC: inputs from memory (derivations in the .asm headers)
420 "ps_vcmp_f32_nan": {"VKH_SGPRS": "0x1000,0,16,0", 424 "ps_vcmp_f32_nan": {"VKH_SGPRS": "0x1000,0,16,0",
421 "VKH_HEAP": "0x1000=0x7fc10001,0x1004=0x3f800000,0x1008=0x40000000"}, 425 "VKH_HEAP": "0x1000=0x7fc10001,0x1004=0x3f800000,0x1008=0x40000000"},
@@ -1229,6 +1233,9 @@ def run_suite(a, work: str) -> int:
1229 "ps_sff_imm": (2, 1, 20, 16), # SHADER-46: s_ff0/s_ff1 of an immediate 1233 "ps_sff_imm": (2, 1, 20, 16), # SHADER-46: s_ff0/s_ff1 of an immediate
1230 "ps_fnan_med3": (0x40A00000, 0xC0200000, 0xC0200000, 0x40600000), # measured on RDNA2 hardware 1234 "ps_fnan_med3": (0x40A00000, 0xC0200000, 0xC0200000, 0x40600000), # measured on RDNA2 hardware
1231 "ps_fnan_fract": (0x3F7FFFFF, 0x00003BFF, 0xC0200000, 0xC0200000), 1235 "ps_fnan_fract": (0x3F7FFFFF, 0x00003BFF, 0xC0200000, 0xC0200000),
1236 # v_med3 with a NaN in S2 or in two operands, by the same measured rule (derivations in the .asm headers)
1237 "ps_fnan_med3_s2": (0x40A00000, 0x40A00000, 0xC0200000, 0x40E00000),
1238 "ps_f16_fnan_med3": (0xAAAA4500, 0xAAAA4500, 0xAAAAC100, 0xAAAA4700),
1232 # TEST-175: docs/design.md rules that were checked on the CPU only (derivations in the .asm headers) 1239 # TEST-175: docs/design.md rules that were checked on the CPU only (derivations in the .asm headers)
1233 "ps_cmp_nlg": (0x40000037, 0x40000007, 0x40000001, 0x3F800000), 1240 "ps_cmp_nlg": (0x40000037, 0x40000007, 0x40000001, 0x3F800000),
1234 "ps_vcmp_f16": (0x48A12080, 0x4CE9B1A2, 0x4BA72C98, 0x4FEFBDBA), # 16-bit float v_cmp e32 (.asm header) 1241 "ps_vcmp_f16": (0x48A12080, 0x4CE9B1A2, 0x4BA72C98, 0x4FEFBDBA), # 16-bit float v_cmp e32 (.asm header)