From bfc5865a1b3bd7d55c50daaaa058478739e5dafa Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 23 Feb 2026 10:03:44 -0800 Subject: [PATCH] gallium: Add warning about PIPE_QUERY_x's ABIness Someone somewhere decided to use PIPE_QUERY_x as the ABI between host and guest. Add a warning about this. Signed-off-by: Rob Clark Part-of: --- src/gallium/include/pipe/p_defines.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index f1ecef1a21f..7b0573899f1 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -551,6 +551,9 @@ enum pipe_tess_spacing { /** * Query object types + * + * Note, PIPE_QUERY_x has somehow become ABI between virgl (guest) and + * virglrenderer (host). Mistakes were made, now we live with it. */ enum pipe_query_type { PIPE_QUERY_OCCLUSION_COUNTER,