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

[ts] WebGPU support and Spine-Pixi runtime #2508

Open
notorangefruit opened this issue Apr 25, 2024 · 2 comments
Open

[ts] WebGPU support and Spine-Pixi runtime #2508

notorangefruit opened this issue Apr 25, 2024 · 2 comments

Comments

@notorangefruit
Copy link

Are there plans to implement WebGPU support with the TS runtime? Look at the awesome performance difference using this PixiJS v8 example without WebGPU vs with WebGPU (you may need to disable webgpu in your browser to see the difference.)

https://goodboydigital.github.io/pixi-bunnymark/dist/?version=v8&count=100000&renderer=webgpu
https://goodboydigital.github.io/pixi-bunnymark/dist/?version=v8&count=100000&renderer=webgl

I'm assuming the TS runtime needs to have WebGPU support before the Spine-Pixi runtime can be updated to v8?

#2305
#2299

@notorangefruit notorangefruit changed the title [ts] WebGPU support [ts] WebGPU support and Spine-Pixi runtime Apr 25, 2024
@badlogic
Copy link
Collaborator

Jupp, the TS runtime would need WebGPU support, which is currently not on our mid term roadmap. The bigger issue at the moment is that Pixi v7 vs v8 has been another big change, so we first need to get that going, while supporting both.

FWIW I get 81 FPS on WebGL and 85 FPS on WebGPU in Chrome on macOS (M1 Max). Bunny mark results are also likely not directly transferable to a more complex setup like spine-pixi, where meshes are generated and resubmitted to the GPU each frame. Bunny mark simply has a metric ton of static meshes.

@dragonbaba
Copy link

However, webgpu provides compute shaders for concurrent gpu computing. The v8 version of pixi does not introduce compute shaders, but provides support for webgpu. Emmm, that's all I can mention.

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

No branches or pull requests

3 participants