Godot: WebGPU support

Created on 17 Nov 2018  路  5Comments  路  Source: godotengine/godot

This may be long term but eventually, we will probably want to drop WebGL support in favor of WebGPU support: https://youtu.be/CCRI4TY1v08

archived feature proposal html5 rendering

Most helpful comment

We definitely hope to add WebGPU support when it is ready. So you dont need to bother opening a new proposal.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.

The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.

If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

All 5 comments

It is possible to get started on this in a native development environment using Dawn.

Emscripten also very recently added WebGPU support.

Could perhaps be worked into a RenderingDevice just like the Vulkan renderer.

wgpu's C API may be a good target as well.

Mozilla's WGPU can be found here or here.

Considering they both aim to implement a standard, the functionality provided by Dawn and WGPU is very similar. However, WGPU appears to support DirectX 11 as well as 12, which could be a nice bonus.

Also worth noting that many folks are hard at work on defining and implementing WGSL, which the cross-platform (yes, even Apple!) shading language WebGPU will adopt: https://gpuweb.github.io/gpuweb/wgsl.html

We definitely hope to add WebGPU support when it is ready. So you dont need to bother opening a new proposal.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.

The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.

If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

Was this page helpful?
0 / 5 - 0 ratings