[webkit-changes] [WebKit/WebKit] 89e73a: [WGSL] Add overload for multiplication between mat...

Tadeu Zagallo noreply at github.com
Fri Oct 20 13:48:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 89e73a62b03118cd91c2d75c82d39bef0341ef0b
      https://github.com/WebKit/WebKit/commit/89e73a62b03118cd91c2d75c82d39bef0341ef0b
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M Source/WebGPU/WGSL/TypeDeclarations.rb
    M Source/WebGPU/WGSL/tests/valid/overload.wgsl

  Log Message:
  -----------
  [WGSL] Add overload for multiplication between matrix and scalar
https://bugs.webkit.org/show_bug.cgi?id=263395
rdar://117221841

Reviewed by Dan Glastonbury.

The type declaration for the multiplication operator was missing the overloads
for matrix scaling, as seen under the "Matrix arithmetic" table in the spec[1].

[1]: https://www.w3.org/TR/WGSL/#arithmetic-expr

* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list