Commit graph

233 commits

Author SHA1 Message Date
Stephen Gutekanst
bab338d160 gpu-dawn: port newer createSurfaceForWindow API
Helps hexops/mach#121

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
0925dc2e24 gpu-dawn: note legacy methods replaced by new Surface API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
bb8a8c3631 gpu-dawn: add ability to get C WGPUInstance
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Stephen Gutekanst
412023ef1e gpu-dawn: cleanup hello_triangle example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Release automation
ef2288309e gpu-dawn: update to latest binary release 2022-02-21 03:51:09 +00:00
Stephen Gutekanst
69b2551378 gpu-dawn: add NO_ENSURE_SUBMODULES=true env var for development
If you're working on changes to source files in `gpu-dawn/libs/dawn/`,
it's annoying to have the build system constantly reset your revision to
the desired one.

`NO_ENSURE_SUBMODULES=true` will now disable this behavior.

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
1bc6a7e829 gpu-dawn: remove source division workaround
I've fixed the issue in Zig upstream: ziglang/zig#10950

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
e451e4acb8 gpu-dawn: use cross-platform process.getEnvVarOwned
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
918bc61187 gpu-dawn: clarify desktop_gl support
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
53e85b8dac gpu-dawn: prevent abseil from using pthread on Windows
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Release automation
d32cc38a57 gpu-dawn: update to latest binary release 2022-02-18 09:13:36 +00:00
Stephen Gutekanst
19790baf98 gpu-dawn: fix x86_64-linux build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
Stephen Gutekanst
83f3f3452e gpu-dawn: update to generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
Stephen Gutekanst
0b5b832549 gpu-dawn: update build.zig for generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
Stephen Gutekanst
86d7c7ce11 gpu-dawn: update libs/dawn to generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
Release automation
83aceaae8d gpu-dawn: update to latest binary release 2022-02-13 20:26:22 +00:00
Stephen Gutekanst
ca200ff5d5 gpu-dawn: fix linux build (duplicate symbol main)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 19:39:37 +00:00
Stephen Gutekanst
d23147b653 gpu-dawn: CI: publish release after linux+x86 macos instead of m1
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 02:11:51 -07:00
Stephen Gutekanst
0d6443e8de gpu-dawn: divide sources into <30,000 characters per zig invocation
On Windows, process creation has a limit on the length of process
arguments and so without limiting the length of our `zig` compiler
invocations we would fail to compile there.

This should probably be fixed in the Zig build system itself, not worked
around here, but it works for now.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 02:08:04 -07:00
Release automation
f4c1007265 gpu-dawn: update to latest binary release 2022-02-13 09:06:01 +00:00
Stephen Gutekanst
39109c9389 gpu-dawn: use source scanning for dawn_common target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
8f593e25d2 gpu-dawn: use source scanning for dawn_native_vulkan target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
be61c31b57 gpu-dawn: use source scanning for dawn_native_opengl target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
3cd8fcaa59 gpu-dawn: use source scanning for dawn_native_d3d12 target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
fc1f37ef2f gpu-dawn: use source scanning for dawn_native_metal target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
e15c91a8b7 gpu-dawn: use source scanning for dawn_native_gen target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
9dcacacca1 gpu-dawn: use source scanning for dawn_native target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
2e2eb57781 gpu-dawn: use source scanning for dawn_wire target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
4ac07b8f13 gpu-dawn: use source scanning for spirv_cross target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
bb32ce8c97 gpu-dawn: use source scanning for spvtools_opt target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
9b57f73319 gpu-dawn: use source scanning for spvtools_val target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
3368fa9da0 gpu-dawn: use source scanning for spirv_tools target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
a0b513f0da gpu-dawn: use source scanning for tint_core_all_src target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
db37bfe93b gpu-dawn: use source scanning for tint_sem_src target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
37ab51bec1 gpu-dawn: use source scanning for tint_spv_reader target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
8d4b3059ba gpu-dawn: use source scanning for tint_spv_writer target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Stephen Gutekanst
ce9608897b gpu-dawn: use source scanning for abseil-cpp target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 01:58:17 -07:00
Release automation
3ba2436192 gpu-dawn: update to latest binary release 2022-02-13 07:58:54 +00:00
Stephen Gutekanst
d8a00bd672 gpu-dawn: CI: use Zig libc versions not the system versions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-13 00:29:19 -07:00
Release automation
609a49c7dc gpu-dawn: update to latest binary release 2022-02-13 06:38:14 +00:00
Stephen Gutekanst
f0c43b76a2 gpu-dawn: CI: avoid double-publish incidents
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 23:31:52 -07:00
Stephen Gutekanst
601a5a4635 gpu-dawn: use linux-x86_64 binary releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 23:31:52 -07:00
Release automation
0a8d94452f gpu-dawn: update to latest binary release 2022-02-13 06:17:47 +00:00
Release automation
74f3e8acde gpu-dawn: update to latest binary release 2022-02-13 06:03:56 +00:00
Stephen Gutekanst
47d10c49a5 gpu-dawn: use macos-aarch64 binary releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:58:01 -07:00
Stephen Gutekanst
f2c96daa51 gpu-dawn: account for debug/release-fast in cache dir
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:58:01 -07:00
Release automation
0e3b196dc7 gpu-dawn: update to latest binary release 2022-02-13 05:51:17 +00:00
Stephen Gutekanst
ceed8f0621 gpu-dawn: CI: publish linux-x86_65 binary releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:48:25 -07:00
Stephen Gutekanst
9126a3211b gpu-dawn: CI: prevent race condition with multiple publishes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:48:25 -07:00
Stephen Gutekanst
3feb861398 gpu-dawn: utilize the appropriate debug/release-fast binary build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 22:48:25 -07:00