Bug 177121
Summary: | [WSL] Implement full constexpr support | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | mmaxfield |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 176199 |
Filip Pizlo
Currently even this doesn't work:
void foo<int x>() { ... }
void bar<int y>() { foo<y + 1>(); }
Maybe it should work?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
We don't have generics any more.
Myles C. Maxfield
We do have vector<float, 1 + 2> though.
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/182