diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 15:48:13 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 16:58:11 +0100 |
| commit | 91b53e294bdac6f220a99c55d3c31f4bfa655f84 (patch) | |
| tree | 1d9b670b0937e8b1ab85208cd244e481f8900670 /scripts/run_gpu_tests.py | |
| parent | 425b9a772a7367519063caed4ce8f266929a1fcf (diff) | |
GPU test cs_fmt_int_narrow: 8/16-bit UINT/SINT typed buffers, words from gfx1036
A compute fixture loads through the nine narrow integer formats (DST_SEL
XYZW, X011 and d16) and stores edge values through each with the
runtime's selectors. check.py's 136 expected words are the same program's
output run natively on gfx1036 (tools/hw_oracle, wave32 and wave64), and
the interpreter test runs the fixture against them too.
Depends on #1871.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 025504fb8..7411e7bff 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")) | |||
| 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_sint32_test, fmt_xy_xyz_test, tbuffer_store_test | 28 | from check import Skip, clip_test, fmt_1010102_test, fmt_int_narrow_test, fmt_sint32_test, fmt_xy_xyz_test, tbuffer_store_test |
| 29 | from compute_fixture import compute_header | 29 | from compute_fixture import compute_header |
| 30 | from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) | 30 | 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, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, | 31 | from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, |
| @@ -837,6 +837,9 @@ def run_suite(a, work: str) -> int: | |||
| 837 | elif name == "cs_fmt_sint32": | 837 | elif name == "cs_fmt_sint32": |
| 838 | problem = fmt_sint32_test(a.build, spirv_dir, cs_env) | 838 | problem = fmt_sint32_test(a.build, spirv_dir, cs_env) |
| 839 | results.append((name, not problem, problem or "64/64 dumped words exact")) | 839 | results.append((name, not problem, problem or "64/64 dumped words exact")) |
| 840 | elif name == "cs_fmt_int_narrow": | ||
| 841 | problem = fmt_int_narrow_test(a.build, spirv_dir, cs_env) | ||
| 842 | results.append((name, not problem, problem or "136/136 dumped words exact")) | ||
| 840 | elif name == "cs_fmt_xy_xyz": | 843 | elif name == "cs_fmt_xy_xyz": |
| 841 | # TEST-185: xy/xyz format loads and stores, words measured natively on a Radeon 680M (the .asm header) | 844 | # TEST-185: xy/xyz format loads and stores, words measured natively on a Radeon 680M (the .asm header) |
| 842 | problem = fmt_xy_xyz_test(a.build, spirv_dir, cs_env) | 845 | problem = fmt_xy_xyz_test(a.build, spirv_dir, cs_env) |