[webkit-changes] [WebKit/WebKit] 85712d: PresentationContextIOSurface::present should do no...

Alex Christensen noreply at github.com
Fri Mar 1 16:46:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 85712d7f2f1965e3772b2173bcb1fba6e99e7a46
      https://github.com/WebKit/WebKit/commit/85712d7f2f1965e3772b2173bcb1fba6e99e7a46
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/present-without-compute-pipeline-expected.txt
    A LayoutTests/fast/webgpu/present-without-compute-pipeline.html
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCommandEncoderImpl.cpp
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm

  Log Message:
  -----------
  PresentationContextIOSurface::present should do nothing if there is no compute pipeline state
https://bugs.webkit.org/show_bug.cgi?id=270367
rdar://123912101

Reviewed by Mike Wyrzykowski.

There is nothing to do if there is no compute pipeline, but we don't want to dereference null.

* LayoutTests/fast/webgpu/present-without-compute-pipeline-expected.txt: Added.
* LayoutTests/fast/webgpu/present-without-compute-pipeline.html: Added.
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:

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