Bug 177121 - [WSL] Implement full constexpr support
Summary: [WSL] Implement full constexpr support
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2017-09-18 20:13 PDT by Filip Pizlo
Modified: 2018-10-13 19:37 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2017-09-18 20:13:50 PDT
Currently even this doesn't work:

void foo<int x>() { ... }
void bar<int y>() { foo<y + 1>(); }

Maybe it should work?
Comment 1 Myles C. Maxfield 2018-08-21 22:07:21 PDT
We don't have generics any more.
Comment 2 Myles C. Maxfield 2018-08-21 22:24:00 PDT
We do have vector<float, 1 + 2> though.
Comment 3 Myles C. Maxfield 2018-10-13 19:37:35 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/182