diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2014-07-09 13:00:37 +0200 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-05-06 00:03:35 +0300 |
commit | d5b2832c1151337d37217a30bcb55d7f90dd1b47 (patch) | |
tree | 6d32aae32def94f9cbb9f8ab0362e08304f32670 | |
parent | b620829b5e4364e9d5ed30e8603de41087ff454f (diff) | |
download | external_mesa3d-d5b2832c1151337d37217a30bcb55d7f90dd1b47.zip external_mesa3d-d5b2832c1151337d37217a30bcb55d7f90dd1b47.tar.gz external_mesa3d-d5b2832c1151337d37217a30bcb55d7f90dd1b47.tar.bz2 |
gallium: add new numeric types to pipe_query_result
This will be used by GL_AMD_performance_monitor.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 23c3830..b1df836 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -733,8 +733,16 @@ union pipe_query_result /* PIPE_QUERY_TIME_ELAPSED */ /* PIPE_QUERY_PRIMITIVES_GENERATED */ /* PIPE_QUERY_PRIMITIVES_EMITTED */ + /* PIPE_DRIVER_QUERY_TYPE_UINT64 */ uint64_t u64; + /* PIPE_DRIVER_QUERY_TYPE_UINT */ + uint32_t u32; + + /* PIPE_DRIVER_QUERY_TYPE_FLOAT */ + /* PIPE_DRIVER_QUERY_TYPE_PERCENTAGE */ + float f; + /* PIPE_QUERY_SO_STATISTICS */ struct pipe_query_data_so_statistics so_statistics; |