From 03d3294e35befc2be6ed0ed66ed92fab991c166d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 17 Feb 2021 13:58:27 -0500 Subject: [PATCH] gallium/trace: remove transfer_map assert MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit this breaks tracing with tc due to the "latest" mechanism which maintains copies of resources Reviewed-by: Marek Olšák Part-of: --- src/gallium/auxiliary/driver_trace/tr_texture.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/driver_trace/tr_texture.c b/src/gallium/auxiliary/driver_trace/tr_texture.c index fe0c7b5..d644e1b 100644 --- a/src/gallium/auxiliary/driver_trace/tr_texture.c +++ b/src/gallium/auxiliary/driver_trace/tr_texture.c @@ -87,8 +87,6 @@ trace_transfer_create(struct trace_context *tr_ctx, if (!transfer) goto error; - assert(transfer->resource == res); - tr_trans = CALLOC_STRUCT(trace_transfer); if (!tr_trans) goto error; -- 2.7.4