Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WebGPU to latest Emscripten/Dawn API #7804

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Conversation

steven-johnson
Copy link
Contributor

  • 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

attn: @jrprice

- 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
@steven-johnson steven-johnson requested a review from abadams August 24, 2023 19:41
@steven-johnson steven-johnson merged commit 69c75b3 into main Aug 24, 2023
@steven-johnson steven-johnson deleted the srj/webgpu-update branch August 24, 2023 23:12
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants