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, 6 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 025504fb8..20feab39c 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -25,7 +25,8 @@ sys.path.insert(0, os.path.join(ROOT, "tools"))
25import mc_command # noqa: E402 25import mc_command # noqa: E402
26sys.path.insert(0, SHADER_DIR) 26sys.path.insert(0, SHADER_DIR)
27from build import CLIP_CASES, clip_container, shader_source 27from build import CLIP_CASES, clip_container, shader_source
28from check import Skip, clip_test, fmt_1010102_test, fmt_sint32_test, fmt_xy_xyz_test, tbuffer_store_test 28from check import (Skip, clip_test, fmt_1010102_test, fmt_d16_xyz_test, fmt_sint32_test, fmt_xy_xyz_test,
29 tbuffer_store_test)
29from compute_fixture import compute_header 30from compute_fixture import compute_header
30from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) 31from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test)
31from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, 32from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES,
@@ -845,6 +846,10 @@ def run_suite(a, work: str) -> int:
845 # tbuffer_store_format_*: the instruction's format, words measured natively on a Radeon 680M (the .asm header) 846 # tbuffer_store_format_*: the instruction's format, words measured natively on a Radeon 680M (the .asm header)
846 problem = tbuffer_store_test(a.build, spirv_dir, cs_env) 847 problem = tbuffer_store_test(a.build, spirv_dir, cs_env)
847 results.append((name, not problem, problem or "128/128 dumped words exact")) 848 results.append((name, not problem, problem or "128/128 dumped words exact"))
849 elif name == "cs_fmt_d16_xyz":
850 # d16_xyz / d16_xy typed-buffer loads and d16_xyz stores (cs_fmt_d16_xyz.asm header)
851 problem = fmt_d16_xyz_test(a.build, spirv_dir, cs_env)
852 results.append((name, not problem, problem or "80/80 dumped words exact"))
848 elif name == "cs_global_neg_offset": 853 elif name == "cs_global_neg_offset":
849 # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte 854 # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte
850 # heap holding both the right addresses and the 4096-lower ones. One thread, no wave64 requirement. 855 # heap holding both the right addresses and the 4096-lower ones. One thread, no wave64 requirement.