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:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_gpu_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index d1d6e402d..472805d2e 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -25,7 +25,7 @@ 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 28from check import Skip, clip_test, fmt_1010102_test, fmt_sint32_test, fmt_xy_xyz_test, tbuffer_store_test
29from compute_fixture import compute_header 29from compute_fixture import compute_header
30from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) 30from 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, 31from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES,
@@ -839,6 +839,10 @@ def run_suite(a, work: str) -> int:
839 # TEST-185: xy/xyz format loads and stores, words measured natively on a Radeon 680M (the .asm header) 839 # TEST-185: xy/xyz format loads and stores, words measured natively on a Radeon 680M (the .asm header)
840 problem = fmt_xy_xyz_test(a.build, spirv_dir, cs_env) 840 problem = fmt_xy_xyz_test(a.build, spirv_dir, cs_env)
841 results.append((name, not problem, problem or "128/128 dumped words exact")) 841 results.append((name, not problem, problem or "128/128 dumped words exact"))
842 elif name == "cs_tbuffer_store":
843 # tbuffer_store_format_*: the instruction's format, words measured natively on a Radeon 680M (the .asm header)
844 problem = tbuffer_store_test(a.build, spirv_dir, cs_env)
845 results.append((name, not problem, problem or "128/128 dumped words exact"))
842 elif name == "cs_global_neg_offset": 846 elif name == "cs_global_neg_offset":
843 # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte 847 # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte
844 # heap holding both the right addresses and the 4096-lower ones. One thread, no wave64 requirement. 848 # heap holding both the right addresses and the 4096-lower ones. One thread, no wave64 requirement.