mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 16:53:48 +00:00
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.
This commit is contained in:
parent
b7f4006e46
commit
e8a7e50f0f
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user