[webkit-changes] [WebKit/WebKit] 5e7cc9: [WebGPU] default limit for maxBufferSize is incorrect

mwyrzykowski noreply at github.com
Thu Feb 8 18:26:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e7cc9ef56943415773f731b5dd81679bc25732e
      https://github.com/WebKit/WebKit/commit/5e7cc9ef56943415773f731b5dd81679bc25732e
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp
    M Source/WebGPU/WebGPU/HardwareCapabilities.mm
    M Source/WebGPU/WebGPU/WebGPUExt.h

  Log Message:
  -----------
  [WebGPU] default limit for maxBufferSize is incorrect
https://bugs.webkit.org/show_bug.cgi?id=269005
<radar://122561559>

Reviewed by Tadeu Zagallo.

The limit was raised to 256MB, but we were still reporting 128MB.

* Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp:
(WebCore::WebGPU::AdapterImpl::requestDevice):
Use the same default limits as WebGPU.framework.

* Source/WebGPU/WebGPU/HardwareCapabilities.mm:
(WebGPU::defaultLimits):
(wgpuDefaultLimits):
* Source/WebGPU/WebGPU/WebGPUExt.h:

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




More information about the webkit-changes mailing list