[webkit-changes] [WebKit/WebKit] a8db37: [WGSL] Implement constant addition
Tadeu Zagallo
noreply at github.com
Fri Oct 20 12:58:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a8db3739068cfdf1521a9b5c8d8741d9ed0baeb9
https://github.com/WebKit/WebKit/commit/a8db3739068cfdf1521a9b5c8d8741d9ed0baeb9
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2023-10-20 (Fri, 20 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] Implement constant addition
https://bugs.webkit.org/show_bug.cgi?id=263399
rdar://117222969
Reviewed by Dan Glastonbury.
Add the function to execute additions during constant evaluation
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::constantAdd):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::TypeChecker):
* Source/WebGPU/WGSL/tests/valid/constants.wgsl:
Canonical link: https://commits.webkit.org/269578@main
More information about the webkit-changes
mailing list