diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 08:38:21 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 08:38:21 -0500 |
| commit | 5f76cc2b27d99ca071954f35e1335cef350241fd (patch) | |
| tree | 627a3742f92302d0b4ca92d364cf1ef22c17b9ad /scripts/run_gpu_tests.py | |
| parent | 73525b1b03ea38fc6c92795a056977e4e3039db0 (diff) | |
| parent | cfcc1de4914920a79b3e034e8702fcacb0fb6836 (diff) | |
Merge pull request #1680 from abilliontokens
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 4346ca9fe..7209c364c 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -756,6 +756,12 @@ def run_suite(a, work: str) -> int: | |||
| 756 | for fname in asm_files: | 756 | for fname in asm_files: |
| 757 | name = os.path.splitext(fname)[0] | 757 | name = os.path.splitext(fname)[0] |
| 758 | spv = os.path.join(spirv_dir, f"{name}.spv") | 758 | spv = os.path.join(spirv_dir, f"{name}.spv") |
| 759 | if name == "ps_ij_computed" and (bary_fallback() or f16_interp_fallback()): | ||
| 760 | # Before the .spv check: without PerVertexKHR inputs the translator refuses a computed I/J pair, so there | ||
| 761 | # is no .spv (the f16 fallback is on by default where PerVertexKHR doesn't compile: MoltenVK). | ||
| 762 | results.append((name, None, "SKIP (computed I/J pairs need PerVertexKHR inputs: " | ||
| 763 | "no --bary-fallback / --f16-interp-fallback)")) | ||
| 764 | continue | ||
| 759 | if not os.path.isfile(spv): | 765 | if not os.path.isfile(spv): |
| 760 | results.append((name, False, "missing .spv (translation failed)")) | 766 | results.append((name, False, "missing .spv (translation failed)")) |
| 761 | continue | 767 | continue |
| @@ -1071,7 +1077,7 @@ def run_suite(a, work: str) -> int: | |||
| 1071 | raw = os.path.join(raw_dir, f"{name}.raw") | 1077 | raw = os.path.join(raw_dir, f"{name}.raw") |
| 1072 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids | 1078 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids |
| 1073 | if name in PIXEL_VERTEX: | 1079 | if name in PIXEL_VERTEX: |
| 1074 | if bary_fallback() and name in ("ps_interp_f16_high", "ps_ij_computed"): # no PerVertexKHR inputs | 1080 | if bary_fallback() and name == "ps_interp_f16_high": # no PerVertexKHR inputs under --bary-fallback |
| 1075 | results.append((name, None, "SKIP (per-vertex f16 interpolants need barycentrics)")) | 1081 | results.append((name, None, "SKIP (per-vertex f16 interpolants need barycentrics)")) |
| 1076 | continue | 1082 | continue |
| 1077 | vs = os.path.join(spirv_dir, PIXEL_VERTEX[name] + ".spv") | 1083 | vs = os.path.join(spirv_dir, PIXEL_VERTEX[name] + ".spv") |