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 <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40051>
This commit is contained in:
Rob Clark 2026-02-23 10:03:44 -08:00 committed by Marge Bot
parent 7dc6fbd5c5
commit bfc5865a1b

View file

@ -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,