From 5133524a62a49f659f082c4bff208fa43d12d328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 6 Aug 2021 16:02:34 -0400 Subject: [PATCH] gallium/noop: use threaded_query to enable threaded_context later Acked-By: Mike Blumenkrantz Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/auxiliary/driver_noop/noop_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c index 29a52d33002..0beb0c13dc1 100644 --- a/src/gallium/auxiliary/driver_noop/noop_pipe.c +++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c @@ -30,6 +30,7 @@ #include "util/u_inlines.h" #include "util/format/u_format.h" #include "util/u_upload_mgr.h" +#include "util/u_threaded_context.h" #include "noop_public.h" DEBUG_GET_ONCE_BOOL_OPTION(noop, "GALLIUM_NOOP", false) @@ -45,6 +46,7 @@ struct noop_pipe_screen { * query */ struct noop_query { + struct threaded_query b; unsigned query; }; static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type, unsigned index)