gpu-dawn: update to latest version origin/generated-2023-06-30.1688174725

Signed-off-by: Wrench[bot] <wrench@hexops.com>
This commit is contained in:
Wrench[bot] 2023-06-30 18:30:20 -07:00 committed by Stephen Gutekanst
parent 92eebd0466
commit 9714768f1d
3 changed files with 4 additions and 4 deletions

View file

@ -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-06-18.1687119009/out/Debug/gen/src/dawn/dawn_proc.c)
2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-06-18.1687119009/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp)
1. [`dawn_proc.c`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-06-30.1688174725/out/Debug/gen/src/dawn/dawn_proc.c)
2. [`webgpu_dawn_native_proc.cpp`](https://raw.githubusercontent.com/hexops/dawn/generated-2023-06-30.1688174725/out/Debug/gen/src/dawn/native/webgpu_dawn_native_proc.cpp)
And call `dawnProcSetProcs` to set up the proc table.

View file

@ -72,7 +72,7 @@ pub fn Sdk(comptime deps: anytype) type {
}
fn linkFromSource(b: *Build, step: *std.build.CompileStep, options: Options) !void {
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "generated-2023-06-18.1687119009", sdkPath("/libs/dawn"));
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "generated-2023-06-30.1688174725", sdkPath("/libs/dawn"));
// branch: mach
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/DirectXShaderCompiler", "cff9a6f0b7f961748b822e1d313a7205dfdecf9d", sdkPath("/libs/DirectXShaderCompiler"));

View file

@ -203,7 +203,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-2023-06-18.1687119009/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-06-30.1688174725/out/Debug/gen/include/dawn/webgpu.h).
## Development rules