[Bug 103899] Missing clear color now with 'anv: Stop resolving CCS implicitly'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 25 01:15:17 UTC 2017


            Bug ID: 103899
           Summary: Missing clear color now with 'anv: Stop resolving CCS
           Product: Mesa
           Version: 17.2
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: cstout at chromium.org
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

An application is clearing the color attachment using
VK_ATTACHMENT_LOAD_OP_CLEAR to vkCreateRenderPass, and specifying
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 <nanley.g.chery at intel.com>
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 <nanley.g.chery at intel.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171125/b322b1b7/attachment.html>

More information about the intel-3d-bugs mailing list