[webkit-changes] [WebKit/WebKit] 7baf6f: [WebGPU] Invalid use of CheckedSum inside RenderBu...

mwyrzykowski noreply at github.com
Thu Jun 13 19:45:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7baf6f2b893b9e507479a6c0b1e659393b814608
      https://github.com/WebKit/WebKit/commit/7baf6f2b893b9e507479a6c0b1e659393b814608
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm

  Log Message:
  -----------
  [WebGPU] Invalid use of CheckedSum inside RenderBundleEncoder
https://bugs.webkit.org/show_bug.cgi?id=275442
<radar://129763880>

Reviewed by Dan Glastonbury.

This issue is not reproducible from JavaScript, as number
is limited to 2^53 - 1 and the result of 2 * 2^53 - 1 does not
overflow, however in attempting to fix <radar://128865893> a
typo was made and it did not achieve the intended goal.

* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::RenderBundleEncoder::setIndexBuffer):
(WebGPU::RenderBundleEncoder::setVertexBuffer):

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