Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84d8d7e6cf6780b29d994ee64ba37f8e76532f18
      
https://github.com/WebKit/WebKit/commit/84d8d7e6cf6780b29d994ee64ba37f8e76532f18
  Author: Richard Robinson <[email protected]>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M Source/WebGPU/WebGPU/Buffer.swift
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.swift
    M Source/WebGPU/WebGPU/Device.h
    M Source/WebGPU/WebGPU/Queue.swift
    M Source/WebGPU/WebGPU/StdLibExtras.swift

  Log Message:
  -----------
  [Swift in WebKit] Address swift-format linting errors in WebGPU
https://bugs.webkit.org/show_bug.cgi?id=308419
rdar://170907558

Reviewed by Mike Wyrzykowski.

This fixes the 57 remaining linter errors found in WebGPU, including 47 
instances of `NeverForceUnwrap`,
and also makes some minor formatting clean-ups.

* Source/WebGPU/WebGPU/Buffer.swift:
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.finish(_:)):
(WebGPU.clearTextureIfNeeded(_:slice:)):
(WebGPU.sourceSize):
(WebGPU.refersToAllAspects(_:aspect:)):
(WebGPU.loadAction(_:)):
(WebGPU.storeAction(_:hasResolveTarget:)):
(WebGPU.beginRenderPass(_:)):
(WebGPU.hasValidDimensions(_:width:height:depth:)):
(WebGPU.copyTextureToBuffer(_:destination:copySize:)):
(WebGPU.copyBufferToTexture(_:destination:copySize:)):
(WebGPU.clearBuffer(_:offset:size:)):
(WebGPU.copyTextureToTexture(_:destination:copySize:)):
(WebGPU.beginComputePass(_:)):
(WebGPU.sourceBytesPerRow): Deleted.
(WebGPU.didOverflow): Deleted.
(WebGPU.checkedBytesPerImage): Deleted.
* Source/WebGPU/WebGPU/Device.h:
* Source/WebGPU/WebGPU/Queue.swift:
* Source/WebGPU/WebGPU/StdLibExtras.swift:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to