Mesa (master): gallium/trace: remove transfer_map assert

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 18 18:42:50 UTC 2021


Module: Mesa
Branch: master
Commit: 03d3294e35befc2be6ed0ed66ed92fab991c166d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=03d3294e35befc2be6ed0ed66ed92fab991c166d

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Feb 17 13:58:27 2021 -0500

gallium/trace: remove transfer_map assert

this breaks tracing with tc due to the "latest" mechanism which maintains
copies of resources

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9107>

---

 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 fe0c7b52c9b..d644e1b08ba 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;



More information about the mesa-commit mailing list