<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ptpzz@yandex.ru" title="Vadim Girlin <ptpzz@yandex.ru>"> <span class="fn">Vadim Girlin</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Graphical glitches in Serious Sam 3 when SB is enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68503">bug 68503</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;">Attachment #84573 is obsolete</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Graphical glitches in Serious Sam 3 when SB is enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68503#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Graphical glitches in Serious Sam 3 when SB is enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=68503">bug 68503</a>
              from <span class="vcard"><a class="email" href="mailto:ptpzz@yandex.ru" title="Vadim Girlin <ptpzz@yandex.ru>"> <span class="fn">Vadim Girlin</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=85011" name="attach_85011" title="[PATCH] r600g/sb: work around hw issues with stack on eg/cm">attachment 85011</a> <a href="attachment.cgi?id=85011&action=edit" title="[PATCH] r600g/sb: work around hw issues with stack on eg/cm">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=68503&attachment=85011'>[review]</a>
[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.</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>