-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WGSL] Add tests for bitwise operators and fix compound assignment
https://bugs.webkit.org/show_bug.cgi?id=264832 rdar://118408447 Reviewed by Mike Wyrzykowski. Modify the existing tests to also be run through the Metal compiler, and expand the tests to cover both constant and runtime operations. In the process the tests also showed that I broke compound assignment in 270641@main, so I fixed that. * Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp: (WGSL::Metal::FunctionDefinitionWriter::visit): * Source/WebGPU/WGSL/tests/valid/overload.wgsl: Canonical link: https://commits.webkit.org/270761@main
- Loading branch information
1 parent
7753b1f
commit 8f82a0e
Showing
2 changed files
with
90 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters