Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69f81c15d7956dd1f0583718baf1cff35911a809
      
https://github.com/WebKit/WebKit/commit/69f81c15d7956dd1f0583718baf1cff35911a809
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    A LayoutTests/fast/webgpu/regression/repro_303203-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_303203.html
    M Source/WebGPU/WebGPU/Buffer.mm
    M Source/WebGPU/WebGPU/CommandEncoder.h
    M Source/WebGPU/WebGPU/CommandEncoder.mm

  Log Message:
  -----------
  Rerun WebGPU view rendering stopped working in 26.4 (21624.1.16.11.4) & 
Safari Technology Preview 243
https://bugs.webkit.org/show_bug.cgi?id=315186
rdar://177523442

Reviewed by Dan Glastonbury.

It is wrong to increment the buffer count on a resource already in use
in the same command encoder, it will lead to validation failures.

Test: fast/webgpu/regression/repro_303203.html
* LayoutTests/fast/webgpu/regression/repro_303203-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_303203.html: Added.
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Buffer::setCommandEncoder const):
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::trackEncoderForBuffer):
(WebGPU::CommandEncoder::trackEncoderForTexture):
(WebGPU::CommandEncoder::trackEncoderForTextureView):
(WebGPU::CommandEncoder::trackEncoderForExternalTexture):
(WebGPU::CommandEncoder::trackEncoderForQuerySet):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to