[webkit-changes] [WebKit/WebKit] 94e8da: [WebGPU] endEncoding should be called when command...

mwyrzykowski noreply at github.com
Mon Feb 12 16:37:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94e8daf967663d5ebd3d4e3900209133347670ce
      https://github.com/WebKit/WebKit/commit/94e8daf967663d5ebd3d4e3900209133347670ce
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/CommandEncoder.mm

  Log Message:
  -----------
  [WebGPU] endEncoding should be called when command encoder becomes invalid
https://bugs.webkit.org/show_bug.cgi?id=269121
<radar://122334686>

Reviewed by Dan Glastonbury.

Encoder creation failed due to: "A command encoder is already encoding to this command buffer"
which means the previous encoder did not call endEncoding.

* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::endEncoding):
Update CommandEncoder::endEncoding to ensure -[MTLCommandEncoder endEncoding] is always called.

Canonical link: https://commits.webkit.org/274504@main




More information about the webkit-changes mailing list