Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to WebGPU? #11

Open
ziriax opened this issue May 1, 2021 · 1 comment
Open

Port to WebGPU? #11

ziriax opened this issue May 1, 2021 · 1 comment

Comments

@ziriax
Copy link

ziriax commented May 1, 2021

Very nice experiment!

It would be awesome if this project could use https://github.com/gfx-rs/wgpu, then it would be cross-platform 😉

@raphlinus
Copy link
Contributor

The development of this continues in piet-gpu, and the vision document there explains in much more detail the plans for cross-platform.

I think a wgpu port is possible, and am exploring it, but there are rough edges and missing pieces. For my current research purposes, it is inadequate because it's hard to tell whether performance problems are due to WebGPU/wgpu limitations or inherent to the hardware. But when that research is in a better state, it should be possible to use the Vulkan version as a baseline to compare against a wgpu port.

If someone is interested in taking up a wgpu port, a very good place to start is the prefix sum implementation. A variant of that is used in current piet-gpu.

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

No branches or pull requests

2 participants