-
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] 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
- Loading branch information
1 parent
074ad42
commit 42abab7
Showing
1 changed file
with
50 additions
and
28 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