Skip to content

What is webGPU support in Emscripten? #15645

Answered by kainino0x
yangfangfang1204 asked this question in Q&A
Discussion options

You must be logged in to vote

WebGPU support in Emscripten is the implementation of webgpu.h (https://github.com/webgpu-native/webgpu-headers/blob/main/webgpu.h) on top of the browser-exposed WebGPU API (https://gpuweb.github.io/gpuweb/).

WebGPU is still under development and not yet exposed by default in browsers.
More info and sample links here: https://github.com/gpuweb/gpuweb/wiki/Implementation-Status#materials

JavaScript WebGPU samples: https://austin-eng.com/webgpu-samples/
Extremely minimal demo of an application using webgpu.h to target web through Emscripten: https://github.com/kainino0x/webgpu-cross-platform-demo

WebGPU support in Emscripten doesn't affect or enhance any applications that aren't using thems…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@kainino0x
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sbc100
Comment options

You must be logged in to vote
1 reply
@kainino0x
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #15632 on November 29, 2021 21:53.