vulkan/wsi/wayland: improve same gpu detection
Some compositor like KWin do not return the render node. v2: Make sure we test if only drm_info.hasPrimary is true (Jason) Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: db42ed1e ("vulkan/wsi/wl: correctly find whether the compositor uses the same GPU") Closes: mesa/mesa#8139 Reviewed-by:
Simon Ser <contact@emersion.fr> Reviewed-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!20914> (cherry picked from commit e27d217f)
Loading
Please register or sign in to comment