[Bug 68503] Graphical glitches in Serious Sam 3 when SB is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 1 08:22:28 PDT 2013


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

Vadim Girlin <ptpzz at yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #84573|0                           |1
        is obsolete|                            |

--- Comment #9 from Vadim Girlin <ptpzz at yandex.ru> ---
Created attachment 85011
  --> https://bugs.freedesktop.org/attachment.cgi?id=85011&action=edit
[PATCH] r600g/sb: work around hw issues with stack on eg/cm

Here is a new patch that hopefully should not affect performance, please test.

I'm not sure about correctness of workaround condition though, the description
is not very clear, so if it doesn't work as is then please find the following
line in src/gallium/drivers/r600/sb/sb_bc_finalize.cpp (should be line 713):
    unsigned depth = elems; // or maybe ifs?
and replace elems with ifs:
    unsigned depth = ifs;

If this doesn't help either, try 
    unsigned depth = elems + 1;

and "+ 2", "+ 3". And then the same using ifs instead of elems again. One of
these variants should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130901/657d7126/attachment.html>


More information about the dri-devel mailing list