[Webkit-unassigned] [Bug 215844] New: WebGL goes in a bad state where glContext.createProgram() returns null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 26 01:42:10 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215844

            Bug ID: 215844
           Summary: WebGL goes in a bad state where
                    glContext.createProgram() returns null
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: ANGLE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jujjyl at gmail.com
                CC: dino at apple.com

Running STP through emunittest suite, some of the tests fail with an error

TypeError: null is not an object (evaluating 'program.name=id')

in Emscripten WebGL library function

  glCreateProgram: function() {
    var id = GL.getNewId(GL.programs);
    var program = GLctx.createProgram();
    program.name = id;
    GL.programs[id] = program;
    return id;
  },

Here GLctx is WebGLRenderingContext, and the return of GLctx.createProgram() comes out as null, causing the next line after that to fail.

The issue can be reproduced on project http://clb.confined.space/emunittest_unity/Tanks_20191004_152744_wasm_release_profiling.zip

-- 
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/20200826/ad3bb50b/attachment.htm>


More information about the webkit-unassigned mailing list