PowerPreference::Default
description no longer applies
#943
Labels
area: api
Issues related to API surface
help required
We need community help to make this happen.
type: bug
Something isn't working
Description
The doc comment for
PowerPreference::Default
is as follows:This statement is no longer true since #864 was merged.
Expected vs observed behavior
If a user's device has both a discrete and an integrated GPU and is plugged in, any application they run with
PowerPreference::Default
will use the integrated GPU, which is behavior contrary to the docs.It is expected that either
PowerPreference::Default
documents its equivalent behavior toPowerPreference::LowPower
PowerPreference::Default
doesn't exist to prevent confusionalthough I don't know if the second option is feasible or reasonable according to the WebGPU spec.
The text was updated successfully, but these errors were encountered: