-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
extract_meshes_for_gpu_building
and extract_mesh_materials
to
run in parallel. The only thing that was preventing `extract_meshes_for_gpu_building` and `extract_mesh_materials` from running in parallel was the `ResMut<RenderMeshMaterialIds>`. This lookup can be safely moved to the `collect_meshes_for_gpu_building` phase, which runs after the extraction phase. This results in a small win on `many_cubes`.
- Loading branch information
Showing
2 changed files
with
18 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters