gpu-dawn: update to latest Dawn version (#656)
* gpu-dawn: update to latest version generated-2023-01-12.1673546526 Signed-off-by: Wrench[bot] <wrench@hexops.com> Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c02578721a
commit
e4f2f08431
3 changed files with 5 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue