[webkit-changes] [WebKit/WebKit] 9a4288: [WGSL] Bitcast needs to concretize abstract floats
Tadeu Zagallo
noreply at github.com
Tue Jan 30 10:11:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9a42882e26f10fead443c0bcf48d3f4e8b0e05da
https://github.com/WebKit/WebKit/commit/9a42882e26f10fead443c0bcf48d3f4e8b0e05da
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M Source/WebGPU/WGSL/ConstantFunctions.h
M Source/WebGPU/WGSL/tests/valid/overload.wgsl
Log Message:
-----------
[WGSL] Bitcast needs to concretize abstract floats
https://bugs.webkit.org/show_bug.cgi?id=268380
rdar://121527210
Reviewed by Mike Wyrzykowski.
Bitcast doesn't concretize its arguments by default, since there's a special case
for conversions from abstract int to u32, so we need to explicitly concretize
abstract floats.
* Source/WebGPU/WGSL/ConstantFunctions.h:
(WGSL::CONSTANT_FUNCTION):
* Source/WebGPU/WGSL/tests/valid/overload.wgsl:
Canonical link: https://commits.webkit.org/273764@main
More information about the webkit-changes
mailing list