diff options
author | Andres Rodriguez <[email protected]> | 2017-01-18 18:07:56 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-19 15:41:42 +0000 |
commit | e0674e740bf84085dec898ffd87bdeb2027e620f (patch) | |
tree | 74a65c8b261e0bd33f386fa6c5bb0797065945cf /src | |
parent | a3ad6a34c6ba222ec93a2cfd0cac205c62574eb7 (diff) |
vulkan/wsi: clarify the severity of lack of DRI3 v2
The current message sounds like a small warning, clarify that it can
result in lack of presentation support and application crashes.
v2: add "if they do" (Bas)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98263
Signed-off-by: Andres Rodriguez <[email protected]>
Acked-by: Jason ekstrand <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/wsi/wsi_common_x11.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 158446c2ca7..f6cc056d33b 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -265,7 +265,8 @@ VkBool32 wsi_get_physical_device_xcb_presentation_support( return false; if (!wsi_conn->has_dri3) { - fprintf(stderr, "vulkan: No DRI3 support\n"); + fprintf(stderr, "vulkan: No DRI3 support detected - required for presentation\n"); + fprintf(stderr, "Note: Buggy applications may crash, if they do please report to vendor\n"); return false; } @@ -313,7 +314,8 @@ x11_surface_get_support(VkIcdSurfaceBase *icd_surface, return VK_ERROR_OUT_OF_HOST_MEMORY; if (!wsi_conn->has_dri3) { - fprintf(stderr, "vulkan: No DRI3 support\n"); + fprintf(stderr, "vulkan: No DRI3 support detected - required for presentation\n"); + fprintf(stderr, "Note: Buggy applications may crash, if they do please report to vendor\n"); *pSupported = false; return VK_SUCCESS; } |