[Webkit-unassigned] [Bug 177929] New: Shader local variables aren't zeroed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 5 04:01:47 PDT 2017


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

            Bug ID: 177929
           Summary: Shader local variables aren't zeroed
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kdmitrenko at gmail.com
                CC: dino at apple.com

Created attachment 322815

  --> https://bugs.webkit.org/attachment.cgi?id=322815&action=review

Test

Random (or maybe not so much) values are written to framebuffer for this shaders:

void main(void) {
    mat4 m;
    gl_FragColor = m[0];
}

// or

void main(void) {
    vec4 v;
    gl_FragColor = v;
}

// or
void main(void) {
    float s;
    gl_FragColor = vec4(s, s, s, 1);
}

-- 
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/20171005/23c939ba/attachment-0001.html>


More information about the webkit-unassigned mailing list