Skip to content

Allow extract_mesh_materials to run in parallel with extract_meshes_for_gpu_building.#23211

Open
pcwalton wants to merge 1 commit intobevyengine:mainfrom
pcwalton:parallel-extract-mesh-materials
Open

Allow extract_mesh_materials to run in parallel with extract_meshes_for_gpu_building.#23211
pcwalton wants to merge 1 commit intobevyengine:mainfrom
pcwalton:parallel-extract-mesh-materials

Conversation

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Mar 4, 2026

The ordering dates back to 56784de, before erased materials and whatnot. At this point, the systems seem to have no components or resources in common at all, so let's see if we can allow them to run in parallel.

With all my other PRs landed, this will save about 4.12 ms per frame in many_cubes with millions of cubes, so this is a significant savings.

`extract_meshes_for_gpu_building`.

The ordering dates back to 56784de,
before erased materials and whatnot. At this point, the systems seem to
have no components or resources in common at all, so let's see if we can
allow them to run in parallel.

With all my other PRs landed, this will save about 4.12 ms per frame in
`many_cubes` with millions of cubes, so this is a significant savings.
@pcwalton pcwalton added D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Needs-Review Needs reviewer attention (from anyone!) to move forward A-Rendering Drawing game state to the screen labels Mar 4, 2026
@pcwalton pcwalton added the C-Performance A change motivated by improving speed, memory usage or compile times label Mar 4, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering Mar 4, 2026
@Zeophlite Zeophlite added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Mar 4, 2026
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-Performance A change motivated by improving speed, memory usage or compile times D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

5 participants