Bug 189123
Summary: | [WHLSL] Implement uniform control flow restrictions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | WebGPU | Assignee: | Myles C. Maxfield <mmaxfield> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | jonlee, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=189122 https://bugs.webkit.org/show_bug.cgi?id=189125 |
||
Bug Depends on: | |||
Bug Blocks: | 176199, 189202 |
Myles C. Maxfield
Implement uniform control flow restrictions
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/44403001>
Myles C. Maxfield
Some standard library functions must never be called in nonuniform control flow.
Right now, we have a definition of "uniform control flow" in the spec which is validated at run-time, not compile-time.
We also (will) have a definition of "control flow which was arrived-at by branching on a non-uniform value" which is validated at compile-time, not run-time. This is currently only used for variables marked "uniform" (which is a totally different thing).
We need to figure out whether or not we can unify these two definitions.
Myles C. Maxfield
I'm going to do this in the same patch as https://bugs.webkit.org/show_bug.cgi?id=189125
*** This bug has been marked as a duplicate of bug 189125 ***
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/57