Bug 233405 - Link Error: Internal error…Metal backend
Summary: Link Error: Internal error…Metal backend
Status: RESOLVED DUPLICATE of bug 229378
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL: http://donw.io/post/sphere-indexing-2/
Keywords: InRadar
Depends on:
Reported: 2021-11-20 22:10 PST by Garett Bass
Modified: 2021-11-22 23:58 PST (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Garett Bass 2021-11-20 22:10:00 PST

The above site displays the following message instead of rendering WebGL:

“Status: Errors
Link Error: Internal error compiling shader with Metal backend.
Please submit this shader or website as a bug to https://bugs.webkit.org”

iOS 15.1 iPad Pro (11-inch) (2nd generation)
Comment 1 Radar WebKit Bug Importer 2021-11-22 18:10:37 PST
Comment 2 Kimmo Kinnunen 2021-11-22 23:58:37 PST
Thanks for the report.
You can most likely work around this by changing the function name "and" to something else, like "myand":

bool and(int x, int y)
	return mod(float(x), exp2(float(y))) != 0.0;

The fix will be shipped in a future update.

*** This bug has been marked as a duplicate of bug 229378 ***