Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b46da8564c99c99859b8b4b4ead8386ac785b69c
https://github.com/WebKit/WebKit/commit/b46da8564c99c99859b8b4b4ead8386ac785b69c
Author: Tadeu Zagallo <[email protected]>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M Source/WebGPU/WGSL/ConstantFunctions.h
Log Message:
-----------
[WGSL] shader,execution,expression,call,builtin,reverseBits:* is failing
https://bugs.webkit.org/show_bug.cgi?id=267345
rdar://120784629
Reviewed by Mike Wyrzykowski.
Fix a couple issues in the bit shifting logic of the constant function.
- The mask to check if a bit is set was missing a bit shift and just using (31
- k)
- The result of checking if the bit is set needs to be converted into 0|1, we
were using the actual set bit instead.
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::UNARY_OPERATION):
Canonical link: https://commits.webkit.org/272904@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes