[webkit-changes] [WebKit/WebKit] 02eb7b: [WebGPUSwift] errorFunctions rewrite in swift
nmahendru
noreply at github.com
Fri Feb 7 09:26:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 02eb7bca92bbdf5f39199220c962f2cb8c81074e
https://github.com/WebKit/WebKit/commit/02eb7bca92bbdf5f39199220c962f2cb8c81074e
Author: Nitin Mahendru <nitinmahendru at apple.com>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/CommandEncoder.swift
M Source/WebGPU/WebGPU/Internal/WebGPUSwiftInternal.h
Log Message:
-----------
[WebGPUSwift] errorFunctions rewrite in swift
rdar://142331124
https://bugs.webkit.org/show_bug.cgi?id=285364
Reviewed by Mike Wyrzykowski.
It's a 1-to-1 replacement.
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::copyBufferToTexture):
(WebGPU::CommandEncoder::copyTextureToBuffer):
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.errorValidatingCopyBufferToBuffer(_:sourceOffset:destination:destinationOffset:size:)):
(WebGPU.areCopyCompatible(_:format2:)):
(WebGPU.errorValidatingCopyTextureToTexture(_:destination:copySize:)):
(WebGPU.errorValidatingCopyTextureToBuffer(_:destination:copySize:)):
(WebGPU.errorValidatingImageCopyBuffer(_:)):
(WebGPU.errorValidatingCopyBufferToTexture(_:destination:copySize:)):
(WebGPU.errorValidatingRenderPassDescriptor(_:)):
(WebGPU.errorValidatingTimestampWrites(_:)):
(WebGPU.errorValidatingComputePassDescriptor(_:)):
(WebGPU.beginRenderPass(_:)):
(WebGPU.copyBufferToBuffer(_:sourceOffset:destination:destinationOffset:size:)):
(WebGPU.copyTextureToBuffer(_:destination:copySize:)):
(WebGPU.copyBufferToTexture(_:destination:copySize:)):
(WebGPU.copyTextureToTexture(_:destination:copySize:)):
(WebGPU.errorValidatingTimestampWrites(_:commandEncoder:)): Deleted.
* Source/WebGPU/WebGPU/Internal/WebGPUSwiftInternal.h:
(isValidToUseWithBufferCommandEncoder):
(isValidToUseWithTextureCommandEncoder):
(areBuffersEqual):
Canonical link: https://commits.webkit.org/290014@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