Reviewed-by: Marek Olšák <[email protected]> Marek
On Fri, Nov 10, 2017 at 10:01 AM, Nicolai Hähnle <[email protected]> wrote: > From: Nicolai Hähnle <[email protected]> > > Ouch... > > Fixes: 244536d3d6b4 ("gallium/u_threaded: avoid syncs for get_query_result") > --- > src/gallium/auxiliary/util/u_threaded_context.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_threaded_context.c > b/src/gallium/auxiliary/util/u_threaded_context.c > index 341d70a48fc..cf829d3d9fb 100644 > --- a/src/gallium/auxiliary/util/u_threaded_context.c > +++ b/src/gallium/auxiliary/util/u_threaded_context.c > @@ -388,22 +388,20 @@ tc_call_end_query(struct pipe_context *pipe, union > tc_payload *payload) > } > > static bool > tc_end_query(struct pipe_context *_pipe, struct pipe_query *query) > { > struct threaded_context *tc = threaded_context(_pipe); > struct threaded_query *tq = threaded_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; > > tq->flushed = false; > > return true; /* we don't care about the return value for this call */ > } > > static boolean > tc_get_query_result(struct pipe_context *_pipe, > -- > 2.11.0 > > _______________________________________________ > mesa-dev mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
