Removes the maxFragmentCombinedOutputResources limit from WebGPU, which has been deemed to be unnecessary. This limit applies additional restrictions on use of the WebGPU API, but is being removed from the standard. This removal is a minor breaking change.
Minimal but not zero. There are two changes here: - Remove GPUSupportedFeatures.maxFragmentCombinedOutputResources. - Remove "maxFragmentCombinedOutputResources" as an allowed key in GPUDeviceDescriptor.requiredLimits. Due to the way the API is used, it's very unlikely that anyone is using GPUSupportedFeatures.maxFragmentCombinedOutputResources. It's also unlikely, but possible, that anyone is explicitly passing "maxFragmentCombinedOutputResources" in GPUDeviceDescriptor.requiredLimits. - adapter.requestDevice({ requiredLimits: adapter.limits }). Expected to be common. - adapter.requestDevice({ requiredLimits: { maxFragmentCombinedOutputResources: 12 }}). Expected to be rare. - Code using adapter.limits.maxFragmentCombinedOutputResources. Expected to be extremely rare. Hence the proposal is to *just remove* the GPUSupportedFeatures member but *deprecate then remove* the requiredLimits key. Finally, note WebGPU hasn't reached Chrome Stable yet (it's in M113). The faster we remove this the better, because fewer sites will come to rely on it. We could merge a deprecation back to M113, but didn't think it was probably worthwhile.
None
None
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Warnings/error messages upon use of the removed limit
Will affect only Windows and Mac because WebGPU has not shipped yet on other platforms.
Shipping on desktop | 114 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
None(sending from correct email address this time)
Due to the nature of this removal I've elected to send this as an Intent to Ship because we are seeking LGTMs. Please let me know if this is inappropriate.
Contact emails
kai...@chromium.orgExplainer
https://github.com/gpuweb/gpuweb/issues/4018Specification
https://gpuweb.github.io/gpuweb/#limitsSummary
Removes the maxFragmentCombinedOutputResources limit from WebGPU, which has been deemed to be unnecessary. This limit applies additional restrictions on use of the WebGPU API, but is being removed from the standard. This removal is a minor breaking change.
Blink component
Blink>WebGPUTAG review
NoneTAG review status
Not applicableRisks
Interoperability and Compatibility
Minimal but not zero. There are two changes here: - Remove GPUSupportedFeatures.maxFragmentCombinedOutputResources. - Remove "maxFragmentCombinedOutputResources" as an allowed key in GPUDeviceDescriptor.requiredLimits. Due to the way the API is used, it's very unlikely that anyone is using GPUSupportedFeatures.maxFragmentCombinedOutputResources. It's also unlikely, but possible, that anyone is explicitly passing "maxFragmentCombinedOutputResources" in GPUDeviceDescriptor.requiredLimits. - adapter.requestDevice({ requiredLimits: adapter.limits }). Expected to be common. - adapter.requestDevice({ requiredLimits: { maxFragmentCombinedOutputResources: 12 }}). Expected to be rare. - Code using adapter.limits.maxFragmentCombinedOutputResources. Expected to be extremely rare. Hence the proposal is to *just remove* the GPUSupportedFeatures member but *deprecate then remove* the requiredLimits key. Finally, note WebGPU hasn't reached Chrome Stable yet (it's in M113). The faster we remove this the better, because fewer sites will come to rely on it. We could merge a deprecation back to M113, but didn't think it was probably worthwhile.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANxMeyBMuz0SiW8rUzZBC2n34Gfw0ggrLNwQxfzbfMuhOxArGA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfU%2BF6J-vKZiz%3D3zyTc6L3DDRcg0fRGqtT7pM-bbtAUwSQ%40mail.gmail.com.