Bug 232169
Summary: | iOS15 Internal error compiling shader with Metal backend. | ||
---|---|---|---|
Product: | WebKit | Reporter: | spreadpando |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Blocker | CC: | dino, kbr, kkinnunen, kpiddington, spreadpando |
Priority: | P1 | ||
Version: | Safari 15 | ||
Hardware: | iPhone / iPad | ||
OS: | Other | ||
URL: | https://github.com/IdeaSpaceVR/aframe-particle-system-component/issues/61 |
spreadpando
Production iOS 15 throws:
"THREE.WebGLProgram: shader error: 1281 35715 false gl.getProgramInfoLog Internal error compiling shader with Metal backend"
When using aframe particle-system component.
Unresolved as of 10/22/21
Github Issue:
https://github.com/IdeaSpaceVR/aframe-particle-system-component/issues/61
note the error codes do not seem to be consistent, but using the particle-system component will cause crashes or blatant shader glitches in iOS15.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Kimmo Kinnunen
Thank you for the report.
Could you link to a simple reproduction? Either a url that runs the particular component or a simple html+js package reproducing the issue?
I could not any examples from the project website with a cursory investigation.
spreadpando
Live Examples
https://ideaspacevr.github.io/aframe-particle-system-component/
Kyle Piddington
Dup of https://bugs.webkit.org/show_bug.cgi?id=229378
If you need an immediate workaround...
The problem here is that the function name 'and' is conflicting with a metal symbol. We've fixed this in ToT Webkit.
To fix this, rename the 'and' function below to something else.
// float and(float a, float b) {
// return a * b;
*** This bug has been marked as a duplicate of bug 229378 ***
Kyle Piddington
Thank you for the report ! I really appreciate it.