<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sami.liedes@iki.fi" title="Sami Liedes <sami.liedes@iki.fi>"> <span class="fn">Sami Liedes</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU crash in Civilization 5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89944">bug 89944</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>kenneth@whitecape.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU crash in Civilization 5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89944#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU crash in Civilization 5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89944">bug 89944</a>
from <span class="vcard"><a class="email" href="mailto:sami.liedes@iki.fi" title="Sami Liedes <sami.liedes@iki.fi>"> <span class="fn">Sami Liedes</span></a>
</span></b>
<pre>I bisected this down to this commit:
------------------------------------------------------------
commit 30f51f1a1a70bc838d5bed449daff0dd9f2e8ef2
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Date: Wed Oct 22 20:48:21 2014 -0700
glsl: Optimize "if (cond) discard;" to a conditional discard.
st_glsl_to_tgsi and ir_to_mesa have handled conditional discards for a
long time; the previous patch added that capability to i965.
i965 (Haswell) shader-db stats:
Without NIR:
total instructions in shared programs: 5792133 -> 5776360 (-0.27%)
instructions in affected programs: 737585 -> 721812 (-2.14%)
helped: 6300
HURT: 68
GAINED: 2
With NIR:
total instructions in shared programs: 5787538 -> 5769569 (-0.31%)
instructions in affected programs: 767843 -> 749874 (-2.34%)
helped: 6522
HURT: 35
GAINED: 6
Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Connor Abbott <<a href="mailto:cwabbott0@gmail.com">cwabbott0@gmail.com</a>>
Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
Reviewed-by: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
------------------------------------------------------------
I can also confirm that reverting that commit on top of recent HEAD (4deca127)
fixes the issue.
I can attach R600_DEBUG=ps,gs,vs output from the offending commit and its
parent if you think comparing them is of any use.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>