Bug 263138

Summary: [WGSL] bitcast is not supported
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

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>