[Bug 94129] Mesa's compiler should warn about undefined values

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 13 02:46:27 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94129

            Bug ID: 94129
           Summary: Mesa's compiler should warn about undefined values
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: idr at freedesktop.org
          Reporter: kenneth at whitecape.org
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Many WebGL programs accidentally use undefined values, expecting them to be
zero initialized (which is not required).  NVidia apparently issues a compiler
warning in this case.  We should too.

This is fairly easy to detect in NIR - see if ssa_undefs are used.  But, it's
not clear whether we can issue warnings from that level.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160213/0d4b9e22/attachment-0001.html>


More information about the intel-3d-bugs mailing list