From d75375911251aaa1297ed401bc0cc440f18913a0 Mon Sep 17 00:00:00 2001 From: "Wrench[bot]" Date: Mon, 7 Aug 2023 22:10:59 -0700 Subject: [PATCH] update to latest Dawn version origin/generated-2023-08-07.1691471214 Signed-off-by: Wrench[bot] --- README.md | 4 ++-- build.zig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cad1f107e..79c6fb00d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/build.zig b/build.zig index 0ef20b83b..ee528621b 100644 --- a/build.zig +++ b/build.zig @@ -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"));