Skip to content

Commit

Permalink
Update WebGPU to latest Emscripten/Dawn API (#7804)
Browse files Browse the repository at this point in the history
* Update WebGPU to latest Emscripten/Dawn API

- Updated mini_webgpu.h to be in sync with Dawn as of commit ded6610f45a8826db37b52d73121a66b74d8aa61
- Updated the use of SetDeviceLost callbacks to be in the DeviceDescriptor instead of a separate call
- Updated a couple of fields that got renamed
- Update webgpu.cpp and gpu_context.h to always use wgpuCreateInstance() and wgpuInstanceRelease(), since the Dawn node bindings now support & require them

* clang-tidy
  • Loading branch information
steven-johnson authored Aug 24, 2023
1 parent 84faa68 commit 69c75b3
Show file tree
Hide file tree
Showing 4 changed files with 1,347 additions and 860 deletions.
Loading

0 comments on commit 69c75b3

Please sign in to comment.