[Mesa-dev] [PATCH 03/16] gallium: add a group_id field to pipe_driver_query_info v2

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Jul 7 08:47:33 PDT 2014


V2:
 - make group_id the last field of this struct, this fixes
 drivers which use pipe_driver_query_info like radeon

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/gallium/include/pipe/p_defines.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 8f20974..065c8d9 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -733,6 +733,7 @@ struct pipe_driver_query_info
    unsigned query_type; /* PIPE_QUERY_DRIVER_SPECIFIC + i */
    uint64_t max_value; /* max value that can be returned */
    boolean uses_byte_units; /* whether the result is in bytes */
+   unsigned group_id;
 };
 
 struct pipe_driver_query_group_info
-- 
2.0.0



More information about the mesa-dev mailing list