<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - SPIR-V shader processing fails with message about "extra dangling SSA sources""
href="https://bugs.freedesktop.org/show_bug.cgi?id=111071#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - SPIR-V shader processing fails with message about "extra dangling SSA sources""
href="https://bugs.freedesktop.org/show_bug.cgi?id=111071">bug 111071</a>
from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
<pre>Also, are you sure that test is correct? It's doing
<span class="quote">> void main()
> {
> _GLF_color = vec4(1.0, 0.0, 0.0, 1.0);
> for(
> int i = 0;
> i < 10;
> i ++
> )
> {
> _GLF_color = vec4(1.0);
> if(1.0 > injectionSwitch.y)
> {
> _GLF_color = vec4(1.0, 0.0, 0.0, 1.0);
> if(true)
> {
> return;
> }
> }
> }
> }</span >
but the input data it sets up has injectionSwitch.y == 1.0 so the if will fail
because 1.0 > 1.0 is false and so _GLF_color will get overwritten to vec4(1.0)
and never written back to red. Our compiler seems to be compiling it
correctly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>