[webkit-changes] [WebKit/WebKit] 69057c: [WebGPU] A retained MTLSamplerState can result us ...

mwyrzykowski noreply at github.com
Thu Dec 19 16:17:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69057c3c0809b3ed51ea1728810e972aca57297c
      https://github.com/WebKit/WebKit/commit/69057c3c0809b3ed51ea1728810e972aca57297c
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-279542-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-279542.html
    A LayoutTests/fast/webgpu/nocrash/fuzz-279542_reduced-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-279542_reduced.html
    M Source/WebGPU/WebGPU/BindGroup.h
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] A retained MTLSamplerState can result us in exceeding the MTLSamplerState limit
https://bugs.webkit.org/show_bug.cgi?id=279542
rdar://135708279

Reviewed by Tadeu Zagallo.

Retain samplers until their corresponding command buffer completes.

* Source/WebGPU/WebGPU/BindGroup.h:
(WebGPU::BindGroup::samplers const):
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::addSampler):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::setBindGroup):

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