Bug 263138 - [WGSL] bitcast is not supported
Summary: [WGSL] bitcast is not supported
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-13 14:20 PDT by Mike Wyrzykowski
Modified: 2023-10-13 14:21 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wyrzykowski 2023-10-13 14:20:31 PDT
bitcast is not supported - https://www.w3.org/TR/WGSL/#bit-reinterp-builtin-functions

Used by https://www.babylonjs.com/demos/webgpu/forestwebgpu

Seems like this would map directly to Metal's "as_type" casting function (section 2.20, page 71 of the Metal language specification)
Comment 1 Radar WebKit Bug Importer 2023-10-13 14:21:17 PDT
<rdar://problem/116936258>