Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e7cc9ef56943415773f731b5dd81679bc25732e
      
https://github.com/WebKit/WebKit/commit/5e7cc9ef56943415773f731b5dd81679bc25732e
  Author: Mike Wyrzykowski <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to