[webkit-changes] [WebKit/WebKit] cbc83e: [WebGPU] Several limits in HardwareCapabilities.mm...

mwyrzykowski noreply at github.com
Fri Dec 8 18:02:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cbc83e590816bce3fbd0bd853d64a27b01f83427
      https://github.com/WebKit/WebKit/commit/cbc83e590816bce3fbd0bd853d64a27b01f83427
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/HardwareCapabilities.mm

  Log Message:
  -----------
  [WebGPU] Several limits in HardwareCapabilities.mm are not realistic
https://bugs.webkit.org/show_bug.cgi?id=265853
<radar://119171264>

Reviewed by Dan Glastonbury.

Reporting such large of a limit will not work in practice as
we won't be able to allocate sufficient memory if a website
attempts to approach the reported limit, so reduce the limit
to something large yet reasonable.

* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::largeReasonableLimit):
(WebGPU::apple3):
(WebGPU::apple4):
(WebGPU::apple5):
(WebGPU::apple6):
(WebGPU::apple7):
(WebGPU::mac2):
(WebGPU::maxUInt32Limit): Deleted.

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




More information about the webkit-changes mailing list