From d2ae8e6d5eee64f34b60ee02226886a121fbe67d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 7 May 2021 15:04:09 -0400 Subject: [PATCH] aux/trace: stop dumping transfer data for threaded contexts this is only useful for unit testing (and is it really useful even then?), and does nothing but explode trace dumps and demolish performance otherwise Reviewed-by: Adam Jackson Part-of: --- src/gallium/auxiliary/driver_trace/tr_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/driver_trace/tr_context.c b/src/gallium/auxiliary/driver_trace/tr_context.c index 9fcf97fdf3f..6217b96b5d6 100644 --- a/src/gallium/auxiliary/driver_trace/tr_context.c +++ b/src/gallium/auxiliary/driver_trace/tr_context.c @@ -1634,7 +1634,7 @@ trace_context_transfer_unmap(struct pipe_context *_context, trace_dump_call_end(); - if (tr_trans->map) { + if (tr_trans->map && !tr_ctx->threaded) { /* * Fake a texture/buffer_subdata */