diff options
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 abdde3e9f..3dae74165 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -753,6 +753,12 @@ def run_suite(a, work: str) -> int: | |||
| 753 | for fname in asm_files: | 753 | for fname in asm_files: |
| 754 | name = os.path.splitext(fname)[0] | 754 | name = os.path.splitext(fname)[0] |
| 755 | spv = os.path.join(spirv_dir, f"{name}.spv") | 755 | spv = os.path.join(spirv_dir, f"{name}.spv") |
| 756 | if name == "ps_ij_computed" and (bary_fallback() or f16_interp_fallback()): | ||
| 757 | # Before the .spv check: without PerVertexKHR inputs the translator refuses a computed I/J pair, so there | ||
| 758 | # is no .spv (the f16 fallback is on by default where PerVertexKHR doesn't compile: MoltenVK). | ||
| 759 | results.append((name, None, "SKIP (computed I/J pairs need PerVertexKHR inputs: " | ||
| 760 | "no --bary-fallback / --f16-interp-fallback)")) | ||
| 761 | continue | ||
| 756 | if not os.path.isfile(spv): | 762 | if not os.path.isfile(spv): |
| 757 | results.append((name, False, "missing .spv (translation failed)")) | 763 | results.append((name, False, "missing .spv (translation failed)")) |
| 758 | continue | 764 | continue |
| @@ -1063,7 +1069,7 @@ def run_suite(a, work: str) -> int: | |||
| 1063 | raw = os.path.join(raw_dir, f"{name}.raw") | 1069 | raw = os.path.join(raw_dir, f"{name}.raw") |
| 1064 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids | 1070 | vs = os.path.join(spirv_dir, "vs_ids.spv") if name == "ps_flat" else vs_tri # check.py draws ps_flat with vs_ids |
| 1065 | if name in PIXEL_VERTEX: | 1071 | if name in PIXEL_VERTEX: |
| 1066 | if bary_fallback() and name in ("ps_interp_f16_high", "ps_ij_computed"): # no PerVertexKHR inputs | 1072 | if bary_fallback() and name == "ps_interp_f16_high": # no PerVertexKHR inputs under --bary-fallback |
| 1067 | results.append((name, None, "SKIP (per-vertex f16 interpolants need barycentrics)")) | 1073 | results.append((name, None, "SKIP (per-vertex f16 interpolants need barycentrics)")) |
| 1068 | continue | 1074 | continue |
| 1069 | vs = os.path.join(spirv_dir, PIXEL_VERTEX[name] + ".spv") | 1075 | vs = os.path.join(spirv_dir, PIXEL_VERTEX[name] + ".spv") |