[webkit-changes] [WebKit/WebKit] 4425cc: [WebGPU] GPUComputePassEncoder.dispatch empty call...
mwyrzykowski
noreply at github.com
Tue Dec 5 18:58:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4425cc9b8d966cab3215732b6ae7449d51c713eb
https://github.com/WebKit/WebKit/commit/4425cc9b8d966cab3215732b6ae7449d51c713eb
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M Source/WebGPU/WebGPU/ComputePassEncoder.mm
Log Message:
-----------
[WebGPU] GPUComputePassEncoder.dispatch empty call is legal in WebGPU, but generates a validation error in Metal
https://bugs.webkit.org/show_bug.cgi?id=265907
<radar://119217365>
Reviewed by Dan Glastonbury.
Add validation for dispatch and dispatchIndirect which would otherwise
crash the GPU process running the validation CTS test suite.
* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(WebGPU::ComputePassEncoder::dispatch):
(WebGPU::ComputePassEncoder::dispatchIndirect):
Canonical link: https://commits.webkit.org/271588@main
More information about the webkit-changes
mailing list