From e8a7e50f0f93b7657da099abdbfd7f2503912745 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 6 Jun 2023 08:02:10 -0700 Subject: [PATCH] Makefile: validate-spv: update spirv-as and spirv-val invocations. (#2374) Newer versions of these programs require `-` as a filename argument to read from standard input. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 744d8a2254..606e616bd6 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ validate-spv: $(SNAPSHOTS_BASE_OUT)/spv/*.spvasm echo "Validating" $${file#"$(SNAPSHOTS_BASE_OUT)/"}; \ version_line=$$(head -2 $${file} | tail -1); \ version=$${version_line#"; Version: "};\ - cat $${file} | spirv-as --target-env spv$${version} -o - | spirv-val; \ + cat $${file} | spirv-as --target-env spv$${version} - -o - | spirv-val -; \ done validate-msl: $(SNAPSHOTS_BASE_OUT)/msl/*.msl