Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e28db88d215147fda0c7816571ef401334fa16c
      
https://github.com/WebKit/WebKit/commit/1e28db88d215147fda0c7816571ef401334fa16c
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-275228-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-275228.html
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] Destroyed Device leads to validation errors in render pipeline
https://bugs.webkit.org/show_bug.cgi?id=275228
<radar://129354702>

Reviewed by Dan Glastonbury.

We need to return early if the Device is destroyed, since setting a nil
PSO will fail the validation layer.

* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::clampIndexBufferToValidValues):
(WebGPU::RenderPassEncoder::clampIndirectIndexBufferToValidValues):
(WebGPU::RenderPassEncoder::clampIndirectBufferToValidValues):
(WebGPU::RenderPassEncoder::executeBundles):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to