Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e73104b88d62323b0bfadac557b3911561513a05
      
https://github.com/WebKit/WebKit/commit/e73104b88d62323b0bfadac557b3911561513a05
  Author: Myles C. Maxfield <[email protected]>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

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

  Log Message:
  -----------
  [WebGPU] Fix assertion when loading textured-cube-shader-constants.html
https://bugs.webkit.org/show_bug.cgi?id=250956
rdar://104517995

Reviewed by Tadeu Zagallo.

The assertion says:

-[MTLDebugDevice newDepthStencilStateWithDescriptor:]:929: failed assertion 
`descriptor must not be nil.'

So let's avoid calling that function if it's nil.

* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::Device::createRenderPipeline):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to