Files
mesa/src/util/perf
Emma Anholt 6e97df1d76 u_trace: Fix payload refcounting in u_trace_clone_append().
If the clone_append was to a chunk of the same u_trace that gets
process_chunk()ed after where we're cloning from, then the payloads would
have been unreffed in the previous chunk's cleanup_chunk().

Fixes use-after-frees with turnip gmem rendering that resulted in
corrupted payloads.

Fixes: 14e45cb21e ("util/u_trace: refcount payloads")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35379>
2025-06-11 10:02:30 +00:00
..
2023-08-19 23:09:45 +02:00
2023-08-19 23:09:45 +02:00
2024-11-09 09:23:22 +00:00
2025-05-23 11:27:14 +00:00
2025-05-23 11:27:14 +00:00