[Mesa-dev] [Bug 111151] vkGetRandROutputDisplayEXT returns VK_SUCCESS on failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 16 21:28:34 UTC 2019


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

            Bug ID: 111151
           Summary: vkGetRandROutputDisplayEXT returns VK_SUCCESS on
                    failure
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/Common
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: sir at cmpwn.com
                CC: airlied at freedesktop.org, chadversary at chromium.org,
                    jason at jlekstrand.net

If the output does not have a CONNECTOR_ID atom, then this function fails
(giving back a 0 VkDisplayKHR) but it returns VK_SUCCESS nonetheless.

Passing this VkDisplayKHR into vkAcquireXlibDisplayEXT later then segfaults
mesa.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190716/c302f8b3/attachment.html>


More information about the mesa-dev mailing list