diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:14:24 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:14:24 -0500 |
| commit | 02b331e2547fe1bed15eb67017a4cb5c75e268bf (patch) | |
| tree | 2fafa742fb6cd1be27cece20b3242ac74b263cd6 /tools/cf_diff.py | |
| parent | 90ac7927e774d6786aa3ea1e89faecbd45a9f5e9 (diff) | |
| parent | 649e90481f82ceee95ef39fbff3da10726a7e86c (diff) | |
Merge pull request #3055 from Marco Luzzaro
Diffstat (limited to 'tools/cf_diff.py')
| -rw-r--r-- | tools/cf_diff.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/cf_diff.py b/tools/cf_diff.py index 5f7a07baa..5f1ce303a 100644 --- a/tools/cf_diff.py +++ b/tools/cf_diff.py | |||
| @@ -614,6 +614,8 @@ def main(argv=None): | |||
| 614 | help="also run spirv-as and spirv-val on every translation (a failure counts as a mismatch)") | 614 | help="also run spirv-as and spirv-val on every translation (a failure counts as a mismatch)") |
| 615 | ap.add_argument("--self-test", action="store_true") | 615 | ap.add_argument("--self-test", action="store_true") |
| 616 | a = ap.parse_args(argv) | 616 | a = ap.parse_args(argv) |
| 617 | if a.programs < 1: | ||
| 618 | ap.error("--programs must be at least 1") | ||
| 617 | if a.spirv_val: | 619 | if a.spirv_val: |
| 618 | missing = [t for t in ("spirv-as", "spirv-val") if not shutil.which(t)] | 620 | missing = [t for t in ("spirv-as", "spirv-val") if not shutil.which(t)] |
| 619 | if missing: | 621 | if missing: |