[webkit-changes] [WebKit/WebKit] 62754f: [WebGPU] GPUComputePassEncoder.dispatch renamed to...

mwyrzykowski noreply at github.com
Thu Jan 19 12:33:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62754f80a4b7c312e27281f8f52eaa8bb16fdacb
      https://github.com/WebKit/WebKit/commit/62754f80a4b7c312e27281f8f52eaa8bb16fdacb
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.cpp
    M Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.h
    M Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.idl

  Log Message:
  -----------
  [WebGPU] GPUComputePassEncoder.dispatch renamed to .dispatchWorkgroups
https://bugs.webkit.org/show_bug.cgi?id=250737
<radar://104350711>

Reviewed by Myles C. Maxfield.

Function was renamed in the specification.

Issued was discovered and tested via gpuweb.github.io/cts/standalone

* Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.cpp:
(WebCore::GPUComputePassEncoder::dispatchWorkgroups):
(WebCore::GPUComputePassEncoder::dispatchWorkgroupsIndirect):
Optional values with a default are not supported due to
https://bugs.webkit.org/show_bug.cgi?id=240219 so workaround
for now.

(WebCore::GPUComputePassEncoder::dispatch): Deleted.
(WebCore::GPUComputePassEncoder::dispatchIndirect): Deleted.
Rename member function.

* Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.h:
* Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.idl:

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




More information about the webkit-changes mailing list