From: Nicolai Hähnle Date: Fri, 10 Nov 2017 08:59:08 +0000 (+0100) Subject: gallium/u_threaded: fix end_query regression X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee880e91ccf06fbf7cdea35c75b7dfd83bbc02b5;p=mesa.git gallium/u_threaded: fix end_query regression Ouch... Fixes: 244536d3d6b4 ("gallium/u_threaded: avoid syncs for get_query_result") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103653 Reviewed-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c index e1ec47e4e0c..b05cffd754d 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.c +++ b/src/gallium/auxiliary/util/u_threaded_context.c @@ -395,8 +395,6 @@ tc_end_query(struct pipe_context *_pipe, struct pipe_query *query) struct tc_end_query_payload *payload = tc_add_struct_typed_call(tc, TC_CALL_end_query, tc_end_query_payload); - tc_add_small_call(tc, TC_CALL_end_query); - payload->tc = tc; payload->query = query;