[webkit-changes] [WebKit/WebKit] 684d26: [WebGPU] waitUntilCompleted call will fail when Qu...

mwyrzykowski noreply at github.com
Mon May 20 00:39:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 684d2627908f820f0b7b47fcd00be6eb20baf191
      https://github.com/WebKit/WebKit/commit/684d2627908f820f0b7b47fcd00be6eb20baf191
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-05-20 (Mon, 20 May 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/webgpu/fuzz-274161-expected.txt
    A LayoutTests/fast/webgpu/fuzz-274161.html
    M Source/WebGPU/WebGPU/Queue.mm

  Log Message:
  -----------
  [WebGPU] waitUntilCompleted call will fail when Queue is invalid
https://bugs.webkit.org/show_bug.cgi?id=274161
<radar://128065164>

Reviewed by Dan Glastonbury.

An invalid queue will return a nil command buffer, so
check if the queue is valid prior to entering this logic.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/fuzz-274161.html: Added.
* LayoutTests/fast/webgpu/fuzz-274161.txt: Added.
Add test.

* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::commandBufferWithDescriptor):
Return nil if Queue is invalid.

Canonical link: https://commits.webkit.org/278984@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