Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7e4ba4041dd153c870572e51b7568ad1e08d9223
      
https://github.com/WebKit/WebKit/commit/7e4ba4041dd153c870572e51b7568ad1e08d9223
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm

  Log Message:
  -----------
  [WebGPU] Further adopt std::span in WebGPU RenderBundleEncoder
https://bugs.webkit.org/show_bug.cgi?id=281303
rdar://137745243

Reviewed by Tadeu Zagallo.

Only call -[MTLBuffer contents] in a single location and create
a wrapper to make a typed span from a buffer and byte offset.

* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::makeSpanFromBuffer):
(WebGPU::RenderBundleEncoder::executePreDrawCommands):
(WebGPU::RenderBundleEncoder::drawIndexedIndirect):
(WebGPU::RenderBundleEncoder::drawIndirect):
(WebGPU::RenderBundleEncoder::endCurrentICB):

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