bevy/crates
Robert Swain ef823d369f bevy_render: Do not automatically enable MAPPABLE_PRIMARY_BUFFERS (#3698)
# Objective

- When using `WgpuOptionsPriority::Functionality`, which is the default, wgpu::Features::MAPPABLE_PRIMARY_BUFFERS would be automatically enabled. This feature can and does have a significant negative impact on performance for discrete GPUs where resizable bar is not supported, which is a common case. As such, this feature should not be automatically enabled.
- Fixes the performance regression part of https://github.com/bevyengine/bevy/issues/3686 and at least some, if not all cases of https://github.com/bevyengine/bevy/issues/3687

## Solution

- When using `WgpuOptionsPriority::Functionality`, use the adapter-supported features, enable `TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES` and disable `MAPPABLE_PRIMARY_BUFFERS`
2022-01-17 22:03:14 +00:00
..
bevy_app Document sub apps (#3403) 2022-01-14 23:14:42 +00:00
bevy_asset Enable the doc_markdown clippy lint (#3457) 2022-01-09 23:20:13 +00:00
bevy_audio Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_core Change bevy_core::Name to implement Deref<Target = str> (#3681) 2022-01-17 21:30:17 +00:00
bevy_core_pipeline Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
bevy_crevice Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_derive Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_diagnostic Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dylib Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dynamic_plugin Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_ecs Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_ecs_compile_fail_tests Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gilrs Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gltf Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_input Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_internal Enable the doc_markdown clippy lint (#3457) 2022-01-09 23:20:13 +00:00
bevy_log Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_macro_utils Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_math Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_pbr Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
bevy_reflect document more of bevy_reflect (#3655) 2022-01-14 19:09:44 +00:00
bevy_render bevy_render: Do not automatically enable MAPPABLE_PRIMARY_BUFFERS (#3698) 2022-01-17 22:03:14 +00:00
bevy_scene Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_sprite Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
bevy_tasks Document bevy_tasks and enable #![warn(missing_docs)] (#3509) 2022-01-16 04:53:22 +00:00
bevy_text Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
bevy_transform Added docs for bevy_transform (#3516) 2022-01-14 18:47:48 +00:00
bevy_ui Ignore clippy 1.58 (#3667) 2022-01-14 18:21:22 +00:00
bevy_utils Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_window Enable the doc_markdown clippy lint (#3457) 2022-01-09 23:20:13 +00:00
bevy_winit do not set cursor grab on window creation if not asked for (#3617) 2022-01-15 20:29:58 +00:00