gallium/u_threaded: fix end_query regression
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 08:59:08 +0000 (09:59 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 15:37:37 +0000 (16:37 +0100)
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 <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_threaded_context.c

index e1ec47e4e0c6a14f6780adad0bdef79a432339f8..b05cffd754df99a313429987745b8a94cad73003 100644 (file)
@@ -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;