mirror of
https://github.com/bevyengine/bevy
synced 2024-11-29 16:10:19 +00:00
48b3118fdd
# Objective Fix the examples many_buttons and many_glyphs not working on the WebGPU examples page. Currently they both fail with the follow error: ``` panicked at 'Only FIFO/Auto* is supported on web', ..../wgpu-0.16.0/src/backend/web.rs:1162:13 ``` ## Solution Change `present_mode` from `PresentMode::Immediate` to `PresentMode::AutoNoVsync`. AutoNoVsync seems to be common mode used by other examples of this kind. |
||
---|---|---|
.. | ||
bevymark.rs | ||
many_animated_sprites.rs | ||
many_buttons.rs | ||
many_cubes.rs | ||
many_foxes.rs | ||
many_gizmos.rs | ||
many_glyphs.rs | ||
many_lights.rs | ||
many_sprites.rs | ||
README.md | ||
text_pipeline.rs | ||
transform_hierarchy.rs | ||
warning_string.txt |
Stress tests
These examples are used to stress test Bevy's performance in various ways. These should be run with the "stress-test" profile to accurately represent performance in production, otherwise they will run in cargo's default "dev" profile which is very slow.
Example Command
cargo run --profile stress-test --example <EXAMPLE>