[Webkit-unassigned] [Bug 230472] New: iOS 15 Internal error compiling shader with Metal backend
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 19 23:07:54 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230472
Bug ID: 230472
Summary: iOS 15 Internal error compiling shader with Metal
backend
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rloza at bespokefactory.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
Created attachment 438639
--> https://bugs.webkit.org/attachment.cgi?id=438639&action=review
Shader code files
Hello,
We have an application for a few years now that runs over blend4web 17.12.
Here a link for reference: https://testios15.made-to-order.com/
There we have slightly modified the b4w engine to show extra debug log.
The main error from B4W says: Shader compilation/linking error: postprocessing/postprocessing.glslv, postprocessing/postprocessing.glslf, materials: ""
Throwing some logs around, we see that at the "init_shader" function, "gl.getError()" returns a "INVALID_OPERATION" after "gl.linkProgram".
Then, "gl.getProgramInfoLog(program)" shows a not very useful but human readable error: Internal error compiling shader with Metal backend. Please submit this shader, or website as a bug to https://bugs.webkit.org
Honestly, I am no GLSL expert (nor beginner), although I have been trying to mess with the shader, and even removing all "postprocessing.glslf" logic (leaving only an assignment to a plain color) won't work.
I know this one is going to be tricky, as there is no life over blend4web forums for a while now, and their shaders and logic are quite difficult to play with, but anyway I thought of letting you know just in case.
You can find attached the main shader files; they use a lot of different files, but in this specific error those are the ones I think are directly involved.
I have included as well a "directives.js", as they change on the fly the code depending on webgl 1 or 2 version (the log for the iPad shows me it is using the webgl 1 version).
Please let me know if I can help somehow.
Best regards.
--
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/20210920/c5c9fb19/attachment-0001.htm>
More information about the webkit-unassigned
mailing list