From 1fec0498503ca8f4ebb96dc2cb712893eaaa281b Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Mon, 22 May 2017 17:34:32 -0700 Subject: [PATCH] st/dri: Use fence extension in drisw.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is desirable for synchronization in virtual machines. Reviewed-by: Marek Olšák --- src/gallium/state_trackers/dri/drisw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index b85a73c57d2..8fbfa9eceae 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -46,6 +46,7 @@ #include "dri_screen.h" #include "dri_context.h" #include "dri_drawable.h" +#include "dri_extensions.h" #include "dri_query_renderer.h" DEBUG_GET_ONCE_BOOL_OPTION(swrast_no_present, "SWRAST_NO_PRESENT", FALSE); @@ -369,6 +370,7 @@ static const __DRIextension *drisw_screen_extensions[] = { &driTexBufferExtension.base, &dri2RendererQueryExtension.base, &dri2ConfigQueryExtension.base, + &dri2FenceExtension.base, NULL }; -- 2.30.2