Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 42abab73c918cee6c9c8371a9443efa8a8778ec5
https://github.com/WebKit/WebKit/commit/42abab73c918cee6c9c8371a9443efa8a8778ec5
Author: Tadeu Zagallo <[email protected]>
Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths:
M Source/WebGPU/WGSL/ConstantFunctions.h
Log Message:
-----------
[WGSL] shader,execution,expression,call,builtin,bitcast:* is failing
https://bugs.webkit.org/show_bug.cgi?id=267333
rdar://120783284
Reviewed by Mike Wyrzykowski.
The constant implementation of bitcast reused the `convertValue` helper, which
used
static_cast to convert between types. Allow passing different casts to
convertValue
and use bitwise_cast instead.
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::StaticCast::cast):
(WGSL::BitwiseCast::cast):
(WGSL::convertValue):
(WGSL::CONSTANT_FUNCTION):
Canonical link: https://commits.webkit.org/272893@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes