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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 23 23:37:46 UTC 2016


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

--- Comment #4 from Timothy Arceri <t_arceri at yahoo.com.au> ---
The AST is a bit awkward to work with beyond basic validation. You would likely
find it easier to add this in GLSL IR somewhere.

I'm not sure how hard it would be to detect if something is initialized, but
there are plenty of examples where we walk over the IR and do some type of
validation/modification, you may even be able to hook into an existing pass.

Also do be afraid to send what you have as a RFC to the mailing list for
feedback and ideas. You will get much more feedback that way rather than
commenting on a bug.

-- 
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/20160223/1c528131/attachment.html>


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