[Bug 110395] Shadows are flickering in SuperTuxKart

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 15 13:51:15 UTC 2019


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

--- Comment #14 from Danylo <danylo.piliaiev at gmail.com> ---
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
(https://gitlab.freedesktop.org/mesa/mesa/commit/eca4a6548d07bbbb02a7768edb397bad7b72cfc2#a17c5c8577696d3d741e2bdb7e9ea61ca0356b89_3200_3219).

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 - https://gitlab.freedesktop.org/mesa/mesa/merge_requests/660

-- 
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/20190415/01eed332/attachment.html>


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