Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ba50f138563b7ee18bbc83ed6daccaf3a4e95603
https://github.com/WebKit/WebKit/commit/ba50f138563b7ee18bbc83ed6daccaf3a4e95603
Author: Tadeu Zagallo <[email protected]>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M Source/WebGPU/WGSL/ConstantFunctions.h
M Source/WebGPU/WGSL/TypeCheck.cpp
Log Message:
-----------
[WGSL] Add support for constant division
https://bugs.webkit.org/show_bug.cgi?id=262790
rdar://116583014
Reviewed by Mike Wyrzykowski.
Division is necessary for the A-buffer demo. Similar to constant multiplication,
but even simpler since it doesn't need to handle matrices.
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::constantDivide):
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::TypeChecker):
Canonical link: https://commits.webkit.org/269070@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes