<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi hyperz] Artifacts in Unigine Sanctuary"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72685#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi hyperz] Artifacts in Unigine Sanctuary"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72685">bug 72685</a>
              from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
        <pre>smoki, you can ignore that document. Sanctuary doesn't use shadow volumes for
shadows. It also doesn't use stencil.

There are 2 issues here:

1) HTILE doesn't seem to support rendering to an array texture with SLICE_START
== SLICE_MAX != 0 (non-zero layer). The workaround is to set
SLICE_START=SLICE_MAX=0 and add slice_size*slice_start to the base address.
This won't work with layered rendering, but we should still use the workaround
for non-layered rendering, because the performance improvement is really worth
it.

Note: r600g doesn't use HTILE for array textures, so it may see lower
performance increase from HyperZ in Sanctuary.

With the workaround above, the rendering is still broken, so it needs one more
workaround:

2) In-place DB flushing is broken with HTILE. The DB->CB copy can be used
instead.</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>