Skip to content

add hello in worker example#24

Open
JolifantoBambla wants to merge 1 commit intogfx-rs:masterfrom
JolifantoBambla:add-example-in-worker
Open

add hello in worker example#24
JolifantoBambla wants to merge 1 commit intogfx-rs:masterfrom
JolifantoBambla:add-example-in-worker

Conversation

@JolifantoBambla
Copy link

This adds a new example hello-worker that runs the example hello in a web worker.
It depends on this PR in wgpu that fixes instance creation in a worker context.
Unfortunately, Firefox doesn't allow loading modules in web workers so it won't work there but it works on Chromium.
I tested this on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant