On Fri, Feb 10, 2017 at 5:44 PM, Jacob Lifshay <programmerj...@gmail.com>
wrote:

> fixes bug 99715
>

Not really... It fixes what the subject of the bug says but doesn't fully
solve the problem.  We need some way of detecting that we're on an X server
that *could* support us but can't because of a lack of DRI3.


> Signed-off-by: Jacob Lifshay <programmerj...@gmail.com>
> ---
>  src/vulkan/wsi/wsi_common_x11.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_
> x11.c
> index 64ba921..e092066 100644
> --- a/src/vulkan/wsi/wsi_common_x11.c
> +++ b/src/vulkan/wsi/wsi_common_x11.c
> @@ -266,7 +266,6 @@ VkBool32 wsi_get_physical_device_xcb_
> presentation_support(
>
>     if (!wsi_conn->has_dri3) {
>        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;
>     }
>
> @@ -315,7 +314,6 @@ x11_surface_get_support(VkIcdSurfaceBase *icd_surface,
>
>     if (!wsi_conn->has_dri3) {
>        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;
>     }
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to