Bug 262068 - [WebGPU] Crash in ConstantRewriter::materialize opening https://webgpu.github.io/webgpu-samples/samples/renderBundles
Summary: [WebGPU] Crash in ConstantRewriter::materialize opening https://webgpu.github...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-25 13:58 PDT by Mike Wyrzykowski
Modified: 2023-09-25 13:58 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-09-25 13:58:18 PDT
[WebGPU] Crash in ConstantRewriter::materialize opening https://webgpu.github.io/webgpu-samples/samples/renderBundles

On this line:

   auto& node =  m_shaderModule.astBuilder().construct<Literal>(SourceSpan::empty(), std::get<Value>(value));

because 'value' doesn't contain a value of type=Value
Comment 1 Radar WebKit Bug Importer 2023-09-25 13:58:32 PDT
<rdar://problem/116014126>