[webkit-changes] [WebKit/WebKit] 46bbee: [WGSL] Add support for matrix subtraction

Tadeu Zagallo noreply at github.com
Thu Nov 9 00:17:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 46bbee9398569bbb2fa1e4864fbc0f742d4a3f5c
      https://github.com/WebKit/WebKit/commit/46bbee9398569bbb2fa1e4864fbc0f742d4a3f5c
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

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

  Log Message:
  -----------
  [WGSL] Add support for matrix subtraction
https://bugs.webkit.org/show_bug.cgi?id=264406
rdar://118117794

Reviewed by Mike Wyrzykowski.

The TypeDeclarations file was missing the subtraction overload for matrices. Add
the missing overload and implement constant matrix subtraction as well.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
* Source/WebGPU/WGSL/TypeDeclarations.rb:
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:

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




More information about the webkit-changes mailing list