Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 729aa50ce7bae01efe0974399fa3a39bee22a6b8
      
https://github.com/WebKit/WebKit/commit/729aa50ce7bae01efe0974399fa3a39bee22a6b8
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

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

  Log Message:
  -----------
  [WebGPU] Device::createPipelineLayout should ensure there are no null 
BindGroupLayouts
https://bugs.webkit.org/show_bug.cgi?id=269524
<radar://122955366>

Reviewed by Dan Glastonbury.

If descriptor.bindGroupLayouts[i] is nullptr, then
Ref<BindGroupLayout> { WebGPU::fromAPI(bindGroupLayout) } will crash.

* Source/WebGPU/WebGPU/PipelineLayout.mm:
(WebGPU::Device::createPipelineLayout):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to