<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Mesa's compiler should warn about undefined values"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94129#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Mesa's compiler should warn about undefined values"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94129">bug 94129</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>