Commit eefe6f3
authored
Check GPUAdapterInfo.isFallbackAdapter on explicit
According to specification a fallback adapter may still be returned
if forceFallbackAdapter is set to false and either no other appropriate
adapter is available or the user agent chooses to return a fallback adapter.
https://gpuweb.github.io/gpuweb/#dom-gpurequestadapteroptions-forcefallbackadapter
Therefore, checking whether an adapter is a fallback adapter should only
be performed if forceFallbackAdapter is true.
Issue: #4480
Signed-off-by: Andrei Volykhin <[email protected]>fallback request (#4483)1 parent d03e3d9 commit eefe6f3
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
0 commit comments