[Webkit-unassigned] [Bug 230949] Blend4web material shader error on iOS and iPadOS 15

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 29 06:29:34 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230949

--- Comment #3 from Kimmo Kinnunen <kkinnunen at apple.com> ---
(In reply to Eric from comment #2)
> I don't understand if this was resolved or i will have to look for an
> alternative. If it is resolved, how can I identify it? this is a serious
> problem for us.

Unfortunately the problem is present in the currently released iOS, but will be fixed in one of the upcoming releases.
If you are able to use a workaround, you could change the variables passed to inout parameters of the functions to not refer to swizzles.

before:
void f(inout float a) { ... }
void main() {
 vec3 myvec = ...;
 f(myvec.x);
}

after:
void f(inout float a) { ... }
void main() {
 vec3 myvec = ...;
 float myfloat = myvec.x;
 f(myfloat);
 myvec.x = myfloat;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210929/b4f19e36/attachment.htm>


More information about the webkit-unassigned mailing list