Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d765150c66dc7be4de1bcfcc44e12c711e5f81ca
      
https://github.com/WebKit/WebKit/commit/d765150c66dc7be4de1bcfcc44e12c711e5f81ca
  Author: Tadeu Zagallo <[email protected]>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M Source/WebGPU/WGSL/ConstantFunctions.h
    M Source/WebGPU/WGSL/TypeCheck.cpp
    M Source/WebGPU/WGSL/tests/valid/constants.wgsl

  Log Message:
  -----------
  [WGSL] Add support for constant multiplication
https://bugs.webkit.org/show_bug.cgi?id=262561
rdar://116413844

Reviewed by Mike Wyrzykowski.

Implement the constant function for multiplication. The function is mostly 
complete,
it can handle all overloads for scalars and vectors, but since we don't yet 
support
constant matrices I couldn't support the overloads that operate on them.

* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::constantMultiply):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::TypeChecker):
* Source/WebGPU/WGSL/tests/valid/constants.wgsl:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to