Skip to content

Commit

Permalink
update to latest Dawn version origin/generated-2023-08-07.1691471214
Browse files Browse the repository at this point in the history
Signed-off-by: Wrench[bot] <[email protected]>
  • Loading branch information
wrench-bot authored and emidoots committed Aug 8, 2023
1 parent aa61622 commit d753759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ When you call a Dawn `webgpu.h` function, Dawn internally diverts this call thro

`mach/gpu-dawn` builds since Oct 17th 2022 no longer include the `webgpu.h` symbols by default. If you intend to actually call the WebGPU API, you should build these two source files as part of your application:

1. [`dawn_proc.c`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-08-02.1691034352/out/Debug/gen/src/dawn/dawn_proc.c)
2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-08-02.1691034352/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp)
1. [`dawn_proc.c`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-08-07.1691471214/out/Debug/gen/src/dawn/dawn_proc.c)
2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-08-07.1691471214/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp)

And call `dawnProcSetProcs` to set up the proc table.

Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn link(b: *Build, step: *std.build.CompileStep, options: Options) !void {
}

fn linkFromSource(b: *Build, step: *std.build.CompileStep, options: Options) !void {
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "generated-2023-08-06.1691356255", sdkPath("/libs/dawn"));
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "generated-2023-08-07.1691471214", sdkPath("/libs/dawn"));

// branch: mach
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/DirectXShaderCompiler", "cff9a6f0b7f961748b822e1d313a7205dfdecf9d", sdkPath("/libs/DirectXShaderCompiler"));
Expand Down

0 comments on commit d753759

Please sign in to comment.