upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/cf_diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cf_diff.py')
-rw-r--r--tools/cf_diff.py2
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: