<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - radv: 16-bit depth buffer causes artifacts in Shadow Warrior 2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106912">106912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radv: 16-bit depth buffer causes artifacts in Shadow Warrior 2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>philip.rebohle@tu-dortmund.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

Shadow Warrior 2 uses D16_UNORM as a shadow map format, and clearing the depth
buffer in one render pass instance and rendering to it in another results in
parts of the depth buffer getting set to 1.0. The game renders correctly with
RADV_DEBUG=nohiz.

I wasn't able to reproduce this issue outside of DXVK so far, so here's a
Renderdoc capture of the issue (captured on Polaris 10):

  <a href="https://mega.nz/#!gfoWFDSC!rb9qsW9H6dGq_gsNvpdhPW82mSkZEy94PX-4Ey6BSTs">https://mega.nz/#!gfoWFDSC!rb9qsW9H6dGq_gsNvpdhPW82mSkZEy94PX-4Ey6BSTs</a>

The render pass in question starts at EID 19473, which should be bookmarked.
For the capture I used Mesa 18.1.1, but the issue is still present in latest
-git.

Regards
- Philip</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>