[Bug 104039] anv: Don't fail vkEnumeratePhysicalDevices due to non-requested winsys
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 2 16:01:12 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=104039
Bug ID: 104039
Summary: anv: Don't fail vkEnumeratePhysicalDevices due to
non-requested winsys
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/intel
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: chadversary at chromium.org
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: jason at jlekstrand.net
If either wsi_wl_init_wsi() or wsi_x11_init_wsi() fail during
anv_EnumeratePhysicalDevices(), then anv_EnumeratePhysicalDevices() fails, even
if the user did no ask for either winsys at vkCreateInstance. In particular, if
the user asked for no winsys at all, then anv_EnumeratePhysicalDevices() still
fails if winsys initialization fails.
A user requests winsys support by requesting instance extensions
VK_KHR_{wayland,xlib,xcb}_surface at time of vkCreateInstance.
We should wait until jekstrand's big vulkan/wsi series lands before fixing
this.
(I observed this bug during code review, by reading code but not running code.
So maybe this is NOTABUG.)
--
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/20171202/5a97974c/attachment.html>
More information about the intel-3d-bugs
mailing list