[webkit-changes] [WebKit/WebKit] 664cd6: [WebGPU] Opening https://playground.babylonjs.com/...
mwyrzykowski
noreply at github.com
Tue Jan 17 20:21:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 664cd63a8a679a287e77de63b10a3ab7b4dbdddd
https://github.com/WebKit/WebKit/commit/664cd63a8a679a287e77de63b10a3ab7b4dbdddd
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-01-17 (Tue, 17 Jan 2023)
Changed paths:
M Source/WebGPU/WebGPU/Adapter.h
M Source/WebGPU/WebGPU/HardwareCapabilities.mm
Log Message:
-----------
[WebGPU] Opening https://playground.babylonjs.com/ asserts in debug
https://bugs.webkit.org/show_bug.cgi?id=250057
<radar://103857030>
Reviewed by Myles C. Maxfield.
This function performs a loop over all elements in t and
then a find(r.begin, r.end, item) where item is from t.
The features in descriptor.requiredFeatures are not sorted
and it does not appear they need to be for this function to
work correctly, so we can simply remove the assertions.
* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::includesUnsupportedFeatures):
* Source/WebGPU/WebGPU/Adapter.h:
Make m_capabilities const as it can not be modified after the adapter
is created.
Canonical link: https://commits.webkit.org/259015@main
More information about the webkit-changes
mailing list