Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4425cc9b8d966cab3215732b6ae7449d51c713eb
      
https://github.com/WebKit/WebKit/commit/4425cc9b8d966cab3215732b6ae7449d51c713eb
  Author: Mike Wyrzykowski <mwyrzykow...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to