3 ms·
Hey cart, with WebGPU coming to Chrome in 113/114, how is Bevy looking for supporting the WebGPU target?
by lwansbrough 4y ago
Hey cart, with WebGPU coming to Chrome in 113/114, how is Bevy looking for supporting the WebGPU target?
- _cart 4y agoWe've already gotten it working! https://github.com/bevyengine/bevy/pull/5027 https://github.com/bevyengine/bevy/pull/5027 The only reason we haven't merged it yet is we need to sort out a high level "app api" thing: WebGPU requires async init (as in the Rust async feature). The PR above solves this by making our plugin init async. This is the most straightforward, but it makes people put `.await` in their app init, which we're not sure is the right call yet. We're discussing alternatives that might "encapsulate" the async.
- lwansbrough 4y agoGreat news, thanks for the update.
- rektide 4y agoFWIW there is a ~8 month old PR that purported to add WebGPU support. https://github.com/bevyengine/bevy/pull/5027 https://github.com/bevyengine/bevy/pull/5027