<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Shadows are flickering in SuperTuxKart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110395#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Shadows are flickering in SuperTuxKart"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110395">bug 110395</a>
from <span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span></b>
<pre>Mark, could you recheck if it flickers for you on skylake since neither I nor
Denis are able to reproduce it on gen8+ ?
Ok, my commit indeed leads to flickering for a very strange reason.
Commenting blend state update on new fragment program mystically solves the
issue
(<a href="https://gitlab.freedesktop.org/mesa/mesa/commit/eca4a6548d07bbbb02a7768edb397bad7b72cfc2#a17c5c8577696d3d741e2bdb7e9ea61ca0356b89_3200_3219">https://gitlab.freedesktop.org/mesa/mesa/commit/eca4a6548d07bbbb02a7768edb397bad7b72cfc2#a17c5c8577696d3d741e2bdb7e9ea61ca0356b89_3200_3219</a>).
So something is not updated right. The closest thing in PRM I found was the HSW
PRM, volume 2b, page 823 (3DSTATE_BLEND_STATE_POINTERS):
"When the BLEND_STATE pointer changes but not the CC_STATE pointer,
driver needs to force a CC_STATE pointer change to improve
blend performance in pixel backend."
And doing this fixed the issue for some unknown for me reason. However the same
quote is present for gen8 but I didn't reproduce the flickering there...
Here is a patch - <a href="https://gitlab.freedesktop.org/mesa/mesa/merge_requests/660">https://gitlab.freedesktop.org/mesa/mesa/merge_requests/660</a></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>