Bug 189122
Summary: | [WHLSL] Enumerate which operations require uniform control flow and dynamically uniform expressions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
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=189125 https://bugs.webkit.org/show_bug.cgi?id=189123 |
||
Bug Depends on: | |||
Bug Blocks: | 176199, 189202 |
Myles C. Maxfield
Indexing into an array of textures requires a dynamically uniform expression
sample() involves an implicit derivative, and so requires uniform control flow
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/44402999>
Myles C. Maxfield
The following functions require uniform control flow:
ddx()
ddy()
AllMemoryBarrierWithGroupSync()
DeviceMemoryBarrierWithGroupSync()
GroupMemoryBarrierWithGroupSync()
Sample()
SampleBias()
Gather()
GatherRed()
GatherGreen()
GatherBlue()
GatherAlpha()
SampleCmp()
GatherCmp()
GatherCmpRed()
GatherCmp()
GatherCmpRed()
Myles C. Maxfield
Indexing into an array which contains textures requires dynamically uniform expressions. I think that's the only operation.
Myles C. Maxfield
I suppose this is done now.
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/58