gpu-dawn: kick out large submodules from tree

This is a much simpler solution for solving hexops/mach#584

1. We continue using submodules everywhere (at least in the Mach codebase.)
2. `dawn` and `DirectXShaderCompiler` (the only two unwiedly submodules that are not needed by default since we use binary builds) are kicked out of the tree.
3. If you specify `-Ddawn-from-source=true`, `zig build` handles cloning those dependencies for you (using `git clone`, not as submodules.)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-16 08:10:25 -07:00 committed by Stephen Gutekanst
parent 11df0e286b
commit dfb62015f6
4 changed files with 64 additions and 9 deletions

View file

@ -16,3 +16,6 @@ zig-out/
/build/
/build-*/
/docgen_tmp/
libs/DirectXShaderCompiler
libs/dawn