wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

webgl fallback fails in some browsers.

Open rukai opened this issue 1 year ago • 0 comments

Description My understanding is that when the webgpu and webgl cargo features are enabled and Backends::all() is set, the adapter should attempt to be created with webgpu and then failing that fallback to webgl. However that doesnt seem to be happening in chrome on my machine (linux) and chrome on a users machine (windows 10) It does however seem to work fine on firefox on my machine.

This issue is not present in the wgpu examples, but I cant figure out what is different between the example and my (isolated) code

Repro steps

git clone -b fail_to_create_adapter_on_chrome https://github.com/rukai/wgpu_bug_report
cd wgpu_bug_report
cargo run-wasm --package wgpu_foo

Expected vs observed behavior I expect the project to work on chrome on my machine, it does not.

Extra materials Fails on chrome: image Succeeds on firefox: image

rukai avatar Aug 26 '24 22:08 rukai