[Mesa-dev] [PATCH 12/16] gallium: Add a f32 field to pipe_query_result

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


This will be used for the GL_FLOAT counter type of
AMD_performance_monitor.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 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 db5c9bf..6b449cb 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -710,6 +710,9 @@ union pipe_query_result
    /* PIPE_QUERY_PRIMITIVES_EMITTED */
    uint64_t u64;
 
+   /* Used by AMD_performance_monitor */
+   float f32;
+
    /* PIPE_QUERY_SO_STATISTICS */
    struct pipe_query_data_so_statistics so_statistics;
 
-- 
2.0.0



More information about the mesa-dev mailing list