Skip to content

Commit 252c701

Browse files
initial generated header
1 parent 08f2aba commit 252c701

File tree

3 files changed

+1148
-217
lines changed

3 files changed

+1148
-217
lines changed

ffi/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.PHONY: gen
2+
3+
# TODO: change 'gen' invocation to 'go run ./gen' before merge
4+
5+
gen:
6+
cd ./webgpu-headers && \
7+
gen \
8+
-schema ./schema.json \
9+
-yaml ./webgpu.yml \
10+
-header ./webgpu.h \
11+
-yaml ../wgpu.yml \
12+
-header ../wgpu.h

0 commit comments

Comments
 (0)