[webkit-changes] [WebKit/WebKit] 7e4ba4: [WebGPU] Further adopt std::span in WebGPU RenderB...
mwyrzykowski
noreply at github.com
Wed Oct 16 14:18:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7e4ba4041dd153c870572e51b7568ad1e08d9223
https://github.com/WebKit/WebKit/commit/7e4ba4041dd153c870572e51b7568ad1e08d9223
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
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
More information about the webkit-changes
mailing list