Skip to content

Commit 81c02fa

Browse files
initial generated header
1 parent 08f2aba commit 81c02fa

File tree

3 files changed

+1149
-217
lines changed

3 files changed

+1149
-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 use submodule
4+
5+
gen:
6+
cd ../../webgpu-headers && \
7+
go run ./gen \
8+
-schema ./schema.json \
9+
-yaml ./webgpu.yml \
10+
-header ./webgpu.h \
11+
-yaml ../wgpu-native/ffi/wgpu.yml \
12+
-header ../wgpu-native/ffi/wgpu.h

0 commit comments

Comments
 (0)