[webkit-changes] [WebKit/WebKit] 0d406c: [WebGPU] Convert all adds and muls to checked arit...
mwyrzykowski
noreply at github.com
Tue Oct 22 11:39:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d406cd8b1d87ff75e7d44e07e0334c9ac60017c
https://github.com/WebKit/WebKit/commit/0d406cd8b1d87ff75e7d44e07e0334c9ac60017c
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M Source/WebGPU/WebGPU/BindGroupLayout.mm
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/Pipeline.mm
M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
Log Message:
-----------
[WebGPU] Convert all adds and muls to checked arithmetic part 2
https://bugs.webkit.org/show_bug.cgi?id=281753
rdar://138185322
Reviewed by Dan Glastonbury.
Convert remaining arithmetic in WebGPU.framework to checked arithmetic.
* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::BindGroupLayout::errorValidatingDynamicOffsets const):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::copyBufferToTexture):
(WebGPU::CommandEncoder::copyTextureToBuffer):
* Source/WebGPU/WebGPU/Pipeline.mm:
(WebGPU::errorValidatingBindGroup):
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::errorValidatingDraw const):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::errorValidatingAndBindingBuffers):
Canonical link: https://commits.webkit.org/285563@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