[webkit-changes] [WebKit/WebKit] 8f845a: [WebGPU] GPUAdapter::requestDevice rejects with a ...

mwyrzykowski noreply at github.com
Fri Feb 16 12:08:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f845a8c3b622a8678d973ba94443abab944cae1
      https://github.com/WebKit/WebKit/commit/8f845a8c3b622a8678d973ba94443abab944cae1
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUAdapter.cpp

  Log Message:
  -----------
  [WebGPU] GPUAdapter::requestDevice rejects with a TypeError in cases which it should return an invalid device
https://bugs.webkit.org/show_bug.cgi?id=269444
<radar://122996101>

Reviewed by Tadeu Zagallo.

Features should be validated against the Adapter's features,
not the returned device's features.

* Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
(WebCore::convertFeatureNameToEnum):
(WebCore::isSubset):
(WebCore::GPUAdapter::requestDevice):

Canonical link: https://commits.webkit.org/274862@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list