Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2ec41ed5b1a69723553cf465bda8164613359a24
      
https://github.com/WebKit/WebKit/commit/2ec41ed5b1a69723553cf465bda8164613359a24
  Author: Nitin Mahendru <nitinmahen...@apple.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

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

  Log Message:
  -----------
  [WebGPUSwift] Fix a guard check. Also cleanup some guard conditions.
https://bugs.webkit.org/show_bug.cgi?id=285492
rdar://142455059

Reviewed by Mike Wyrzykowski.

The guard condition for an early exit is reverse than what it should be.
Fix that.
Also cleanup some if/guard with just an if let.

* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.beginRenderPass(_:)):
(WebGPU.copyBufferToBuffer(_:sourceOffset:destination:destinationOffset:size:)):
(WebGPU.copyTextureToTexture(_:destination:copySize:)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to