From 41836133ce457e9c017a581ace431f278a20c8a9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 4 Jul 2024 09:14:58 -0400 Subject: [PATCH] aux/tc: update docs to indicate replaced buffers have multiple pipe_resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/gallium/auxiliary/util/u_threaded_context.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/util/u_threaded_context.h b/src/gallium/auxiliary/util/u_threaded_context.h index e2ca3532039..60e7c6a5839 100644 --- a/src/gallium/auxiliary/util/u_threaded_context.h +++ b/src/gallium/auxiliary/util/u_threaded_context.h @@ -152,6 +152,8 @@ * which must be managed by the driver; if a buffer is bound multiple times in * the same binding point (e.g., vertex buffer slots 0,1,2), this will be counted * as a single rebind. + * A buffer which has had its backing storage replaced may have its backing storage + * accessed through multiple pipe_resources. * * * Optional resource busy callbacks for better performance