[webkit-changes] [WebKit/WebKit] 979e0f: [WGSL] shader, execution, expression, call, builtin, ld...

Tadeu Zagallo noreply at github.com
Thu Jan 11 00:35:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 979e0f0542d5f90a42a45eb640f7920516aae205
      https://github.com/WebKit/WebKit/commit/979e0f0542d5f90a42a45eb640f7920516aae205
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h

  Log Message:
  -----------
  [WGSL] shader,execution,expression,call,builtin,ldexp:* is failing
https://bugs.webkit.org/show_bug.cgi?id=267339
rdar://120784146

Reviewed by Mike Wyrzykowski.

We were missing a couple checks on e2, and the result when explicitly `pow`
seems to be incorrect in some edge cases, so use std::ldexp instead.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):

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




More information about the webkit-changes mailing list