Bug 190322

Summary: [WHLSL] nullptr doesn't have a preferred address space
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

Myles C. Maxfield
Reported 2018-10-05 13:19:41 PDT
In the standard library, we have many pieces like void foo(thread int*); void foo(device int*); void foo(threadgroup int*); if you say foo(nullptr), you get a compile error because it doesn't know which address space nullptr prefers.
Attachments
Myles C. Maxfield
Comment 1 2018-10-13 14:22:50 PDT
Myles C. Maxfield
Comment 2 2018-10-13 14:49:14 PDT
Note You need to log in before you can comment on or make changes to this bug.