[webkit-changes] [WebKit/WebKit] 729aa5: [WebGPU] Device::createPipelineLayout should ensur...

mwyrzykowski noreply at github.com
Thu Feb 15 19:34:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 729aa50ce7bae01efe0974399fa3a39bee22a6b8
      https://github.com/WebKit/WebKit/commit/729aa50ce7bae01efe0974399fa3a39bee22a6b8
  Author: Mike Wyrzykowski <mwyrzykowski at 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




More information about the webkit-changes mailing list