WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189122
[WHLSL] Enumerate which operations require uniform control flow and dynamically uniform expressions
https://bugs.webkit.org/show_bug.cgi?id=189122
Summary
[WHLSL] Enumerate which operations require uniform control flow and dynamical...
Myles C. Maxfield
Reported
2018-08-29 16:35:44 PDT
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
Comment 1
2018-09-12 18:50:46 PDT
<
rdar://problem/44402999
>
Myles C. Maxfield
Comment 2
2018-09-22 23:51:38 PDT
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
Comment 3
2018-09-22 23:52:57 PDT
Indexing into an array which contains textures requires dynamically uniform expressions. I think that's the only operation.
Myles C. Maxfield
Comment 4
2018-09-22 23:54:08 PDT
I suppose this is done now.
Myles C. Maxfield
Comment 5
2018-10-13 14:50:33 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/58
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug