Skip to content

handling WebGPU on Win and macOS#1136

Closed
hb3p8 wants to merge 1 commit into
floooh:masterfrom
hb3p8:master
Closed

handling WebGPU on Win and macOS#1136
hb3p8 wants to merge 1 commit into
floooh:masterfrom
hb3p8:master

Conversation

@hb3p8

@hb3p8 hb3p8 commented Oct 21, 2024

Copy link
Copy Markdown

Some code to handle native Dawn WebGPU in sokol_app, not ready to merge but perhaps a starting point

@floooh

floooh commented Oct 22, 2024

Copy link
Copy Markdown
Owner

Thanks for putting time into this. I'll need some time to have a thorough look, but definitely looks promising.

@floooh

floooh commented Nov 19, 2024

Copy link
Copy Markdown
Owner

FYI I haven't forgotten about this PR. I might split the idea into smaller pieces though (first getting rid of MTKView, then add WebGPU support).

@floooh

floooh commented Jun 15, 2025

Copy link
Copy Markdown
Owner

Step 1: I have moved the WebGPU specific code in sokol_app.h out of the Emscripten ifdefs and in front of all other backends, it's part of this PR: #1283 (also the code has been fixed for the latest Dawn webgpu.h API via emdawnwebgpu, e.g. the code is now compatible between Dawn and Emscripten.

@floooh

floooh commented Sep 4, 2025

Copy link
Copy Markdown
Owner

Step 2: I WebGPU backend on macos (logging is still missing): #1326

@floooh

floooh commented Sep 8, 2025

Copy link
Copy Markdown
Owner

Ok, all native desktop platforms now support webgpu: #1326

Closing this PR.

@floooh floooh closed this Sep 8, 2025
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