From e4f2f08431b42afa5abc09685cc978801f0e236e Mon Sep 17 00:00:00 2001 From: "Wrench[bot]" <118697282+wrench-bot@users.noreply.github.com> Date: Sat, 14 Jan 2023 08:26:48 -0700 Subject: [PATCH] gpu-dawn: update to latest Dawn version (#656) * gpu-dawn: update to latest version generated-2023-01-12.1673546526 Signed-off-by: Wrench[bot] Co-authored-by: Stephen Gutekanst --- libs/gpu-dawn/README.md | 4 ++-- libs/gpu-dawn/sdk.zig | 4 ++-- libs/gpu/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/gpu-dawn/README.md b/libs/gpu-dawn/README.md index bc4a547b..d046ed5d 100644 --- a/libs/gpu-dawn/README.md +++ b/libs/gpu-dawn/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-2022-08-06/out/Debug/gen/src/dawn/dawn_proc.c) -2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2022-08-06/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp) +1. [`dawn_proc.c`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-01-12.1673546526/out/Debug/gen/src/dawn/dawn_proc.c) +2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-01-12.1673546526/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp) And call `dawnProcSetProcs` to set up the proc table. diff --git a/libs/gpu-dawn/sdk.zig b/libs/gpu-dawn/sdk.zig index 780fed45..e9a38abd 100644 --- a/libs/gpu-dawn/sdk.zig +++ b/libs/gpu-dawn/sdk.zig @@ -69,8 +69,8 @@ pub fn Sdk(comptime deps: anytype) type { } fn linkFromSource(b: *Builder, step: *std.build.LibExeObjStep, options: Options) !void { - // branch: generated-2022-08-06 - try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "0b704c4acae154ec8d4be7615d18a489f270f6c0", sdkPath("/libs/dawn")); + // branch: generated-2023-01-12.1673546526 + try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "d8468ba09e23c482de1012e00b3adcf98dfe950f", sdkPath("/libs/dawn")); // branch: mach try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/DirectXShaderCompiler", "cff9a6f0b7f961748b822e1d313a7205dfdecf9d", sdkPath("/libs/DirectXShaderCompiler")); diff --git a/libs/gpu/README.md b/libs/gpu/README.md index aa0ad2c8..4a33c7d8 100644 --- a/libs/gpu/README.md +++ b/libs/gpu/README.md @@ -204,7 +204,7 @@ There may be other opportunities for helpers, to improve the existing APIs, or a ## WebGPU version -Dawn's `webgpu.h` is the **authoritative source** for our API. You can find [the current version we use here](https://github.com/hexops/dawn/blob/generated-2022-07-10/out/Debug/gen/include/dawn/webgpu.h). +Dawn's `webgpu.h` is the **authoritative source** for our API. You can find [the current version we use here](https://github.com/hexops/dawn/blob/generated-2023-01-12.1673546526/out/Debug/gen/include/dawn/webgpu.h). ## Development rules