[webkit-changes] [WebKit/WebKit] 861acb: [WebGPUSwift] copyBufferToBuffer swift implementation

nmahendru noreply at github.com
Mon Dec 16 11:15:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 861acb0a8a4105edfd1846f7cad84a332b9c5d9f
      https://github.com/WebKit/WebKit/commit/861acb0a8a4105edfd1846f7cad84a332b9c5d9f
  Author: Nitin Mahendru <nitinmahendru at apple.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/CommandEncoder.swift

  Log Message:
  -----------
  [WebGPUSwift] copyBufferToBuffer swift implementation
https://bugs.webkit.org/show_bug.cgi?id=283919
rdar://140798876

Reviewed by Mike Wyrzykowski and Tadeu Zagallo.

1-to-1 replacement of Objective C implementation.

Tested at desk with:
./LayoutTests/http/tests/webgpu/webgpu/api/operation/command_buffer/copyBufferToBuffer.html
./LayoutTests/http/tests/webgpu/webgpu/api/validation/encoding/cmds/copyBufferToBuffer.html

* Source/WebGPU/WebGPU/CommandEncoder.h:
(WebGPU::CommandEncoder::device const):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::copyBufferToBuffer):
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(CommandEncoder_copyBufferToBuffer_thunk(_:source:sourceOffset:destination:destinationOffset:size:)):
(WebGPU.copyBufferToBuffer(_:sourceOffset:destination:destinationOffset:size:)):
(WebGPU.copyTextureToBuffer(_:destination:copySize:)):
(WebGPU.clearBuffer(_:offset:size:)):

Canonical link: https://commits.webkit.org/287898@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