Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 862497bc118b951c5a0ad67dab4fc78809aa1006 https://github.com/WebKit/WebKit/commit/862497bc118b951c5a0ad67dab4fc78809aa1006 Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2024-05-24 (Fri, 24 May 2024)
Changed paths: M LayoutTests/TestExpectations A LayoutTests/fast/webgpu/regression/repro_274664-expected.txt A LayoutTests/fast/webgpu/regression/repro_274664.html A LayoutTests/fast/webgpu/regression/repro_274664b-expected.txt A LayoutTests/fast/webgpu/regression/repro_274664b.html A LayoutTests/fast/webgpu/regression/repro_274664c-expected.txt A LayoutTests/fast/webgpu/regression/repro_274664c.html M Source/WebGPU/WebGPU/Adapter.mm M Source/WebGPU/WebGPU/Device.mm Log Message: ----------- [WebGPU] Device::hasFeature() and Adapter::hasFeature() only check that list is not empty https://bugs.webkit.org/show_bug.cgi?id=274664 <radar://128671215> Reviewed by Tadeu Zagallo. std::find here was incorrect, we can use contains() instead however. * LayoutTests/TestExpectations: * LayoutTests/fast/webgpu/regression/repro_274664-expected.txt: Added. * LayoutTests/fast/webgpu/regression/repro_274664.html: Added. * LayoutTests/fast/webgpu/regression/repro_274664b-expected.txt: Added. * LayoutTests/fast/webgpu/regression/repro_274664b.html: Added. * LayoutTests/fast/webgpu/regression/repro_274664c-expected.txt: Added. * LayoutTests/fast/webgpu/regression/repro_274664c.html: Added. Add regression test. * Source/WebGPU/WebGPU/Adapter.mm: (WebGPU::Adapter::hasFeature): * Source/WebGPU/WebGPU/Device.mm: (WebGPU::Device::hasFeature const): Canonical link: https://commits.webkit.org/279293@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes