Bug 190725 - Cables "twist mesh" example shader fails to compile
Summary: Cables "twist mesh" example shader fails to compile
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-18 10:12 PDT by Myles C. Maxfield
Modified: 2024-01-17 00:40 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2018-10-18 10:12:30 PDT
https://cables.gl/ui/#/project/5a7a3301484055e709297899

The shader includes:
mat4 mvMatrix;
...
normalMatrix=mat3(inverse(transpose(mvMatrix)));

This line has two errors when compiled in macOS Safari:

ERROR: 0:163: 'transpose' : no matching overloaded function found
ERROR: 0:163: 'inverse' : no matching overloaded function found
Comment 1 Radar WebKit Bug Importer 2018-10-23 14:55:50 PDT
<rdar://problem/45500677>
Comment 2 Kimmo Kinnunen 2024-01-17 00:40:58 PST
Works now