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:
authoraslan2142 <jan.trencansky@protonmail.com>2026-11-25 00:20:58 +0100
committerGitHub <noreply@github.com>2026-11-25 00:20:58 +0100
commit2376e7d56bc61bf17f9767e21d651071fe74ee6e (patch)
treeb03cf731250115b958fce2fac762ad8513bc4fdd /scripts/run_gpu_tests.py
parente0b08c77d3e168483b3e6f0a0bb093893b4e54d3 (diff)
parent5431c75a6f7d7cd083b15524d8afe27ab461f28e (diff)
Merge pull request #1063 from milk4sale/gpu-test/frexp-ldexp
tests, rdna2spirv: GPU readback for frexp and ldexp, and their neg/abs sources move the sign bit (GPU-FREXP-LDEXP, SHADER-FREXP-LDEXP-SIGN-MODS)
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 3fc04a5c0..3a0715367 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -39,6 +39,7 @@ from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute
39from check import shift64_test # dynamic 64-bit vector shifts and overlapping destinations 39from check import shift64_test # dynamic 64-bit vector shifts and overlapping destinations
40from check import cmp_f64_test # the 32 binary64 vector compares on memory-fed operands 40from check import cmp_f64_test # the 32 binary64 vector compares on memory-fed operands
41from check import round_f64_test # the four binary64 roundings on memory-fed inputs 41from check import round_f64_test # the four binary64 roundings on memory-fed inputs
42from check import frexp_ldexp_test # binary32 and binary64 frexp, and v_ldexp_f32, on memory-fed records
42from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) 43from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan)
43from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py 44from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py
44from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8 45from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8
@@ -998,6 +999,10 @@ def run_suite(a, work: str) -> int:
998 if name in CLIP_CASES: 999 if name in CLIP_CASES:
999 detail = clip_test(a.build, spirv_dir, name) 1000 detail = clip_test(a.build, spirv_dir, name)
1000 results.append((name, None if isinstance(detail, Skip) else not detail, detail or "four pixel masks exact")) 1001 results.append((name, None if isinstance(detail, Skip) else not detail, detail or "four pixel masks exact"))
1002 elif name == "cs_w32_frexp_ldexp":
1003 detail = frexp_ldexp_test(a.build, spirv_dir, cs_env)
1004 results.append((name, None if isinstance(detail, Skip) else not detail,
1005 detail or "768 words exact (64 records, eight results each, and unchanged inputs)"))
1001 elif name == "cs_w32_shift64": 1006 elif name == "cs_w32_shift64":
1002 detail = shift64_test(a.build, spirv_dir, cs_env) 1007 detail = shift64_test(a.build, spirv_dir, cs_env)
1003 results.append((name, None if isinstance(detail, Skip) else not detail, 1008 results.append((name, None if isinstance(detail, Skip) else not detail,