diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:10:04 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:10:04 -0500 |
| commit | 66ff7cb82adeca3232dc181dbc188feb2c2706ea (patch) | |
| tree | 4cb29596a35fb1ae530e5adf50bc70c93bdbbb3a /scripts | |
| parent | dead2b33df2a60d03ff84b3192003786fa1eeb94 (diff) | |
| parent | 3eb80d77e384a8c51bb58076dc881d7d291f8001 (diff) | |
Merge pull request #2039 from Vonsek
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/run_gpu_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 5549bed39..d6804048c 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")) | |||
| 25 | import mc_command # noqa: E402 | 25 | import mc_command # noqa: E402 |
| 26 | sys.path.insert(0, SHADER_DIR) | 26 | sys.path.insert(0, SHADER_DIR) |
| 27 | from build import CLIP_CASES, clip_container, shader_source | 27 | from build import CLIP_CASES, clip_container, shader_source |
| 28 | from check import Skip, clip_test, fmt_1010102_test, fmt_int_narrow_test, fmt_sint32_test, fmt_xy_xyz_test, tbuffer_store_test | 28 | from check import (Skip, clip_test, fmt_1010102_test, fmt_d16_xyz_test, fmt_int_narrow_test, fmt_sint32_test, |
| 29 | fmt_xy_xyz_test, tbuffer_store_test) | ||
| 29 | from compute_fixture import compute_header | 30 | from compute_fixture import compute_header |
| 30 | from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) | 31 | from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) |
| 31 | from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, | 32 | from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, |
| @@ -887,6 +888,10 @@ def run_suite(a, work: str) -> int: | |||
| 887 | elif name == "cs_tbuffer_store": | 888 | elif name == "cs_tbuffer_store": |
| 888 | # tbuffer_store_format_*: the instruction's format, words measured natively on a Radeon 680M (the .asm header) | 889 | # tbuffer_store_format_*: the instruction's format, words measured natively on a Radeon 680M (the .asm header) |
| 889 | problem = tbuffer_store_test(a.build, spirv_dir, cs_env) | 890 | problem = tbuffer_store_test(a.build, spirv_dir, cs_env) |
| 891 | elif name == "cs_fmt_d16_xyz": | ||
| 892 | # d16_xyz / d16_xy typed-buffer loads and d16_xyz stores (cs_fmt_d16_xyz.asm header) | ||
| 893 | problem = fmt_d16_xyz_test(a.build, spirv_dir, cs_env) | ||
| 894 | results.append((name, not problem, problem or "80/80 dumped words exact")) | ||
| 890 | results.append((name, not problem, problem or "128/128 dumped words exact")) | 895 | results.append((name, not problem, problem or "128/128 dumped words exact")) |
| 891 | elif name == "cs_global_neg_offset": | 896 | elif name == "cs_global_neg_offset": |
| 892 | # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte | 897 | # Negative global_load/global_store offsets (cs_global_neg_offset.asm): 40 groups give a 0x2800-byte |