Closed Bug 1831088 (webgpu-bevy) Opened 1 year ago Closed 6 months ago

[meta] Support Bevy examples

Categories

(Core :: Graphics: WebGPU, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: ErichDonGubler, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: meta)

Attachments

(1 obsolete file)

The Bevy community is already targeting WebGPU with many of its examples. They do this by compiling Bevy to WASM, which is then dropped into HTML/JS scaffolding to get it loaded.

This is a use case we'd like to support for WebGPU!

Basic instructions for trying out Bevy examples compiled to WASM:

  1. Ensure that wasm-bindgen is installed, i.e., via cargo install wasm-bindgen-cli.
  2. From the root of a checkout the bevy repository, invoke cargo run -p build-wasm-example -- --api webgpu <example>.
Depends on: 1831090
Assignee: nobody → egubler
Status: NEW → ASSIGNED

Comment on attachment 9331359 [details]
Bug 1831088: feat(webgpu): support rgb9e5ufloat texture r=#webgpu-reviewers

Revision D177028 was moved to bug 1831090. Setting attachment 9331359 [details] to obsolete.

Attachment #9331359 - Attachment is obsolete: true
Assignee: egubler → nobody
Status: ASSIGNED → NEW
Type: defect → task
Depends on: 1773723
Depends on: 1837990
Priority: -- → P3

Bevy examples using WebGPU are deployed here: https://bevyengine.org/examples-webgpu/

Blocks: webgpu-apps
No longer blocks: webgpu-v1
Alias: webgpu-v1-bevy → webgpu-bevy

For future reference: :Nical has historically coordinated with the Bevy community in the #rendering-dev channel on the official Bevy Discord server.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: