RESOLVED MOVED 190322
[WHLSL] nullptr doesn't have a preferred address space
https://bugs.webkit.org/show_bug.cgi?id=190322
Summary [WHLSL] nullptr doesn't have a preferred address space
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.