Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 763e221cee89706e61ba12fa8e4afec85f949dec
      
https://github.com/WebKit/WebKit/commit/763e221cee89706e61ba12fa8e4afec85f949dec
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

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

  Log Message:
  -----------
  [WebGPU+Swift] WebGPU.CommandEncoder.timestampWriteIndex does not handle 
partitioning correctly
https://bugs.webkit.org/show_bug.cgi?id=297664
rdar://158779116

Reviewed by Tadeu Zagallo.

Counter sample buffers get allocated at their max size (32KB) and then split 
into sub-sections to avoid per-process Metal framework limits.

This logic is missing from the Swift version

* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.timestampWriteIndex(_:defaultValue:offset:)):
(WebGPU.beginRenderPass(_:)):
(WebGPU.beginComputePass(_:)):

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



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

Reply via email to