[webkit-changes] [WebKit/WebKit] 7c9c6d: [WebGPU] setVertexBuffer causes validation error w...

mwyrzykowski noreply at github.com
Mon Aug 5 15:44:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c9c6d17d6d8580ebf63d067eea37cc807911988
      https://github.com/WebKit/WebKit/commit/7c9c6d17d6d8580ebf63d067eea37cc807911988
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

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

  Log Message:
  -----------
  [WebGPU] setVertexBuffer causes validation error when offset == buffer length
https://bugs.webkit.org/show_bug.cgi?id=277557
rdar://132718396

Reviewed by Tadeu Zagallo.

setVertexBuffer should not bind the vertex buffer when offset >= bufferLength.

* LayoutTests/fast/webgpu/nocrash/fuzz-277557-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-277557.html: Added.
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::executePreDrawCommands):

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