Skip to content

Clean up specialized_mesh_pipeline #20107

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

IceSentry
Copy link
Contributor

Objective

  • The example doesn't work on webgl2
  • It tries to reimplement logic for batching instead of using existing abstractions which breaks on webgl2
  • It only uses batching

Solution

  • Use existing abstractions and remove code related to batching
    • This fixes the webgl2 issue
    • It also makes it use multi draw indirect instead of just batching

Testing

  • Tested the example with the bevy cli for webgl and wegpu and also ran the example locally

@IceSentry IceSentry added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples D-Straightforward Simple bug fixes and API improvements, docs, test and examples O-Web Specific to web (WASM) builds S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants