-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Official WebGPU Support #8315
Copy link
Copy link
Closed
Labels
C-FeatureA new feature, making something new possibleA new feature, making something new possibleO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds
Metadata
Metadata
Assignees
Labels
C-FeatureA new feature, making something new possibleA new feature, making something new possibleO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds
What problem does this solve or what need does it fill?
WebGPU is now shipping on major platforms, like stable Chrome, as of April 6th 2023.
https://developer.chrome.com/blog/webgpu-release/
It's important that Bevy begins to officially support WebGPU, since it is now stable on the browser with > 60% of the browser market. Firefox and Safari will soon follow suit (Firefox sooner).
Currently, Bevy only supports WebGL as a backend, and that's a problem. Major performance benefits can be gained with WebGPU and there's no reason we can't change the backend-bit and fallback to WebGL (the only current backend for Bevy).
What solution would you like?
Attempt to use WebGPU on WASM, and fallback to WebGL (the only backend-bit Bevy uses currently).
Additional context
This seems uncontroversial for the team, as I've seen previous conversations by members such as @mockersf stating that WebGPU support should be tackled when the browsers actually roll out WebGPU stable. Now is that time.