[Mesa-dev] [PATCH 07/11] gallium: Add a f32 field to pipe_query_result

Samuel Pitoiset samuel.pitoiset at gmail.com
Sat Jul 5 11:49:11 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 c34c3c0..a8a497b 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