[webkit-changes] [WebKit/WebKit] 6fc3c7: [WebGPU] RenderBundleEncoder::finish does not hand...

mwyrzykowski noreply at github.com
Tue Aug 13 08:49:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6fc3c742419cb479a9fbc1c31039aae37f23b6a7
      https://github.com/WebKit/WebKit/commit/6fc3c742419cb479a9fbc1c31039aae37f23b6a7
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-277928-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-277928.html
    A LayoutTests/fast/webgpu/nocrash/fuzz-277928b-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-277928b.html
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
    M Source/WebGPU/WebGPU/RenderPipeline.mm

  Log Message:
  -----------
  [WebGPU] RenderBundleEncoder::finish does not handle repeated calls
https://bugs.webkit.org/show_bug.cgi?id=277928
radar://133539397

Reviewed by Tadeu Zagallo.

Repeated calls to GPURenderBundleEncoder.finish() would result in a new
ICB being created, which is incorrect.

* LayoutTests/fast/webgpu/nocrash/fuzz-277928-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-277928.html: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-277928b-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-277928b.html: Added.
Add regression tests.

* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::finish):
* Source/WebGPU/WebGPU/RenderPipeline.mm:
(WebGPU::RenderPipeline::stripIndexFormat const):

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