Bug 190322
| Summary: | [WHLSL] nullptr doesn't have a preferred address space | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | WebGPU | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
Migrated to https://api.github.com/repos/gpuweb/WHLSL/issues/16
Myles C. Maxfield
https://github.com/gpuweb/WHLSL/issues/16