Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 59950b920418413ba9bd7e6bfca147bd599d0514
      
https://github.com/WebKit/WebKit/commit/59950b920418413ba9bd7e6bfca147bd599d0514
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

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

  Log Message:
  -----------
  [WebGPU] Release assertion triggered in 
RenderPassEncoder::computeMininumVertexInstanceCount
https://bugs.webkit.org/show_bug.cgi?id=275569
<radar://129990531>

Reviewed by Tadeu Zagallo.

If the user does not call setVertexBuffer on a buffer which the pipeline
uses, we should treat the buffer's size as 0.

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

* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::computeMininumVertexInstanceCount const):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::computeMininumVertexInstanceCount const):

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



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

Reply via email to