Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.48k stars 174 forks source link

Web in Safari(iOS 15.0.1)Could not link the shader program #1368

Closed SaxonGao-SZ closed 2 years ago

SaxonGao-SZ commented 2 years ago

I upgrade my iphone to iOS 15.0.1, Then I got new error in safari

Could not link the shader program:
Internal error compiling shader with Metal backend.
Please submit this shader, or website as a bug to https://bugs.webkit.org
compile @ kha.js:formatted:30842
kha_graphics4_PerFramebufferPipelineCache @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
kha_graphics4_ImageShaderPainter @ kha.js:formatted:30842
kha_graphics4_Graphics2 @ kha.js:formatted:30842
kha_js_graphics4_Graphics2 @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
start @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842
(anonymous) @ VM41:333
(anonymous) @ kha.js:formatted:30842
(anonymous) @ kha.js:formatted:30842

How make it work in Safari iOS 15.0.1?

RobDangerous commented 2 years ago

Please do as the error message says - ultimately, Apple needs to fix this. We haven't found a workaround yet.

RobDangerous commented 2 years ago

Hu, why did you close it?

SaxonGao-SZ commented 2 years ago

Please do as the error message says - ultimately, Apple needs to fix this. We haven't found a workaround yet. “Apple needs to fix this”

RobDangerous commented 2 years ago

They do. But meanwhile we need to find a workaround because Apple is slow.

sh-dave commented 2 years ago

https://github.com/Kode/Kha/pull/1369

RobDangerous commented 2 years ago

The Dave-fix is merged.