[webkit-changes] [WebKit/WebKit] 314328: [WebGPU] Queue::errorValidatingSubmit may return s...

mwyrzykowski noreply at github.com
Mon Feb 12 09:14:31 PST 2024


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

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

  Log Message:
  -----------
  [WebGPU] Queue::errorValidatingSubmit may return success when it should have failed
https://bugs.webkit.org/show_bug.cgi?id=269013
<rdar://problem/122575578>

Reviewed by Tadeu Zagallo.

In the failure case, we can't return lastError() since it might be empty.

Return it only if it is non-empty, otherwise fallback to a generic error.

* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::errorValidatingSubmit const):

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




More information about the webkit-changes mailing list