[Webkit-unassigned] [Bug 188342] New: GLSL 1.0 shaders are not accepted by webgl 2.0 context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 01:51:12 PDT 2018


            Bug ID: 188342
           Summary: GLSL 1.0 shaders are not accepted by webgl 2.0 context
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanoswald at gmail.com
                CC: dino at apple.com

Webgl 2.0 context seems to expect only GLSL 3.00 shaders, even when the #version 300 es is omitted. 

The webgl 2.0 spec clearly indicates that webgl 2.0 should support both GLSL 1.00 and GLSL 3.00 shaders. Although I cannot find it in the spec, the overwhelming consensus seems to be that 2.0 shaders are by default GLSL 1.0 unless the version directive is included. When provided a GLSL 1.00 shader, I get the following error:

WebGL: ERROR: 0:1: " : #version required and missing.

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/20180806/cb5f4897/attachment.html>

More information about the webkit-unassigned mailing list