<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 - Missing clear color now with 'anv: Stop resolving CCS implicitly'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103899">103899</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Missing clear color now with 'anv: Stop resolving CCS implicitly'
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.2
          </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/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cstout@chromium.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>An application is clearing the color attachment using
VK_ATTACHMENT_LOAD_OP_CLEAR to vkCreateRenderPass, and specifying
initialLayout=finalLayout=VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; 
and specifying the color to vkCmdBeginRenderPass.

The following commit introduced in 17.2 (see below) causes an application to no
longer show the background color.

Prior to the change, an implicit resolve was happening at the end of the render
pass because the color attachment aux_usage is set to ISL_AUX_USAGE_CCS_D.

Possible api usage error?  Does clearing the color attachment in the render
pass require a change in image layout?


commit 08e214632553a3d4166796426640824827c78683
Author: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>>
Date:   Fri Mar 17 22:36:05 2017 -0700

    anv: Stop resolving CCS implicitly

    With an earlier patch from this series, resolves are additionally
    performed on layout transitions. Remove the now unnecessary implicit
    resolves within render passes.

    Signed-off-by: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>>
    Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></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>