mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 08:20:25 +01:00
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 <andresx7@gmail.com>
Acked-by: Jason ekstrand <jason@jlekstrand.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
(cherry picked from commit e0674e740b)
Nominated-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
c148b51a83
commit
15432c29be
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue