[webkit-changes] [WebKit/WebKit] 1baaf5: [WebGPU] ICB clamp functions are missing call to u...

mwyrzykowski noreply at github.com
Wed Nov 13 11:47:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1baaf5d93941bdb7e5bc43f408d619119dc060aa
      https://github.com/WebKit/WebKit/commit/1baaf5d93941bdb7e5bc43f408d619119dc060aa
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

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

  Log Message:
  -----------
  [WebGPU] ICB clamp functions are missing call to useResource:
https://bugs.webkit.org/show_bug.cgi?id=283051
rdar://139735309

Reviewed by Tadeu Zagallo.

The index buffer was part of an AB but we weren't calling useResource: on it,
leading it to potentially not being resident.

* LayoutTests/fast/webgpu/nocrash/fuzz-283051-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-283051.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::drawIndexed):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::executeBundles):

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