https://bugs.freedesktop.org/show_bug.cgi?id=106903

            Bug ID: 106903
           Summary: radv: Fragment shader output goes to wrong attachments
                    when render targets are sparse
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: philip.rebo...@tu-dortmund.de
        QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 140140
  --> https://bugs.freedesktop.org/attachment.cgi?id=140140&action=edit
Patch for the 'deferred' demo

Hello,

when there's an unused color attachment in a subpass, it looks like fragment
shader outputs are not written to the correct attachments, i.e. if attachment
reference 1 is VK_ATTACHMENT_UNUSED, the fragment shader output at location 2
is written to the 3rd attachment and the output at location 3 is discarded
entirely. This causes rendering issues in Vampyr on DXVK.

The attached patch for Sasha Willems 'deferred' demo demonstrates the issue. It
works as expected on amdvlk. Mind that the affected fragment shader needs to be
recompiled manually.

Regards,
- Philip

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to