-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
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
BatchedMesh Example much slower on WebGPU than WebGL on Android #29580
Comments
The multiDrawAPI isn't currently supported in WebGPU, which is why a single multi-draw call with 20,000 batched elements performs significantly better in WebGL, especially on smartphones. However, there’s good news! A new MultiDrawIndirect API is on the horizon for WebGPU, which is expected to surpass the performance of the WebGL version: This API is already available in Chrome Canary behind the In the meantime, as discussed in this PR, we can implement a workaround using multiple For now, I’ll wait for @Spiri0's work on implementing drawIndirect that looks very promising, which will provide a solid base for that work: |
Description
On Android ( Samsung Galaxy S20 FE ) BatchedMesh Example WebGPU is much slower :
WebGPU :
~13FPS
WebGL :
~25FPS
Reproduction steps
Code
Live example
``
Screenshots
No response
Version
r169
Device
Mobile
Browser
Chrome
OS
Android
The text was updated successfully, but these errors were encountered: