Pipelined Rendering: bevy does not request surface compatibility from wgpu #3051
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
C-Dependencies
A change to the crates that Bevy depends on
Bevy version
pipelined-rendering HEAD
Operating system & version
Ubuntu 20.04
What you did
cargo run --example 3d_scene_pipelined
What you expected to happen
3d_scene_pipelined
demo to be rendered on the Intel GPUWhat actually happened
Additional information
The reason that wgpu selects the intel GPU even though it cannot present to it is because Bevy does not request surface compatibility when initializing the wgpu adapter.
This happens in my case because wgpu is overly-aggressive in disabling presentation on Intel GPUs on systems with prime/optimus. However, I believe that this lack of an explicit compatibility check could potentially cause wgpu to select an incorrect Vulkan device in other situations where there are GPUs which cannot present.
The text was updated successfully, but these errors were encountered: